Comment 1 for bug 1672659

Revision history for this message
Marcin Krol (hawq) wrote : Re: Upstart waits indefinitely for LVM devices making boot process hang

Bug is more generic. Basically if some device listed in /etc/fstab is not available mountall job will hang forever. Example:

1. System has root crypted with password
2. All LVM volumes are on disk crypted with key file placed on root device
3. fstab contains references to LVM volumes

Result:

1. Systems asks for root device password and it is successfully mounted
2. System doesn't decrypt disk with LVM volumes
3. LVM volumes are not available so mountall hangs and systemd doesn't boot

As previously, this can be fixed with simple script in /etc/initramfs-tools/scripts/local-bottom that decrypts LVM disk and issues lvm vgchange -ay. Again, problem doesn't exist when using systemd.