[Bug 247153] [NEW] Volume group containing encrypted root not initialized if device is slow to appear
Gaspar Sinai
gaspar at yudit.org
Thu Jul 10 02:53:36 UTC 2008
Public bug reported:
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.
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
--
Volume group containing encrypted root not initialized if device is slow to appear
https://bugs.launchpad.net/bugs/247153
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.
More information about the kernel-bugs
mailing list