Bug#1075882: systemd + crypttab not working after 256-2

Wesley Schwengle wesley at schwengle.net
Sat Jul 6 22:58:17 BST 2024


Package: systemd
Version: 256.2-1
Severity: important
X-Debbugs-Cc: wesley at schwengle.net

Dear Maintainer,

Today after an upgrade of systemd my machine was unable to reboot because it
failed to read /etc/crypttab.

In /etc/crypttab I have a second disk which is encrypted (which is my /home).
My fstab entry for /home could not be mounted, resulting in a timeout.

I did see a recommendation for a package that wasn't going to be installed:
systemd-cryptsetup.

Initially I didn't think much of it, because several other systemd-X packages
are not always needed have a working system. But reading the changelog of 256-2
from experimental showed that it was indeed a required dependency (for those
who have a crypttab).

I realize I have a "special" setup to not install recommends by default and I
have an obligation to read changelogs, but I think this change might warrant
more information to the end user as disk encryption is much more common
nowadays. Also, going forward users from bookworm to trixie might want to see
this in the release notes. I think a mention in NEWS.Debian is in order.

I was able to fix the issue by install systemd-cryptsetup.

Many thanks,
Wesley

-- Package-specific info:

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental'), (10, 'stable-updates'), (10, 'stable-security'), (10, 'oldstable-security'), (10, 'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.9.7-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  libacl1            2.3.2-2
ii  libapparmor1       3.1.7-1
ii  libaudit1          1:3.1.2-4
ii  libblkid1          2.40.1-9
ii  libc6              2.38-14
ii  libcap2            1:2.66-5
ii  libmount1          2.40.1-9
ii  libpam0g           1.5.3-7
ii  libseccomp2        2.5.5-1
ii  libselinux1        3.5-2+b2
ii  libssl3t64         3.2.2-1
ii  libsystemd-shared  256.2-1
ii  libsystemd0        256.2-1
ii  mount              2.40.1-9

Versions of packages systemd recommends:
ii  dbus [default-dbus-system-bus]  1.14.10-4+b1
ii  libzstd1                        1.5.6+dfsg-1
pn  linux-sysctl-defaults           <none>
ii  openntpd [time-daemon]          1:6.2p3-4.2+b2
ii  systemd-cryptsetup              256.2-1

Versions of packages systemd suggests:
ii  libcryptsetup12                                 2:2.7.2-2
ii  libgcrypt20                                     1.10.3-3
ii  libidn2-0                                       2.3.7-2
ii  liblz4-1                                        1.9.4-2
ii  liblzma5                                        5.6.2-2
pn  libtss2-rc0t64                                  <none>
ii  libtss2-tcti-device0t64 [libtss2-tcti-device0]  4.1.3-1
ii  polkitd                                         124-3
pn  systemd-boot                                    <none>
pn  systemd-container                               <none>
pn  systemd-homed                                   <none>
pn  systemd-repart                                  <none>
ii  systemd-resolved                                256.2-1
pn  systemd-userdbd                                 <none>

Versions of packages systemd is related to:
ii  dbus-user-session  1.14.10-4+b1
pn  dracut             <none>
ii  initramfs-tools    0.142
ii  libnss-systemd     256.2-1
ii  libpam-systemd     256.2-1
ii  udev               256.2-1

-- debconf-show failed



More information about the Pkg-systemd-maintainers mailing list