@Wessel, could you describe the deadlock you are talking about? The hang I see is not a really a deadlock - it can't happen at random, but only if udev is killed before it can acknowledge the DM_COOKIE. Preventing udev's exit from blocking on the vgchange completing also addressed that one. But perhaps there is another potential deadlock, which could happen even with a simple 'pvcreate' long after exiting initramfs?
The comments in libdevmapper.h certainly seem to imply that it is better to pass flags along in a DM_COOKIE, although 55-dm.rules appears to handle the case of no cookie. Can you explain if there is any real downside to using --noudevsync? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/802626 Title: vgchange may deadlock in initramfs when VG present that's not used for rootfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/802626/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs