[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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-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.

Kind regards.

--- Begin Message ---
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 <mejo@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 <mejo@debian.org> by
replying to this email.


-- 
767832: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767832
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 767832@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Meurer <mejo@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 ftpmaster@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-devel@lists.alioth.debian.org>
Changed-By: Jonas Meurer <mejo@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
 42b656a159c463aed36c2eaad44a6666d3833e22 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
 85c2d7e662eb7b1d2ecdd3146e1c6829bc52ed27cf0aed8ae77c3cc219c5cbd3 82848 cryptsetup_1.6.6-4.debian.tar.xz
 12ce83da56235f971c657d90f6b38723705fb488886bd7f088f7d71b4b1189f9 159436 cryptsetup_1.6.6-4_amd64.deb
 5e21e3a5a942daeab02409b9af5a62fe7a7b07a8fceb90dacd31ae962de2f7bb 175504 cryptsetup-bin_1.6.6-4_amd64.deb
 9461ead19f27cf0866653c5e83331226ea2a0f980eb7c04ec9c2d2b158356e8e 103142 libcryptsetup4_1.6.6-4_amd64.deb
 799164b8b3fb42286092f023f5a34b3115858ff8675d5831159655d489c31431 49720 libcryptsetup-dev_1.6.6-4_amd64.deb
 034645ac691c95b04c2f59c1b8d20bbd50354cf35be6351711de677227ce8624 36700 cryptsetup-udeb_1.6.6-4_amd64.udeb
 1add79277ddf2922a441ff0ab3714c25796330fa06711ca348a1de1abe48012c 64828 libcryptsetup4-udeb_1.6.6-4_amd64.udeb
Files:
 1aae12bbdd9b8792b0e53bac9a76b67a 2624 admin optional cryptsetup_1.6.6-4.dsc
 199f7af939c8cdc1ed84eb6d25c63f46 82848 admin optional cryptsetup_1.6.6-4.debian.tar.xz
 3d09b6770c4d37cc688ea1bbec416c21 159436 admin optional cryptsetup_1.6.6-4_amd64.deb
 ac1ec925131e116aa34faa362ef885b0 175504 admin optional cryptsetup-bin_1.6.6-4_amd64.deb
 b3573e94d891db973a795f2da9951f6a 103142 libs optional libcryptsetup4_1.6.6-4_amd64.deb
 5f4b1b5cf564b87502f75b6f17010542 49720 libdevel optional libcryptsetup-dev_1.6.6-4_amd64.deb
 051a2afa218b020b6f05581dd504b1c5 36700 debian-installer optional cryptsetup-udeb_1.6.6-4_amd64.udeb
 5b609aa808f004cce3e2eca7a04e0734 64828 debian-installer optional libcryptsetup4-udeb_1.6.6-4_amd64.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUkYqfAAoJEBvzc5c7ZRqnX7IP/0Rap3yCvVfun7dc2Vcj+LQm
L4uV9XaIKBmSjUXdpYG+p7AcFyD0JJrhzuR+xsGGJysG9c7XeeMjN2jtnjp1Z0lt
Hbc/vMYVdvvR8ColbXHZ3UOw8RIjj1dVcw+9ZYaCANhXyi4QzaLJ3XB4K/KhneJz
VZ4ioNUUeT0dRUM530AFDNBw6fCODIMqmXXEnlCwtwuD0xmoejfSkNTmOGrCPMTg
s9mwfHq4queCo06tRk0Hu/+yEOSPedKIIdOj3S1Ng0xEdIqMpIqxCLIztu+a7bF6
zW/gCOcfzuiT4AgdVUTxNDUmrnmHTcTdAjpu4OEBAtt/kPfHiyezLJ2AfJciAhim
NguPOmgdFypwqntjQcVvuNrH4jnpsgIII8oZPWAPECgmUcsbNcsEO/YhTsnhYZFa
awoX+vr3DZPLC10zHkqCrUoQH/Z1V/XhHApwHvJiHAuBujCoM3EHZVSv25kPDDfB
twpbbd7U+8Zx31/2Vzm+KoejVTbO2VI40iXNP1WBKiq63OIyJK621Ots1nJBgpO4
ClsMGr6WzuD1YyizneX+05vkvnCEyfWZaExyUTMGzXD/8efRC2tDE1DrFsRudcSv
lSc9YZSkU0Ta3wljziCgrNXiJIWWAG/x8ZrC6V7n2hVd8xNuH0QvT0wmzFcWfulX
wZJ2mNJ6RyI3Uaae2Abl
=dtmO
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Package: initramfs-tools
Version: 0.118_all
Severity: Critical

Hi,

I lastly did a clean install of debian amd64. I used for this a SID mini.iso from here http://ftp.nl.debian.org/debian/dists/sid/main/installer-amd64/current/images/netboot/

I chose during installation luks partitioning (not lvm), and separated /boot (on an usb pendrive) partition from /root partition (on another drive with the other one).
Then, at the end of the installation, I restarted my system and was unable to get it working. Indeed, debian was unable to find some partitions.

After a lot of time, I find out why things gone wrong. There where mismatch between /etc/fstab and /etc/crypttab. UUID and devices combination in crypttab file were different from /etc/fstab.
For exemple, it was written an UUID for a particular /dev on crypttab that was different from /etc/fstab (like /dev/mapper/sda6_crypt for /usr in crypttab, but listed as sda7_crypt in fstab, the /var partition)

So, from initramfs, I manually mounted all drives, and then did "CTRL + D". The system finally boot completely. I corrected the crypttab and the fstab files, and chose the «file option» for unlocking each partition (/usr; /var; swap; /tmp; /home
But I still get some problems.


My system does not start automatically after I enter the password for unlocking the root partition. I have to unlock manually /usr (from initramfs ), and then do "CTRL + D".

Finally, I discovered that  initramfs-tools_0.118_all.deb is buggy. Indeed, when I replaced it for initramfs-tools_0.116_all.deb, my system boot perfectly.

Here what I get before booting manually :


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.

--- End Message ---

--- End Message ---

Reply to: