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

Michael Biebl biebl at debian.org
Sat Jun 14 16:30:30 BST 2014


Am 14.06.2014 16:59, schrieb Michael Gold:
> On Sat, Jun 14, 2014 at 16:27:36 +0200, Michael Biebl wrote:
>> Am 14.06.2014 16:04, schrieb Michael Gold:
>>> Package: systemd
>>> Version: 204-10
>>> Severity: critical
>>>
>>> After installing systemd today and rebooting, I saw a few lines (not
>>> errors) about systemd-fsck on xfs filesystems, and then I was prompted
>>> for dm-crypt passwords for 4 disks that are not necessary to boot the
>>> system.  I pressed enter to bypass each prompt, and then saw I message
>>> that I'd be dropped to an emergency shell.  It took about a minute to
>>> open this shell each time (the shell died a few times while I was
>>> working).
>>>
>>> The disks it had prompted about were marked 'noauto' in /etc/crypttab,
>>> and all had keyfiles available on the root filesystem (which is
>>> encrypted but had been successfully mounted at the time); so no prompts
>>> should have been shown.
>>
>> Can you attach your /etc/fstab and /etc/crypttab please.
> 
> Attached (with serial numbers scrubbed).

Thanks.
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.




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140614/291930a0/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list