When a device is being renamed, if it is currently in use, the new
device name is created but old device name is not removed. The attached
forces cryptdisks_start to wait until it is safe to rename the device.
In my case, the delay is typically about one second.

The attached is only a work-around, it seems to me that similar logic
would be better suited somewhere in dmsetup.

** Patch added: "cryptdisks.functions.diff"
   http://launchpadlibrarian.net/52845284/cryptdisks.functions.diff

-- 
dmsetup rename sometimes creates new device name but does not remove original 
device name
https://bugs.launchpad.net/bugs/612310
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to