Thank you for taking the time to report this bug and helping to make Ubuntu better. The Ubuntu version this bug was reported against reached end-of-life. We appreciate that this bug may be old and you might not be interested in discussing it anymore. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.
** Changed in: initramfs-tools (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/247153 Title: encrypted root initialisation races/fails on hotplug devices (does not wait) Status in initramfs-tools package in Ubuntu: Incomplete Bug description: I installed ubuntu 8.0.4 to a USB flash drive. I have a volume group that contains encrypted root and swap logical volumes. On some machines the USB drive appears later than initramfs:/scripts/local- top/cryptroot enters /conf/conf.d/cryptroot. As a hack I put in a 10 seconds delay: *** scripts/local-top/cryptroot- 2008-07-09 00:26:36.000000000 +0900 --- scripts/local-top/cryptroot 2008-07-09 00:27:14.000000000 +0900 *************** *** 271,274 **** --- 271,275 ---- # Do we have any settings from the /conf/conf.d/cryptroot file? if [ -r /conf/conf.d/cryptroot ]; then + sleep 10 while read mapping; do setup_mapping "$mapping" This is only temporary, a better solution could be to wait in activate_vg for the device to appear before setting up the volume group, just like https://launchpad.net/bugs/85640. If you can provide a patch that is better than this I could try it out. I will be offline for 3 weeks. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/247153/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp