[pkg-cryptsetup-devel] Bug#902943: cryptsetup-initramfs: Encrypted rootfs in LVM is not found after upgrade

doak tldr+dev at posteo.net
Tue Jul 3 19:01:02 BST 2018


Package: cryptsetup-initramfs
Version: 2:2.0.3-4
Severity: critical
Justification: breaks the whole system

Dear Maintainer,

   After system upgrade the system is not bootable anymore due the
   initramfs is unable to find the "source" for the rootfs and boot
   hangs.
   Before the upgrade this worked seamlessly for a long time, UUID of FS
   did not change recently.

   When breaking into initramfs (kernel argument 'break'), I am able to
   activate the LVM logical volume manually with 'lvm lvchange -a y linux'.
   Resuming the boot after that works, i.e. the passphrase is asked and
   boot continues after successful decryption.

   Please let me know if I should provide more detailed debug
   information.

   Regards,
   doak


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.16.0-2-amd64 root=/dev/mapper/linux-debian_crypt ro quiet

-- /etc/crypttab
linux-debian_crypt UUID=979d71b4-f9a9-45cb-b72e-6c81754ab504 none luks

-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/linux-debian_crypt /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda5 during installation
UUID=42edef9b-e7dc-4ceb-a5e1-05d958d6ea6f /boot ext4 defaults 0 2
/SWAP   none    swap    defaults    0   0

-- lsmod
Module                  Size  Used by
ctr                    16384  6
ccm                    20480  9
cmac                   16384  0
rfcomm                 86016  0
fuse                  118784  3
ipt_MASQUERADE         16384  1
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
nf_conntrack_netlink    49152  0
nfnetlink              16384  2 nf_conntrack_netlink
xfrm_user              45056  1
xfrm_algo              16384  1 xfrm_user
iptable_nat            16384  1
nf_conntrack_ipv4      16384  3
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
xt_addrtype            16384  2
xt_conntrack           16384  1
nf_nat                 36864  2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack          151552  7 nf_conntrack_ipv4,ipt_MASQUERADE,nf_conntrack_netlink,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
libcrc32c              16384  2 nf_conntrack,nf_nat
br_netfilter           24576  0
bridge                184320  1 br_netfilter
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
bnep                   24576  2
overlay               102400  0
ebtable_filter         16384  0
ebtables               36864  1 ebtable_filter
devlink                61440  0
ip6table_filter        16384  0
ip6_tables             32768  1 ip6table_filter
iptable_filter         16384  1
snd_hda_codec_hdmi     57344  1
binfmt_misc            20480  1
intel_rapl             24576  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             180224  0
uvcvideo              106496  0
arc4                   16384  2
kvm                   704512  1 kvm_intel
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_common       49152  2 uvcvideo,videobuf2_v4l2
irqbypass              16384  1 kvm
iTCO_wdt               16384  0
cdc_mbim               16384  0
wmi_bmof               16384  0
btusb                  53248  0
iwlmvm                290816  0
iTCO_vendor_support    16384  1 iTCO_wdt
videodev              204800  3 uvcvideo,videobuf2_common,videobuf2_v4l2
mac80211              802816  1 iwlmvm
cdc_wdm                24576  1 cdc_mbim
btrtl                  16384  1 btusb
intel_cstate           16384  0
btbcm                  16384  1 btusb
media                  45056  2 uvcvideo,videodev
cdc_ncm                40960  1 cdc_mbim
btintel                24576  1 btusb
intel_uncore          131072  0
usbnet                 49152  2 cdc_mbim,cdc_ncm
iwlwifi               225280  1 iwlmvm
i915                 1650688  20
bluetooth             626688  14 btrtl,btintel,bnep,btbcm,rfcomm,btusb
mii                    16384  1 usbnet
cdc_acm                32768  2
intel_rapl_perf        16384  0
evdev                  28672  29
joydev                 24576  0
snd_hda_codec_realtek   110592  1
serio_raw              16384  0
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
pcspkr                 16384  0
snd_hda_intel          45056  8
drbg                   28672  1
ansi_cprng             16384  0
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
ecdh_generic           24576  1 bluetooth
cfg80211              737280  3 iwlmvm,iwlwifi,mac80211
sg                     36864  0
rtsx_pci_ms            20480  0
snd_hda_core           94208  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
memstick               16384  1 rtsx_pci_ms
snd_hwdep              20480  1 snd_hda_codec
thinkpad_acpi          98304  1
drm_kms_helper        196608  1 i915
snd_pcm               118784  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
tpm_tis                16384  0
nvram                  16384  1 thinkpad_acpi
tpm_tis_core           20480  1 tpm_tis
snd_timer              36864  1 snd_pcm
wmi                    28672  1 wmi_bmof
drm                   458752  14 i915,drm_kms_helper
snd                    94208  25 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,thinkpad_acpi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
tpm                    65536  2 tpm_tis,tpm_tis_core
mei_me                 45056  0
battery                20480  0
rfkill                 28672  9 bluetooth,thinkpad_acpi,cfg80211
soundcore              16384  1 snd
i2c_algo_bit           16384  1 i915
mei                   106496  1 mei_me
rng_core               16384  1 tpm
lpc_ich                28672  0
ac                     16384  0
shpchp                 40960  0
video                  45056  2 thinkpad_acpi,i915
button                 16384  1 i915
sunrpc                405504  1
parport_pc             32768  0
ppdev                  20480  0
lp                     20480  0
parport                57344  3 lp,parport_pc,ppdev
ip_tables              28672  2 iptable_filter,iptable_nat
x_tables               45056  8 ip_tables,ebtables,iptable_filter,ipt_MASQUERADE,ip6table_filter,xt_addrtype,xt_conntrack,ip6_tables
autofs4                49152  2
ext4                  720896  2
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  118784  1 ext4
fscrypto               32768  1 ext4
ecb                    16384  0
btrfs                1347584  0
crc32c_generic         16384  0
xor                    24576  1 btrfs
zstd_decompress        94208  1 btrfs
zstd_compress         188416  1 btrfs
xxhash                 16384  2 zstd_compress,zstd_decompress
raid6_pq              122880  1 btrfs
algif_skcipher         16384  0
af_alg                 28672  1 algif_skcipher
dm_crypt               40960  1
dm_mod                147456  8 dm_crypt
sd_mod                 53248  5
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  4
ghash_clmulni_intel    16384  0
pcbc                   16384  0
rtsx_pci_sdmmc         28672  0
mmc_core              172032  1 rtsx_pci_sdmmc
aesni_intel           188416  9
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
cryptd                 28672  4 crypto_simd,ghash_clmulni_intel,aesni_intel
ahci                   40960  4
psmouse               172032  0
libahci                40960  1 ahci
xhci_pci               16384  0
ehci_pci               16384  0
libata                278528  2 ahci,libahci
xhci_hcd              258048  1 xhci_pci
ehci_hcd               94208  1 ehci_pci
scsi_mod              253952  3 sd_mod,libata,sg
i2c_i801               28672  0
rtsx_pci               73728  2 rtsx_pci_sdmmc,rtsx_pci_ms
usbcore               290816  11 usbnet,uvcvideo,cdc_mbim,ehci_hcd,cdc_acm,cdc_ncm,cdc_wdm,xhci_pci,btusb,xhci_hcd,ehci_pci
e1000e                282624  0
usb_common             16384  1 usbcore
thermal                20480  0


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cryptsetup-initramfs depends on:
ii  busybox                                 1:1.27.2-2
ii  cryptsetup-run                          2:2.0.3-4
ii  initramfs-tools [linux-initramfs-tool]  0.130

Versions of packages cryptsetup-initramfs recommends:
ii  console-setup  1.184
ii  kbd            2.0.4-3

cryptsetup-initramfs suggests no packages.

-- no debconf information



More information about the pkg-cryptsetup-devel mailing list