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;