Dňa 28.07.2010 12:07, Christoph Anton Mitterer wrote / napísal(a): > The current version in sid seems to be pretty much outdated. > At least version 2.2.02.70 is available.
Just one important note regarding the udev support and the udev rules shipped since version 2.02.68. From the lvm2 upstream commit message: Fix udev rules to handle spurious events properly. We can use DM_UDEV_PRIMARY_SOURCE_FLAG to identify the spurious events and use it as an indication that the device has already been activated before (and hence we can find this property in udev database). WARNING: This change requires udev startup script to preserve udev database from initrd. All the information stored there during activation of devices is important for the initial "udevadm trigger --action=add" call that is used in udev startup script. If not done this way, udev startup script needs to define DM_UDEV_PRIMARY_SOURCE_FLAG=1 property for any ADD events it uses. This is something we discussed with upstream udev before. But since each distro maintains its own udev init script, care must be taken to have this script fixed/modified for this to work properly before rebasing lvm2. As I checked Debian's udev init script, this one was removing the udev database from the initramfs as well, it's just one line found in /etc/init.d/udev: if [ -z "$TMPFS_MOUNTED" ]; then unmount_devpts mount_tmpfs [ -d /proc/1 ] || mount -n /proc else # and clean up the database of the initramfs udev rm -rf /dev/.udev/ fi That's the "rm -rf /dev/.udev/" - this one needs to be removed. I've already sent a notice to Debian's udev maintainer and it should be removed soon, I hope (Kay Sievers, the udev upstream maintainer, was on CC who acknowledged the change). So, please, watch this change in udev package to prevent any undesirable and strange situations. Thanks. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org