Your message dated Fri, 14 Oct 2016 13:03:44 +0000
with message-id <e1bv29i-0004l3...@franck.debian.org>
and subject line Bug#840480: fixed in cryptsetup 2:1.7.2-4
has caused the Debian Bug report #840480,
regarding cryptsetup: initramfs hook cryptroot fails if root is lvm and spans
multiple devices/nodes
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
840480: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840480
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cryptsetup
Version: 2:1.7.2-3
Severity: important
Dear Maintainer,
update-initramfs fails to add cryptsetup to the initramfs with the warning:
update-initramfs: Generating /boot/initrd.img-4.7.0-1-amd64
cryptsetup: WARNING: invalid line in /etc/crypttab for md0p3_cryptflash_crypt -
cryptsetup: WARNING: invalid line in /etc/crypttab for md0p3_cryptflash_crypt -
On my system, the root filesystem spans two lvm nodes (because I'm using lvm
caching and one is a raid array while the other is an SSD).
I looked into /usr/share/initramfs-tools/hooks/cryptroot and found the issue
was caused by not putting a space between the devices when generating the list
of nodes. I fixed the issue by putting a space in line 233 before $depnode in
function get_lvm_deps():
printf '%s' " $depnode"
I think this bug was probably introduced in version 2:1.7.2-1, possibly with
the change:
* debian/initramfs/cryptroot-hook: Avoid leading space in $rootdevs,
$resumedevs, etc.
Thanks!
- Cem
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.7.0-1-amd64 root=/dev/mapper/sapphire--vg-root ro
initrd=/install/initrd.gz quiet
-- /etc/crypttab
flash_crypt /dev/sde none luks
md0p3_crypt /dev/md0p3 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/sapphire--vg-root / ext4
errors=remount-ro 0 1
# /boot was on /dev/md0p2 during installation
UUID=4cae8b54-da05-4826-9b13-feaaa3335eaf /boot ext2
defaults 0 2
/dev/mapper/sapphire--vg-home /home ext4
defaults 0 0
/dev/mapper/sapphire--vg-swap_1 none swap sw
0 0
/dev/mapper/sapphire--vg-vault /mnt/vault ext4
defaults 0 0
-- lsmod
Module Size Used by
nls_utf8 16384 1
cifs 630784 2
sha256_ssse3 32768 0
cmac 16384 0
md4 16384 0
des_generic 24576 0
arc4 16384 0
dns_resolver 16384 1 cifs
fscache 61440 1 cifs
binfmt_misc 20480 1
snd_hda_codec_hdmi 45056 1
nvidia_drm 45056 1
dm_cache_smq 24576 2
drm_kms_helper 147456 1 nvidia_drm
intel_rapl 20480 0
dm_cache 57344 3 dm_cache_smq
snd_hda_codec_realtek 86016 1
x86_pkg_temp_thermal 16384 0
dm_persistent_data 65536 1 dm_cache
intel_powerclamp 16384 0
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
drm 364544 4 drm_kms_helper,nvidia_drm
iTCO_wdt 16384 0
dm_bio_prison 16384 1 dm_cache
iTCO_vendor_support 16384 1 iTCO_wdt
dm_bufio 28672 1 dm_persistent_data
snd_usb_audio 176128 0
snd_hda_intel 36864 5
kvm_intel 188416 0
nvidia_modeset 765952 5 nvidia_drm
lpc_ich 24576 0
snd_hda_codec 135168 4
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
mei_me 32768 0
snd_usbmidi_lib 28672 1 snd_usb_audio
snd_rawmidi 32768 1 snd_usbmidi_lib
snd_seq_device 16384 1 snd_rawmidi
kvm 573440 1 kvm_intel
pcspkr 16384 0
mfd_core 16384 1 lpc_ich
i2c_i801 20480 0
serio_raw 16384 0
irqbypass 16384 1 kvm
mei 94208 1 mei_me
sg 32768 0
snd_hda_core 81920 5
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_soc_rt5640 118784 0
snd_soc_rl6231 16384 1 snd_soc_rt5640
shpchp 36864 0
snd_soc_ssm4567 16384 0
snd_soc_core 208896 2 snd_soc_rt5640,snd_soc_ssm4567
snd_compress 20480 1 snd_soc_core
snd_pcm 110592 7
snd_soc_rt5640,snd_usb_audio,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
dw_dmac 16384 0
snd_soc_sst_acpi 16384 0
snd_timer 32768 1 snd_pcm
dw_dmac_core 24576 1 dw_dmac
battery 16384 0
snd 81920 24
snd_hda_codec_realtek,snd_usb_audio,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_compress
snd_soc_sst_match 16384 1 snd_soc_sst_acpi
elan_i2c 36864 0
soundcore 16384 1 snd
evdev 24576 9
i2c_designware_platform 16384 0
i2c_designware_core 20480 1 i2c_designware_platform
acpi_pad 24576 0
tpm_tis 20480 0
tpm 45056 1 tpm_tis
nvidia 11472896 67 nvidia_modeset
it87 57344 0
hwmon_vid 16384 1 it87
coretemp 16384 0
parport_pc 28672 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
ip_tables 24576 0
x_tables 36864 1 ip_tables
autofs4 40960 2
ext4 589824 4
ecb 16384 0
crc16 16384 1 ext4
jbd2 106496 1 ext4
mbcache 16384 5 ext4
dm_crypt 24576 2
algif_skcipher 20480 0
af_alg 16384 1 algif_skcipher
dm_mod 106496 39 dm_persistent_data,dm_cache,dm_bufio,dm_crypt
raid10 45056 0
raid1 36864 0
raid0 20480 0
multipath 16384 0
linear 16384 0
raid456 106496 1
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
async_tx 16384 5
async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
xor 24576 1 async_xor
hid_generic 16384 0
usbhid 49152 0
raid6_pq 102400 3 async_pq,raid456,async_raid6_recov
libcrc32c 16384 2 raid456,dm_persistent_data
crc32c_generic 16384 0
md_mod 131072 9 raid456,raid0,raid1,multipath,linear,raid10
sd_mod 45056 9
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 1
ghash_clmulni_intel 16384 0
mxm_wmi 16384 0
jitterentropy_rng 16384 0
hmac 16384 3
drbg 24576 1
ansi_cprng 16384 0
ahci 36864 5
libahci 32768 1 ahci
aesni_intel 167936 6
xhci_pci 16384 0
xhci_hcd 172032 1 xhci_pci
libata 245760 2 ahci,libahci
ehci_pci 16384 0
ehci_hcd 77824 1 ehci_pci
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
usbcore 241664 7
snd_usb_audio,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
cryptd 20480 5 ghash_clmulni_intel,aesni_intel,ablk_helper
psmouse 126976 0
scsi_mod 225280 3 sg,libata,sd_mod
alx 36864 0
mdio 16384 1 alx
usb_common 16384 1 usbcore
fan 16384 0
thermal 20480 0
sdhci_acpi 16384 0
sdhci 40960 1 sdhci_acpi
mmc_core 139264 2 sdhci,sdhci_acpi
wmi 16384 1 mxm_wmi
video 40960 0
i2c_hid 20480 0
hid 118784 3 i2c_hid,hid_generic,usbhid
fjes 28672 0
button 16384 0
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cryptsetup depends on:
ii cryptsetup-bin 2:1.7.2-3
ii debconf [debconf-2.0] 1.5.59
ii dmsetup 2:1.02.133-1
ii libc6 2.24-3
Versions of packages cryptsetup recommends:
ii busybox 1:1.22.0-19
ii console-setup 1.151
ii initramfs-tools [linux-initramfs-tool] 0.125
ii kbd 2.0.3-2
Versions of packages cryptsetup suggests:
ii dosfstools 4.0-2
ii keyutils 1.5.9-9
ii liblocale-gettext-perl 1.07-3+b1
-- Configuration Files:
/etc/cryptsetup-initramfs/conf-hook changed:
CRYPTSETUP=y
-- debconf information:
* cryptsetup/prerm_active_mappings: false
--- End Message ---
--- Begin Message ---
Source: cryptsetup
Source-Version: 2:1.7.2-4
We believe that the bug you reported is fixed in the latest version of
cryptsetup, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 840...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonas Meurer <m...@debian.org> (supplier of updated cryptsetup package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 13 Oct 2016 23:11:45 +0200
Source: cryptsetup
Binary: cryptsetup cryptsetup-bin libcryptsetup4 libcryptsetup-dev
cryptsetup-udeb libcryptsetup4-udeb
Architecture: source amd64
Version: 2:1.7.2-4
Distribution: unstable
Urgency: high
Maintainer: Debian Cryptsetup Team
<pkg-cryptsetup-de...@lists.alioth.debian.org>
Changed-By: Jonas Meurer <m...@debian.org>
Description:
cryptsetup - disk encryption support - startup scripts
cryptsetup-bin - disk encryption support - command line tools
cryptsetup-udeb - disk encryption support - commandline tools (udeb) (udeb)
libcryptsetup-dev - disk encryption support - development files
libcryptsetup4 - disk encryption support - shared library
libcryptsetup4-udeb - disk encryption support - shared library (udeb) (udeb)
Closes: 840480
Changes:
cryptsetup (2:1.7.2-4) unstable; urgency=high
.
[ Guilhem Moulin ]
* debian/initramfs/cryptroot-hook:
+ Fix warning printed for lvm devices backed by multiple dm-crypt nodes.
Regression introduced in 2:1.7.2-1. Thanks Zoltan Hidvegi, for the
patch. (Closes: #840480)
+ Don't escape all slash characters "/" in device paths of the form
/dev/by-label/..., only the label itself. Regression introduced in
2:1.7.2-2 as a fix for #839888.
Checksums-Sha1:
51bc0b3593919008389d14d14a9170d366f4c327 2651 cryptsetup_1.7.2-4.dsc
908cfe7a93cdb49b0cb165f7c8c238be43ce2b89 87652 cryptsetup_1.7.2-4.debian.tar.xz
e5866150ca10363c6cb53ff2034bb0b6ea6fe23b 112748
cryptsetup-bin-dbgsym_1.7.2-4_amd64.deb
a1fc252de063d030da5ecc022f180830fa212ea1 215336
cryptsetup-bin_1.7.2-4_amd64.deb
e1e46667567be1ddda8a8f81cfa232e1193dddc0 17080
cryptsetup-dbgsym_1.7.2-4_amd64.deb
b065bde74632364c399d45b9f76f2bc81578b962 38912
cryptsetup-udeb_1.7.2-4_amd64.udeb
92ac8a372b3525986d26e47ef7f50fcf03d88b70 168528 cryptsetup_1.7.2-4_amd64.deb
73085bc06e0035c8f281c7af41e90cb46f4ce0cd 53028
libcryptsetup-dev_1.7.2-4_amd64.deb
c9fe51eaa6b5e149585302ef3881a03413d39440 174798
libcryptsetup4-dbgsym_1.7.2-4_amd64.deb
382ada2b15724db9d32c0f83286c3fb430f44e13 65780
libcryptsetup4-udeb_1.7.2-4_amd64.udeb
6fb1c5f146db86b15116f5610027419350d763b1 106664
libcryptsetup4_1.7.2-4_amd64.deb
Checksums-Sha256:
0c81459487bcfa37482a9c7fc4af2efd079394def44a582104944af6b8ce100f 2651
cryptsetup_1.7.2-4.dsc
47c24e96c5219b7be4ce97e3c8ad493dd8ef4be1df7f06575ec9fccc9518b1e7 87652
cryptsetup_1.7.2-4.debian.tar.xz
e8b78c445533a271da66774f0b3cdeb5c1fa89538f6b2544903e49e554253cac 112748
cryptsetup-bin-dbgsym_1.7.2-4_amd64.deb
82c3ed33fb524250c49106396958b18c1fb0a65aa0d7d98cbdbe91fbd7291549 215336
cryptsetup-bin_1.7.2-4_amd64.deb
8a9ff5a6c1184c28cad44e0dbbbf16049a63feffe754020653a0ed11c9ed6f4e 17080
cryptsetup-dbgsym_1.7.2-4_amd64.deb
f71e6c9e73479f736491a9e73645329adf9e89f33a475b9b1379bf048f482800 38912
cryptsetup-udeb_1.7.2-4_amd64.udeb
285a3d78db0a6154b56900db5cc7921f2c94505dee53fc6c5e9fc30c3ce89655 168528
cryptsetup_1.7.2-4_amd64.deb
729e525b0e4d4499e9beddd29192704f799d24a0a5a4a7c7944b4d777060555b 53028
libcryptsetup-dev_1.7.2-4_amd64.deb
f249e1451188a5a571a4cefa949c491e54e88e1769d8660291b5c148829b8d94 174798
libcryptsetup4-dbgsym_1.7.2-4_amd64.deb
a1cad57a80985e314986c6562003778b35cace7e1f2a589deb82959c91e6dd9c 65780
libcryptsetup4-udeb_1.7.2-4_amd64.udeb
3b647762126efbd4791a4e174bda73b4512aab34fe941f0f0bba5cb7a6b34ecb 106664
libcryptsetup4_1.7.2-4_amd64.deb
Files:
2b29f9dd00e0f49430cfd5ef705fb2d2 2651 admin optional cryptsetup_1.7.2-4.dsc
36e33b655ef93132496d0601ba4c7672 87652 admin optional
cryptsetup_1.7.2-4.debian.tar.xz
1bd4fa868955cd6aca8cf90066aa58dd 112748 debug extra
cryptsetup-bin-dbgsym_1.7.2-4_amd64.deb
dce136dcde09642061870637228804ed 215336 admin optional
cryptsetup-bin_1.7.2-4_amd64.deb
c089f8fe38423693317f29318d96e0dd 17080 debug extra
cryptsetup-dbgsym_1.7.2-4_amd64.deb
cbc650c5228cbdc05f98886738153c6d 38912 debian-installer optional
cryptsetup-udeb_1.7.2-4_amd64.udeb
1b66cdfe2fab24111d6e746f2c842de5 168528 admin optional
cryptsetup_1.7.2-4_amd64.deb
11cf87d3995797d5df7c2aa38e64f04c 53028 libdevel optional
libcryptsetup-dev_1.7.2-4_amd64.deb
852f8a4a6442d8db172151a2ad708026 174798 debug extra
libcryptsetup4-dbgsym_1.7.2-4_amd64.deb
11cad75ee74ced62d56cfa73bd038d68 65780 debian-installer optional
libcryptsetup4-udeb_1.7.2-4_amd64.udeb
0b8c7e319fa960d5790fb9de9aa74700 106664 libs optional
libcryptsetup4_1.7.2-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJYANY4AAoJEFJi5/9JEEn+VtgP/RYY7R9r26M/j1qqNe0B+NLO
6Ez720umJyDpZm58WyFz6lwOcRxwDWbmaJ44ER4wSdURb+3Z1mNwCn1fWHPeXm9R
T2cIx0jA3bKNHSM7UnGwE1uaqrgAaGw7SsVpDYHxMzzyjIgzWeVcfqLeBkEcLMR3
hy5V+zkhPmVZDTZU7fmlhpvQFhu06/o7kzeTjDYZsK8elAqzzYJPfdS6LmxMBwjH
ReUQW5dk1iCL8Eyt6Rh8LCM47F2BGFmQ4I91ib4bBaN3svKMkBrcpIakCO5tEwT7
VCy1qnZZZqbLHWUOI+gJkPx1gL9/Hn+qRt50HCDjSdiQYmtwv2Def8OFo7wj/Jfd
yYDRcxR6G9AVgbMqUTRnFVjjqy6rVL9HwCFfAts98n8pSsyyyh3xZkbmt7n814RC
eC5a36AeCI8yNrI/Tlu3OJWwoR3yu64Q48n210q0Vn4mnR/a13/vBvhzG/U6rjdd
iBi+QB0prLtiI4DrlwMteQaA3oUE5AAThZXcIwfh28LmHgrF2QOdq41vTrl2fOmc
XzQUcwkRj1vd24PjUq8wFa+Cfjh6zaFEJ6lZLy43s/QYzb2AtrZk3KwNrK8+qMiX
thRveEddNd+VWH/5Uzo/9R3/KLp+uGVoGOqZeHscDT0AvPdkDQD+9VQHoKqcwSfW
NvE3IdAUD3BBtlOvOEBd
=0BRB
-----END PGP SIGNATURE-----
--- End Message ---