Package: systemd-cryptsetup Version: 262.2-1 Severity: important X-Debbugs-Cc: [email protected]
Dear Maintainer, for at least a couple of weeks (maybe longer) I have faced the issue that my computer does not cleanly shutdown. During shutdown, I can see systemd messages about services being stopped but then the screen turns blank and the computer remains in this state indefinitely, until I manually force the shutdown by holding the power button. Based on entries in journalctl, I believe the problem is related to the following messages: ------------------------------------------------------------------------- -- Boot f9b165899062431b848d130ee75444da -- Nov 26 08:27:23 my_hostname systemd[1]: Starting systemd- cryptsetup@sda3_crypt.service - Cryptography Setup for sda3_crypt... Nov 26 08:27:23 my_hostname systemd-cryptsetup[1064]: Volume sda3_crypt already active. Nov 26 08:27:23 my_hostname systemd[1]: Finished systemd- cryptsetup@sda3_crypt.service - Cryptography Setup for sda3_crypt. Nov 26 17:31:02 my_hostname systemd[1]: Stopping systemd- cryptsetup@sda3_crypt.service - Cryptography Setup for sda3_crypt... Nov 26 17:31:02 my_hostname systemd-cryptsetup[441100]: Device sda3_crypt is still in use. Nov 26 17:31:02 my_hostname systemd-cryptsetup[441100]: Failed to deactivate 'sda3_crypt': Device or resource busy Nov 26 17:31:02 my_hostname systemd[1]: systemd-cryptsetup@sda3_crypt.service: Control process exited, code=exited, status=1/FAILURE Nov 26 17:31:02 my_hostname systemd[1]: systemd-cryptsetup@sda3_crypt.service: Failed with result 'exit-code'. Nov 26 17:31:02 my_hostname systemd[1]: Stopped systemd- cryptsetup@sda3_crypt.service - Cryptography Setup for sda3_crypt. ------------------------------------------------------------------------- I see them for basically every boot in the recent entries. sda3_crypt corresponds to my encrypted root filesystem: ------------------------------------------------------------------------- $ cat /etc/crypttab sda3_crypt UUID=c0eaa786-4d28-4443-8836-54819471742b none luks,discard ------------------------------------------------------------------------- The UUID matches the UUID of the automatically generated service: ------------------------------------------------------------------------- $ sudo systemctl cat systemd-cryptsetup@sda3_crypt.service # /run/systemd/generator/systemd-cryptsetup@sda3_crypt.service # Automatically generated by systemd-cryptsetup-generator [Unit] Description=Cryptography Setup for %I Documentation=man:crypttab(5) man:systemd-cryptsetup-generator(8) man:systemd- [email protected](8) SourcePath=/etc/crypttab DefaultDependencies=no After=cryptsetup-pre.target systemd-udevd-kernel.socket systemd-udevd.service systemd-tpm2-setup-early.service Before=blockdev@dev-mapper-%i.target Wants=blockdev@dev-mapper-%i.target IgnoreOnIsolate=true Conflicts=umount.target Before=umount.target Before=cryptsetup.target BindsTo=dev-disk- by\x2duuid-c0eaa786\x2d4d28\x2d4443\x2d8836\x2d54819471742b.device After=dev-disk- by\x2duuid-c0eaa786\x2d4d28\x2d4443\x2d8836\x2d54819471742b.device [Service] Type=oneshot RemainAfterExit=yes TimeoutSec=infinity KeyringMode=shared OOMScoreAdjust=500 ImportCredential=cryptsetup.* ExecStart=/usr/bin/systemd-cryptsetup attach 'sda3_crypt' '/dev/disk/by- uuid/c0eaa786-4d28-4443-8836-54819471742b' 'none' 'luks,discard' ExecStop=/usr/bin/systemd-cryptsetup detach 'sda3_crypt' ------------------------------------------------------------------------- I have not changed anything in my settings related to LUKS, so I believe this is a bug. I use the device for work, so I unfortunately cannot downgrade the systemd-cryptsetup package for testing currently. But if I can provide any other information that aids in debugging, please let me know. A colleague of mine who also runs Debian unstable is experiencing the same problem. Kind regards, David -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 7.3.5+deb14-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages systemd-cryptsetup depends on: ii libc6 2.43-7 ii libcryptsetup12 2:2.8.9-1 ii libsystemd-shared 262.2-1 Versions of packages systemd-cryptsetup recommends: ii libmount1 2.42.4-1 ii libssl3t64 3.6.5-1 Versions of packages systemd-cryptsetup suggests: ii libfido2-1 1.17.0-2 ii libp11-kit0 0.26.6-2 ii libpwquality1 1.4.5-5+b3 ii libqrencode4 4.1.1-2+b2 ii libtss2-esys-3.0.2-0t64 4.2.1-1 ii libtss2-mu-4.0.1-0t64 4.2.1-1 ii libtss2-rc0t64 4.2.1-1 ii libtss2-tcti-device0t64 4.2.1-1 -- no debconf information

