Indeed there is a serialization issue regarding the DM_COOKIE events. I
was able to reproduce with the test case attached, that must be run as
root.

Simply let the test case running, it stress test the creation/removal of
a dm device. On the buggy udev, it'll fail at some point, usually
leaving a /dev/disk/by-id/dm-name- link, lacking the device name. On a
good udev, the test case will run indefinitely without errors.

The problem only happens when stress testing device creation/removal so
far, unlikely this to be an issue in practice, where usually no devices
are removed.

** Attachment added: "Test case"
   
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1017715/+attachment/3204168/+files/stress-dm.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1017715

Title:
  Serialization problem of udev events with DM_COOKIE set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1017715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to