Bug#776409: —Bug#767832— not fixed in cryptsetup 2:1.6.6-4 nor 2:1.6.6-5
On Wed, 25 Mar 2015 12:27:25 +0100 Marc Ballarin marc.balla...@1und1.de wrote: Hi, we have most likely observed the same, or a very similar, bug when upgrading two test systems from Wheezy to Jessie. [...] Modifying fstab like this fixes things (all other filesystems continue to use LABEL): ... /dev/mapper/vg00-usr/usrxfs defaults,noatime0 0 ... So, I suspect this bug is triggered by the use of UUID or LABEL in fstab for a split /usr when using any form of device-mapper (not only dm-crypt). [...] Yes, this syntax is not fully supported for LVM partitions and that is unlikely to change. Note that this is an issue of the lvm2 package, not initramfs-tools itself. It remains to be seen whether the originally reported bug is the same. Ben. -- Ben Hutchings I'm always amazed by the number of people who take up solipsism because they heard someone else explain it. - E*Borg on alt.fan.pratchett signature.asc Description: This is a digitally signed message part
Bug#776409: —Bug#767832— not fixed in cryptsetup 2:1.6.6-4 nor 2:1.6.6-5
Hi, we have most likely observed the same, or a very similar, bug when upgrading two test systems from Wheezy to Jessie. Important: We use LVM for everything but / and /boot. The default fstab looks like this: LABEL=boot /boot ext3 defaults,errors=remount-ro,noatime 0 2 LABEL=slash / ext3 defaults,errors=remount-ro,noatime 0 1 proc/proc proc defaults0 0 LABEL=tmp /tmpxfs defaults,noatime,nosuid,nodev 0 0 LABEL=var /varxfs defaults,noatime0 0 LABEL=usr /usrxfs defaults,noatime0 0 LABEL=home /home xfs defaults,noatime,nosuid,nodev 0 0 LABEL=swap noneswapsw blkid output like this: /dev/sda1: LABEL=boot /dev/sda2: LABEL=slash /dev/sda3: TYPE=LVM2_member... /dev/mapper/vg00-usr: LABEL=usr... /dev/mapper/vg00-tmp: LABEL=tmp... /dev/mapper/vg00-var: LABEL=var... /dev/mapper/vg00-home: LABEL=home... /dev/mapper/vg00-swap: LABEL=swap... /dev/mapper/vg00-data: LABEL=data... The initramfs loops in Begin: Running /scripts/local-block ... done. until it gives up. It seems, it did not recognize that /usr is on a logical volume and did not attempt to activate it. Indeed, the device nodes are missing and manually running vgchange -ay in the emergency shell allows the boot to continue successfully. Modifying fstab like this fixes things (all other filesystems continue to use LABEL): ... /dev/mapper/vg00-usr/usrxfs defaults,noatime0 0 ... So, I suspect this bug is triggered by the use of UUID or LABEL in fstab for a split /usr when using any form of device-mapper (not only dm-crypt). scripts/local-block/lvm2 has this code, that looks very suspect: # Make sure that we have a d-m path dev=${dev#/dev/mapper/} if [ $dev = $1 ]; then return 1 fi No idea how to fix this except by doing an unconditional LVM activation. Regards, Marc -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#776409: —Bug#767832— not fixed in cryptsetup 2:1.6.6-4 nor 2:1.6.6-5
On Wed, 2015-03-11 at 19:11 +0100, zer0 divide wrote: Hi, here the outputs : zero@debian:~$ lsinitramfs /boot/initrd.img-$(uname -r) /boot/initrd.img-3.16.0-4-amd64 lsinitramfs does not yet support cpio archive initramfs files. See http://bugs.debian.org/717805 for more information. This is the old version of initramfs-tools. Please upgrade again before running lsinitramfs. Ben. -- Ben Hutchings Any smoothly functioning technology is indistinguishable from a rigged demo. signature.asc Description: This is a digitally signed message part
Bug#776409: —Bug#767832— not fixed in cryptsetup 2:1.6.6-4 nor 2:1.6.6-5
Hi, Sorry, I forgot to reinstall the latest version. See below the output the 0.119 version (the problem remains). zero@debian:~$ *dpkg -l |grep -i initramfs-tools* ii initramfs-tools 0.119 all generic modular initramfs generator *lsinitramfs /boot/initrd.img-$(uname -r)* /boot/initrd.img-3.16.0-4-amd64 kernel kernel/x86 kernel/x86/microcode kernel/x86/microcode/GenuineIntel.bin . bin bin/mkdir bin/mkfifo bin/true bin/kill bin/run-init bin/umount bin/sync bin/ntfs-3g bin/poweroff bin/ipconfig bin/cpio bin/gzip bin/halt bin/kmod bin/ls bin/dmesg bin/readlink bin/insmod bin/cat bin/udevadm bin/gunzip bin/nuke bin/mv bin/fstype bin/resume bin/uname bin/pivot_root bin/ln bin/nfsmount bin/dd bin/loadkeys bin/minips bin/losetup bin/false bin/mknod bin/chroot bin/sleep bin/mount bin/reboot scripts scripts/functions scripts/local-bottom scripts/local-bottom/ntfs_3g scripts/local-bottom/cryptopensc scripts/local-bottom/ORDER scripts/nfs scripts/init-top scripts/init-top/blacklist scripts/init-top/all_generic_ide scripts/init-top/keymap scripts/init-top/udev scripts/init-top/ORDER scripts/local-block scripts/local-block/lvm2 scripts/local-block/cryptroot scripts/local-block/ORDER scripts/local-top scripts/local-top/lvm2 scripts/local-top/cryptopensc scripts/local-top/cryptroot scripts/local-top/ORDER scripts/local scripts/local-premount scripts/local-premount/ntfs_3g scripts/local-premount/resume scripts/local-premount/ORDER scripts/init-bottom scripts/init-bottom/udev scripts/init-bottom/ORDER conf conf/conf.d conf/conf.d/cryptroot conf/conf.d/resume conf/arch.conf conf/initramfs.conf conf/modules lib lib/cryptsetup lib/cryptsetup/askpass lib/klibc-IpHGKKbZiB_yZ7GPagmQz2GwVAQ.so lib/systemd lib/systemd/systemd-udevd lib/x86_64-linux-gnu lib/x86_64-linux-gnu/libacl.so.1 lib/x86_64-linux-gnu/libgpg-error.so.0 lib/x86_64-linux-gnu/libc.so.6 lib/x86_64-linux-gnu/libntfs-3g.so.852 lib/x86_64-linux-gnu/libkmod.so.2 lib/x86_64-linux-gnu/libattr.so.1 lib/x86_64-linux-gnu/libcrypt.so.1 lib/x86_64-linux-gnu/libreadline.so.5 lib/x86_64-linux-gnu/libpthread.so.0 lib/x86_64-linux-gnu/libdl.so.2 lib/x86_64-linux-gnu/libdevmapper-event.so.1.02.1 lib/x86_64-linux-gnu/libe2p.so.2 lib/x86_64-linux-gnu/libgcrypt.so.20 lib/x86_64-linux-gnu/libdevmapper.so.1.02.1 lib/x86_64-linux-gnu/libselinux.so.1 lib/x86_64-linux-gnu/libcom_err.so.2 lib/x86_64-linux-gnu/libblkid.so.1 lib/x86_64-linux-gnu/libcryptsetup.so.4 lib/x86_64-linux-gnu/libtinfo.so.5 lib/x86_64-linux-gnu/libext2fs.so.2 lib/x86_64-linux-gnu/libudev.so.1 lib/x86_64-linux-gnu/libmount.so.1 lib/x86_64-linux-gnu/librt.so.1 lib/x86_64-linux-gnu/libpopt.so.0 lib/x86_64-linux-gnu/libpcre.so.3 lib/x86_64-linux-gnu/libuuid.so.1 lib/udev lib/udev/ata_id lib/udev/scsi_id lib/udev/hotplug.functions lib/udev/rules.d lib/udev/rules.d/60-persistent-storage-dm.rules lib/udev/rules.d/56-lvm.rules lib/udev/rules.d/80-drivers.rules lib/udev/rules.d/60-persistent-storage.rules lib/udev/rules.d/50-firmware.rules lib/udev/rules.d/55-dm.rules lib/udev/rules.d/50-udev-default.rules lib/firmware lib/firmware/tigon lib/firmware/tigon/tg3_tso.bin lib/firmware/tigon/tg3.bin lib/firmware/tigon/tg3_tso5.bin lib/firmware/cxgb4 lib/firmware/cxgb4/t4fw.bin lib/firmware/cxgb4/t5fw.bin lib/firmware/isci lib/firmware/isci/isci_firmware.bin lib/firmware/cis lib/firmware/cis/PE520.cis lib/firmware/cis/LA-PCM.cis lib/firmware/cis/DP83903.cis lib/firmware/cis/tamarack.cis lib/firmware/cis/NE2K.cis lib/firmware/cis/PCMLM28.cis lib/firmware/cis/PE-200.cis lib/firmware/e100 lib/firmware/e100/d101s_ucode.bin lib/firmware/e100/d102e_ucode.bin lib/firmware/e100/d101m_ucode.bin lib/firmware/tehuti lib/firmware/tehuti/bdx.bin lib/firmware/ene-ub6250 lib/firmware/ene-ub6250/msp_rdwr.bin lib/firmware/ene-ub6250/ms_rdwr.bin lib/firmware/ene-ub6250/sd_init2.bin lib/firmware/ene-ub6250/sd_init1.bin lib/firmware/ene-ub6250/sd_rdwr.bin lib/firmware/ene-ub6250/ms_init.bin lib/firmware/advansys lib/firmware/advansys/38C1600.bin lib/firmware/advansys/3550.bin lib/firmware/advansys/38C0800.bin lib/firmware/advansys/mcode.bin lib/firmware/rtl_nic lib/firmware/rtl_nic/rtl8168d-1.fw lib/firmware/rtl_nic/rtl8106e-2.fw lib/firmware/rtl_nic/rtl8105e-1.fw lib/firmware/rtl_nic/rtl8402-1.fw lib/firmware/rtl_nic/rtl8168g-2.fw lib/firmware/rtl_nic/rtl8106e-1.fw lib/firmware/rtl_nic/rtl8168e-3.fw lib/firmware/rtl_nic/rtl8168f-2.fw lib/firmware/rtl_nic/rtl8168g-3.fw lib/firmware/rtl_nic/rtl8411-2.fw lib/firmware/rtl_nic/rtl8168e-1.fw lib/firmware/rtl_nic/rtl8168e-2.fw lib/firmware/rtl_nic/rtl8168f-1.fw lib/firmware/rtl_nic/rtl8411-1.fw lib/firmware/rtl_nic/rtl8168d-2.fw lib/firmware/3com lib/firmware/3com/typhoon.bin lib/firmware/cxgb3 lib/firmware/cxgb3/ael2005_twx_edc.bin lib/firmware/cxgb3/ael2005_opt_edc.bin lib/firmware/cxgb3/t3b_psram-1.1.0.bin lib/firmware/cxgb3/t3c_psram-1.1.0.bin lib/firmware/cxgb3/t3fw-7.12.0.bin lib/firmware/cxgb3/ael2020_twx_edc.bin lib/modules
Bug#776409: —Bug#767832— not fixed in cryptsetup 2:1.6.6-4 nor 2:1.6.6-5
Hi, here the outputs : zero@debian:~$ *lsinitramfs /boot/initrd.img-$(uname -r)* /boot/initrd.img-3.16.0-4-amd64 lsinitramfs does not yet support cpio archive initramfs files. See http://bugs.debian.org/717805 for more information. *Fstab* zero@debian:~$ *cat /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 #UUID=---- /boot auto rw,user,noauto 00 UUID=---- /boot ext4 defaults 02 /dev/mapper/sda1_crypt / ext4 discard,errors=remount-ro 0 1 /dev/mapper/sda5_crypt /usrext4discard 0 2 /dev/mapper/sda6_crypt /usr/local ext4discard 0 2 /dev/mapper/sda7_crypt /optext4discard 0 2 /dev/mapper/sda9_crypt /home ext4discard 0 2 /dev/mapper/sda8_crypt /varext4discard 0 2 /dev/mapper/sdb1_crypt /var/tmpext4defaults 0 2 /dev/mapper/sdb5_crypt /var/logext4defaults 0 2 /dev/mapper/sdb6_crypt noneswapsw 0 0 /dev/mapper/sdb7_crypt /tmpext4defaults 0 2 /dev/mapper/sdb8_crypt /home/zero/World ext4defaults 0 2 Crypttab zero@debian:~$ cat /etc/crypttXX sda1_crypt UUID=---- none luks sda5_crypt UUID=---- /etc/keys/sda5 luks,timeout=20 sda6_crypt UUID=---- /etc/keys/sda6 luks,timeout=20 sda7_crypt UUID=---- /etc/keys/sda7 luks,timeout=20 sda8_crypt UUID=---- /etc/keys/sda8 luks,timeout=20 sda9_crypt UUID=---- /etc/keys/sda9 luks,timeout=20 sdb1_crypt UUID=---- /etc/keys/sdb1 luks,timeout=20 sdb5_crypt UUID=---- /etc/keys/sdb5 luks,timeout=20 sdb6_crypt UUID=---- /etc/keys/sdb6 luks,timeout=20 sdb7_crypt UUID=---- /etc/keys/sdb7 luks,timeout=20 sdb8_crypt UUID=---- /etc/keys/sdb8 luks,timeout=20 Kind regards. On Mon, 02 Mar 2015 15:15:02 + Ben Hutchings b...@decadent.org.uk wrote: Control: tag -1 unreproducible moreinfo On Tue, 27 Jan 2015 19:48:48 +0100 zer0 divide zer0.div...@yahoo.fr wrote: Package: initramfs-tools Version: 0.118_all Severity: Critical Hi, Unfortunately, the 767832 bug still relevant with : * cryptsetup 2:1.6.6-5 amd64 * initramfs-tools 0.118 My system does not start automatically after entering the password for unlocking the root partition. I have to unlock manually /usr (from initramfs ), and then do CTRL + D or typing ëexitû. Finally, my system boot perfectly with initramfs-tools_0.116_all.deb. Here what I get before booting manually initramfs-tools_0.118_all.deb, : / // / /Decompressiong Linux⦠Parsing ELF⦠done.// //Booting the kernel.// //Loading, please wait...// //Please unlock disk sda1_crypt:// //cryptsetup: sda1_crypt set up successfully// //fsck from util-linux 2.25.2// ///dev/mapper/sda1_crypt: clean, 7869/170688 files, 89041/682752 blocks// //Gave up waiting for /usr device. Common problems:// // - Boot args (cat /proc/cmdline)// // - Check rootdelay= (did the system wait long enough?)// // - Missing modules (cat /proc/modules; ls /dev)// //ALERT! /dev/mapper/sda5_crypt does not exist. Dropping to a shell!// //modprobe: module ehci-orion not found in modules.dep// // // //BusyBox v1.22.1 (Debian 1:1.22.0-9) built-in shell (ash)// //Enter 'help' for a list of built-in commands./ Please send the output of the command: lsinitramfs /boot/initrd.img-$(uname -r) and the contents of /etc/crypttab and /etc/fstab. Ben. -- Ben Hutchings Anthony's Law of Force: Don't force it, get a larger hammer.
Bug#776409: —Bug#767832— not fixed in cryptsetup 2:1.6.6-4 nor 2:1.6.6-5
Control: tag -1 unreproducible moreinfo On Tue, 27 Jan 2015 19:48:48 +0100 zer0 divide zer0.div...@yahoo.fr wrote: Package: initramfs-tools Version: 0.118_all Severity: Critical Hi, Unfortunately, the 767832 bug still relevant with : * cryptsetup 2:1.6.6-5amd64 * initramfs-tools 0.118 My system does not start automatically after entering the password for unlocking the root partition. I have to unlock manually /usr (from initramfs ), and then do CTRL + D or typing «exit». Finally, my system boot perfectly with initramfs-tools_0.116_all.deb. Here what I get before booting manually initramfs-tools_0.118_all.deb, : / // / /Decompressiong Linux⦠Parsing ELF⦠done.// //Booting the kernel.// //Loading, please wait...// //Please unlock disk sda1_crypt:// //cryptsetup: sda1_crypt set up successfully// //fsck from util-linux 2.25.2// ///dev/mapper/sda1_crypt: clean, 7869/170688 files, 89041/682752 blocks// //Gave up waiting for /usr device. Common problems:// // - Boot args (cat /proc/cmdline)// // - Check rootdelay= (did the system wait long enough?)// // - Missing modules (cat /proc/modules; ls /dev)// //ALERT! /dev/mapper/sda5_crypt does not exist. Dropping to a shell!// //modprobe: module ehci-orion not found in modules.dep// // // //BusyBox v1.22.1 (Debian 1:1.22.0-9) built-in shell (ash)// //Enter 'help' for a list of built-in commands./ Please send the output of the command: lsinitramfs /boot/initrd.img-$(uname -r) and the contents of /etc/crypttab and /etc/fstab. Ben. -- Ben Hutchings Anthony's Law of Force: Don't force it, get a larger hammer. signature.asc Description: This is a digitally signed message part
Bug#776409: —Bug#767832— not fixed in cryptsetup 2:1.6.6-4 nor 2:1.6.6-5
Package: initramfs-tools Version: 0.118_all Severity: Critical Hi, Unfortunately, the 767832 bug still relevant with : * cryptsetup 2:1.6.6-5amd64 * initramfs-tools 0.118 My system does not start automatically after entering the password for unlocking the root partition. I have to unlock manually /usr (from initramfs ), and then do CTRL + D or typing «exit». Finally, my system boot perfectly with initramfs-tools_0.116_all.deb. Here what I get before booting manually initramfs-tools_0.118_all.deb, : / // / /Decompressiong Linux… Parsing ELF… done.// //Booting the kernel.// //Loading, please wait...// //Please unlock disk sda1_crypt:// //cryptsetup: sda1_crypt set up successfully// //fsck from util-linux 2.25.2// ///dev/mapper/sda1_crypt: clean, 7869/170688 files, 89041/682752 blocks// //Gave up waiting for /usr device. Common problems:// // - Boot args (cat /proc/cmdline)// // - Check rootdelay= (did the system wait long enough?)// // - Missing modules (cat /proc/modules; ls /dev)// //ALERT! /dev/mapper/sda5_crypt does not exist. Dropping to a shell!// //modprobe: module ehci-orion not found in modules.dep// // // //BusyBox v1.22.1 (Debian 1:1.22.0-9) built-in shell (ash)// //Enter 'help' for a list of built-in commands./ Kind regards. ---BeginMessage--- This is an automatic notification regarding your Bug report which was filed against the cryptsetup package: #767832: cryptsetup: does not decrypt a split /usr as required by initramfs-tools = 0.118 It has been closed by Jonas Meurer m...@debian.org. Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Jonas Meurer m...@debian.org by replying to this email. -- 767832: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767832 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ---BeginMessage--- Source: cryptsetup Source-Version: 2:1.6.6-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 767...@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: SHA1 Format: 1.8 Date: Wed, 17 Dec 2014 14:24:41 +0100 Source: cryptsetup Binary: cryptsetup cryptsetup-bin libcryptsetup4 libcryptsetup-dev cryptsetup-udeb libcryptsetup4-udeb Architecture: source amd64 Version: 2:1.6.6-4 Distribution: unstable Urgency: medium 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: 764564 767832 768407 Changes: cryptsetup (2:1.6.6-4) unstable; urgency=medium . [ Simon McVittie ] * debian/initramfs/cryptroot-script: decrypt /usr as well as / so that split-/usr will work with initramfs-tools (= 0.118). (closes: #767832) . [ Jonas Meurer ] * debian/cryptdisks.funcctions: check for cryptdisks-udev initscript before actually invoking 'status' on it. It's only useful in ubuntu+upstart environment anyway. (closes: #764564) * debian/askpas.c: fix systemd_read() to really strip trailing newline from input. Thanks to Quentin Lefebvre for report and patch. (closes: #768407) Checksums-Sha1: 936823b42885dcd6f9f707eea950c1ecf5333441 2624 cryptsetup_1.6.6-4.dsc 42b656a159c463aed36c2eaad44ad3833e22 82848 cryptsetup_1.6.6-4.debian.tar.xz 01b311e05c39dfffc887cbe008d9d3607ed71dfa 159436 cryptsetup_1.6.6-4_amd64.deb 602f9940f314c71dede8b4fd8ef81a19856b3a79 175504 cryptsetup-bin_1.6.6-4_amd64.deb 462b154b510fc695512082aa39fe067758405504 103142 libcryptsetup4_1.6.6-4_amd64.deb 079c0e89dc8b261f6484a228d1b3bb145d7b3fb7 49720 libcryptsetup-dev_1.6.6-4_amd64.deb e622e08734147050239fdafc63481b40378e51fc 36700 cryptsetup-udeb_1.6.6-4_amd64.udeb 65cd68dd5561bcc8068bd62187e04038e0d17a67 64828 libcryptsetup4-udeb_1.6.6-4_amd64.udeb Checksums-Sha256: d7126c3675793555c8d7fa084505cf0a4dbfaa80e2903379afd21036489d9074 2624 cryptsetup_1.6.6-4.dsc