Bug#858967: initramfs-tools: Superfluous LVM errors before passphrase prompt after LUKS+LVM install

Nathan Dorfman ndorf at rtfm.net
Thu Mar 30 05:53:15 UTC 2017


On Wed, Mar 29, 2017 at 03:07:31PM +0100, Ben Hutchings wrote:
> If you want a pretty boot process, install plymouth.  But I agree that
> it's undesirable to have error messages in a successful boot process.

Plymouth is ok, but for the prettiest boot, it must be clean,
error-free text :)

> However, this is not the fault of initramfs-tools - LVM, LUKS and
> software RAID are set up by scripts provided by other packages.

Sorry about that. I think the next question is still for you, though.
If not, sorry about that, too:

To fix this, would it be appropriate to use something like
lvm=<volgrname> in the options column of /etc/crypttab?

Then, the initramfs scripts (whichever package they come from) could
know that the volume group depends on the crypttab entry, and only try
to bring the former up after the latter.

This might not be relevant, but Ubuntu's installer does in fact add
exactly that option to crypttab. If it has any effect, though, I can't
tell what it is -- they exhibit the same behavior at boot. Maybe it's
something that used to work in the past?

-nd.



More information about the pkg-lvm-maintainers mailing list