[pkg-cryptsetup-devel] Bug#720340: Bug#720340: cryptsetup: Encrypted LVM with root partition: Stopping crypto disk at shutdown fails

Jonas Meurer jonas at freesources.org
Sat Oct 11 12:31:50 UTC 2014


tag 720340 wontfix
thanks

Hey Ralf,

Am 20.08.2013 um 20:24 schrieb Ralf Jung:
> since I changed my setup such that / lives in an LVM inside an encrytped physical volume,
> I get an error message on each system shutdown. Unfortunately I found no logfile for
> this phase of shutdown, so I can only paraphrase what I see:
> During "Stopping early crypto disks", stopping the disk with the physical volume seems to
> fail, so there's this alarming red "failed" message on each shutdown.
> 
> I suspect this is caused by executing these commands while root is still mounted, but still
> such false alarms should not be triggered.

You're right. It's impossible to close the dm-crypt mapping for
encrpyted root during shutdown process as the root device would need to
be unmounted beforehand.

There's no easy solution to fix this instead of using a initramfs which
is executed just after root device has been unmounted. To my knowledge,
this is not implemented for sysvinit shutdown process in Debian yet.
Tagging the bug as wontfix for that reason.

Cheers,
 jonas



More information about the pkg-cryptsetup-devel mailing list