Bug#751585: systemd: opens emergency shell after prompting for unnecessary dm-crypt passwords

Michael Gold michael at bitplane.org
Sat Jun 14 17:30:49 BST 2014


On Sat, Jun 14, 2014 at 17:30:30 +0200, Michael Biebl wrote:
> I noticed that you don't have those crypt devices marked as noauto (or
> nofail) in /etc/fstab.
> This means, if they fail to show up during boot systemd will drop you in
> an emergency shell (which is what happened in your case).
> 
> Try booting with systemd where those devices are marked accordingly in
> fstab.

OK, thanks.  I don't remember seeing a message to that effect, but I'll
look for it when retesting.

Perhaps the options I want are "quiet" in crypttab and "nofail" in
fstab, so they'll be mounted if available.  With sysvinit most of them
actually are automounted during startup--I have a udev script that runs
cryptdisks_start when the disks are detected, and I guess the timing is
different enough that it works there.

-- Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140614/1b9e74e6/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list