ALT Linux Bugzilla
– Attachment 7344 Details for
Bug 34433
Incompatible with current ovz-el kernel
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Fix test to match fake ovz-el version
lvm2-alt-2.02.177-ovz-el.patch (text/plain), 668 bytes, created by
Nikolay A. Fetisov
on 2018-01-08 00:40:51 MSK
(
hide
)
Description:
Fix test to match fake ovz-el version
Filename:
MIME Type:
Creator:
Nikolay A. Fetisov
Created:
2018-01-08 00:40:51 MSK
Size:
668 bytes
patch
obsolete
>Fix kernel version check in the _open_control() - >kernel-image-ovz-el now reports fake version 3.2.0 >but the kernel itself is 2.6.32. > >--- libdm/ioctl/libdm-iface.c >+++ libdm/ioctl/libdm-iface.c >@@ -415,9 +415,11 @@ static int _open_control(void) > > /* > * Prior to 2.6.36 the minor number should be looked up in /proc. >+ * >+ * ALT Linux 2.6.32 OVZ-EL kernel reports fake 3.2.0 version: > */ > if ((KERNEL_VERSION(_kernel_major, _kernel_minor, _kernel_release) < >- KERNEL_VERSION(2, 6, 36)) && >+ KERNEL_VERSION(3, 2, 1)) && > !_control_device_number(&major, &minor)) > goto_bad; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34433
: 7344