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

Michael Gold michael at bitplane.org
Sat Jun 14 15:04:01 BST 2014


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.

I've marked this as critical because I was unable to use the system
until switching back to sysvinit.  Unfortunately, no logs of the event
seem to be available now, so it's not clear why systemd considered there
to be an emergency.

- Michael


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  acl                  2.2.52-1
ii  adduser              3.113+nmu3
ii  initscripts          2.88dsf-53
ii  libacl1              2.2.52-1
ii  libaudit1            1:2.3.6-1
ii  libc6                2.19-1
ii  libcap2              1:2.22-1.2
ii  libcap2-bin          1:2.22-1.2
ii  libcryptsetup4       2:1.6.4-4
ii  libdbus-1-3          1.8.2-1
ii  libgcrypt11          1.5.3-4
ii  libkmod2             17-2
ii  liblzma5             5.1.1alpha+20120614-2
ii  libpam0g             1.1.8-3
ii  libselinux1          2.3-1
ii  libsystemd-daemon0   204-10
ii  libsystemd-journal0  204-10
ii  libsystemd-login0    204-10
ii  libudev1             204-10
ii  libwrap0             7.6.q-25
ii  sysv-rc              2.88dsf-53
ii  udev                 204-10
ii  util-linux           2.20.1-5.8

Versions of packages systemd recommends:
pn  libpam-systemd  <none>

Versions of packages systemd suggests:
pn  systemd-ui  <none>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140614/8c0601c9/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list