[pkg-cryptsetup-devel] Bug#1076208: cryptsetup: Additional encrypted partition times out during startup
Mark Brandis
mark.brandis at posteo.de
Fri Jul 12 16:05:03 BST 2024
Package: cryptsetup
Version: 2:2.7.2-2
Severity: normal
Dear Maintainer,
the computer boots from an encrypted partition which works fine. During
startup an additional NVMe is mounted decrypted via crypttab and then
mounted to /data.
This no longer works. I have to login as root and execute the following:
cryptsetup luksOpen --type luks --key-file /etc/crypt.nvme1n1.key
UUID=0987654321 data ; mount -a
This works, so I don't see a reason why it doesn't work during startup.
In journalctl I find the following timeout:
systemd[1]: dev-disk-by\x2duuid-DATAUUID.device: Job
dev-disk-by\x2duuid-4901803b\x2ddd74\x2d47fa\x2da347\x2d8e3d6cc85e38.device/start
timed out.
systemd[1]: Timed out waiting for device
dev-disk-by\x2duuid-DATAUUID.device - /dev/disk/by-uuid/DATAUUID.
systemd[1]: Dependency failed for data.mount - /data.
systemd[1]: data.mount: Job data.mount/start failed with result
'dependency'.
systemd[1]: dev-disk-by\x2duuid-DATAUUID.device: Job
dev-disk-by\x2duuid-DATAUUID.device/start failed with result 'timeout'.
Which only shows the aftereffect of the not decrypted partition.
Thank you for you work!
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.9.8-amd64 root=/dev/mapper/tuxedo--vg-root ro
quiet splash i915.tuxedo_disable_psr2=1 i915.enable_psr=1
-- /etc/crypttab
nvme0n1p3_crypt UUID=1234567890 luks,discard
data UUID=0987654321 /etc/crypt.nvme1n1.key luks
-- /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/tuxedo--vg-root / ext4 errors=remount-ro 0
1
# /boot was on /dev/nvme0n1p2 during installation
UUID=aaaa /boot ext2 defaults 0 2
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=BBBB /boot/efi vfat umask=0077 0 1
/dev/mapper/tuxedo--vg-swap_1 none swap sw 0
0
# Data
UUID=DATAUUID /data xfs defaults,nofail 0 0
-- lsmod
Module Size Used by
xfs 2453504 1
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 110592 7 snd_seq_dummy
rfcomm 102400 16
ctr 12288 3
ccm 20480 9
cmac 12288 4
algif_hash 12288 1
algif_skcipher 12288 1
af_alg 32768 6 algif_hash,algif_skcipher
sd_mod 90112 0
sg 45056 0
bnep 36864 2
uinput 20480 1
ip6t_REJECT 12288 2
nf_reject_ipv6 20480 1 ip6t_REJECT
xt_hl 12288 22
ip6t_rt 16384 3
xt_comment 12288 8
ipt_REJECT 12288 2
nf_reject_ipv4 12288 1 ipt_REJECT
xt_LOG 16384 12
nf_log_syslog 24576 12
nft_limit 16384 15
xt_limit 12288 0
xt_addrtype 12288 4
xt_tcpudp 16384 60
xt_conntrack 12288 18
nf_conntrack 204800 1 xt_conntrack
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 12288 1 nf_conntrack
nft_compat 20480 131
nf_tables 372736 698 nft_compat,nft_limit
binfmt_misc 28672 1
nls_ascii 12288 1
nls_cp437 16384 1
vfat 20480 1
fat 98304 1 vfat
r8153_ecm 12288 0
cdc_ether 24576 1 r8153_ecm
usbnet 65536 2 r8153_ecm,cdc_ether
iwlmvm 602112 0
snd_hda_codec_hdmi 90112 1
snd_sof_pci_intel_tgl 12288 0
snd_sof_intel_hda_common 225280 1 snd_sof_pci_intel_tgl
joydev 24576 0
soundwire_intel 73728 1 snd_sof_intel_hda_common
intel_rapl_msr 20480 0
intel_rapl_common 36864 1 intel_rapl_msr
snd_sof_intel_hda_mlink 36864 2 soundwire_intel,snd_sof_intel_hda_common
intel_uncore_frequency 12288 0
soundwire_cadence 45056 1 soundwire_intel
intel_uncore_frequency_common 16384 1 intel_uncore_frequency
x86_pkg_temp_thermal 16384 0
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
intel_powerclamp 16384 0
snd_sof_pci 24576 2
snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
coretemp 16384 0
snd_sof 376832 3
snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda
kvm_intel 413696 0
btusb 86016 0
snd_sof_utils 16384 1 snd_sof
snd_soc_hdac_hda 28672 1 snd_sof_intel_hda_common
btrtl 32768 1 btusb
snd_soc_acpi_intel_match 102400 2
snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
btintel 65536 1 btusb
soundwire_generic_allocation 12288 1 soundwire_intel
btbcm 24576 1 btusb
snd_soc_acpi 16384 2
snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_hda_codec_realtek 204800 1
soundwire_bus 114688 3
soundwire_intel,soundwire_generic_allocation,soundwire_cadence
btmtk 12288 1 btusb
kvm 1343488 1 kvm_intel
mac80211 1396736 1 iwlmvm
snd_soc_avs 208896 0
snd_hda_codec_generic 114688 1 snd_hda_codec_realtek
bluetooth 1069056 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_soc_hda_codec 24576 1 snd_soc_avs
snd_hda_scodec_component 20480 1 snd_hda_codec_realtek
snd_hda_ext_core 36864 6
snd_soc_avs,snd_soc_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
snd_soc_core 421888 6
snd_soc_avs,snd_soc_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_usb_audio 458752 3
snd_compress 28672 2 snd_soc_avs,snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 61440 1
libarc4 12288 1 mac80211
snd_intel_dspcfg 36864 4
snd_soc_avs,snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
crc32_pclmul 12288 0
hid_multitouch 32768 0
uas 32768 0
snd_hda_codec 212992 8
snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
uvcvideo 147456 0
iwlwifi 561152 1 iwlmvm
ghash_clmulni_intel 16384 0
sha256_ssse3 32768 0
sha1_ssse3 32768 0
snd_usbmidi_lib 49152 1 snd_usb_audio
videobuf2_vmalloc 20480 1 uvcvideo
iTCO_wdt 12288 0
r8152 151552 1 r8153_ecm
snd_hda_core 143360 11
snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
usb_storage 86016 1 uas
uvc 12288 1 uvcvideo
snd_rawmidi 53248 1 snd_usbmidi_lib
intel_pmc_bxt 16384 1 iTCO_wdt
rapl 20480 0
mii 16384 2 usbnet,r8152
iTCO_vendor_support 12288 1 iTCO_wdt
videobuf2_memops 16384 1 videobuf2_vmalloc
mei_pxp 16384 0
mei_hdcp 28672 0
watchdog 49152 1 iTCO_wdt
intel_cstate 20480 0
videobuf2_v4l2 36864 1 uvcvideo
ledtrig_audio 12288 0
intel_uncore 258048 0
libphy 225280 1 r8152
scsi_mod 319488 4 sd_mod,usb_storage,uas,sg
pcspkr 12288 0
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
sha3_generic 16384 1
snd_seq_device 16384 2 snd_seq,snd_rawmidi
cfg80211 1339392 3 iwlmvm,iwlwifi,mac80211
videodev 356352 2 videobuf2_v4l2,uvcvideo
asus_wmi 81920 0
jitterentropy_rng 20480 1
snd_pcm 188416 13
snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
platform_profile 12288 1 asus_wmi
scsi_common 16384 5 scsi_mod,sd_mod,usb_storage,uas,sg
led_class_multicolor 16384 0
sha512_ssse3 53248 1
videobuf2_common 73728 4
videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
hid_jabra 16384 0
wmi_bmof 12288 0
sha512_generic 16384 1 sha512_ssse3
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
i2c_i801 36864 0
mc 94208 5
videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
drbg 45056 1
ucsi_acpi 12288 0
snd 147456 26
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
typec_ucsi 65536 1 ucsi_acpi
mei_me 57344 2
ansi_cprng 12288 0
intel_lpss_pci 24576 0
i2c_smbus 16384 1 i2c_i801
typec 114688 1 typec_ucsi
ecdh_generic 16384 1 bluetooth
intel_lpss 12288 1 intel_lpss_pci
soundcore 16384 1 snd
ecc 40960 1 ecdh_generic
mei 188416 5 mei_hdcp,mei_pxp,mei_me
rfkill 40960 9 iwlmvm,asus_wmi,bluetooth,cfg80211
idma64 20480 0
roles 16384 1 typec_ucsi
i2c_hid_acpi 12288 0
igen6_edac 28672 0
button 24576 0
battery 28672 1 asus_wmi
i2c_hid 40960 1 i2c_hid_acpi
intel_pmc_core 114688 0
intel_vsec 20480 1 intel_pmc_core
acpi_tad 20480 0
pmt_telemetry 16384 1 intel_pmc_core
acpi_pad 184320 0
intel_hid 28672 0
ac 16384 0
sparse_keymap 12288 2 intel_hid,asus_wmi
pmt_class 12288 1 pmt_telemetry
msr 12288 0
parport_pc 40960 0
ppdev 24576 0
lp 20480 0
parport 81920 3 parport_pc,lp,ppdev
configfs 69632 1
efi_pstore 12288 0
nfnetlink 20480 3 nft_compat,nf_tables
ip_tables 28672 0
x_tables 53248 12
xt_conntrack,nft_compat,xt_LOG,xt_tcpudp,xt_addrtype,ip6t_rt,xt_comment,ipt_REJECT,ip_tables,xt_limit,xt_hl,ip6t_REJECT
autofs4 57344 2
ext4 1130496 2
crc16 12288 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 196608 1 ext4
dm_crypt 61440 2
dm_mod 221184 13 dm_crypt
hid_generic 12288 0
usbhid 77824 0
hid 172032 5
i2c_hid,usbhid,hid_multitouch,hid_generic,hid_jabra
efivarfs 28672 1
raid10 73728 0
raid456 196608 0
libcrc32c 12288 4 nf_conntrack,nf_tables,xfs,raid456
crc32c_generic 12288 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 16384 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
xor 20480 1 async_xor
async_tx 16384 5
async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
raid6_pq 122880 3 async_pq,raid456,async_raid6_recov
raid1 57344 0
raid0 24576 0
md_mod 225280 4 raid1,raid10,raid0,raid456
i915 4087808 20
i2c_algo_bit 12288 1 i915
drm_buddy 20480 1 i915
ttm 102400 1 i915
drm_display_helper 262144 1 i915
drm_kms_helper 249856 2 drm_display_helper,i915
nvme 57344 4
xhci_pci 24576 0
xhci_hcd 360448 1 xhci_pci
nvme_core 192512 5 nvme
drm 737280 24
i2c_hid,drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
thunderbolt 524288 0
t10_pi 20480 2 sd_mod,nvme_core
usbcore 401408 13
xhci_hcd,usbnet,snd_usb_audio,usbhid,snd_usbmidi_lib,r8153_ecm,usb_storage,uvcvideo,btusb,xhci_pci,cdc_ether,uas,r8152
evdev 28672 41
serio_raw 16384 0
crc64_rocksoft 16384 1 t10_pi
crc32c_intel 16384 4
crc64 16384 1 crc64_rocksoft
cec 69632 2 drm_display_helper,i915
crc_t10dif 16384 1 t10_pi
crct10dif_generic 12288 0
rc_core 73728 1 cec
crct10dif_pclmul 12288 1
crct10dif_common 12288 3
crct10dif_generic,crc_t10dif,crct10dif_pclmul
usb_common 16384 4 xhci_hcd,usbcore,uvcvideo,typec_ucsi
fan 20480 0
video 73728 2 asus_wmi,i915
wmi 32768 3 video,asus_wmi,wmi_bmof
aesni_intel 360448 15
crypto_simd 16384 1 aesni_intel
cryptd 28672 5 crypto_simd,ghash_clmulni_intel
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.9.8-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to en_US.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 cryptsetup depends on:
ii cryptsetup-bin 2:2.7.2-2
ii debconf [debconf-2.0] 1.5.87
ii dmsetup 2:1.02.196-1+b1
ii libc6 2.38-14
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii cryptsetup-initramfs 2:2.7.2-2
ii dosfstools 4.2-1.1
ii keyutils 1.6.3-3
ii liblocale-gettext-perl 1.07-7
-- debconf information:
cryptsetup/prerm_active_mappings: true
More information about the pkg-cryptsetup-devel
mailing list