From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Sun, 24 Jul 2016 23:18:33 +0200 (CEST) Received: from [192.168.1.47] ([31.34.87.55]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MhQju-1bfEaY3kB8-00MeoX for ; Sun, 24 Jul 2016 23:18:33 +0200 References: <20160721134252.GF27774@yeono.kjorling.se> <5792CED6.4070200@gmx.fr> From: "Arbiel (gmx)" Message-ID: <579530A4.4090609@gmx.fr> Date: Sun, 24 Jul 2016 23:18:28 +0200 MIME-Version: 1.0 In-Reply-To: <5792CED6.4070200@gmx.fr> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FwEDWKq88psJDK5w2J5IoOcLtEG04OsRv" Subject: Re: [dm-crypt] Issue with crypttab List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FwEDWKq88psJDK5w2J5IoOcLtEG04OsRv Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi So, well. I understand this is not the right place to report bug on cryptsetup, even if the manpage states that REPORTING BUGS Report bugs, including ones in the documentation, on the cryptsetup mailing list at Arbiel Le 23/07/2016 03:56, Arbiel (gmx) a =C3=A9crit : > I understand the issue may be related to my distribution, however let m= e > please present the case, and you will maybe help me resolve the difficu= lty. > > I'm presently trying to go from Ubuntu 14.04 (cryptsetup 1.6.1) to > Ubuntu 16.04 (cryptsetup 1.6.6) and the problem comes with Ubuntu 16.04= =2E > > I want to decrypt 3 logical volumes, victor-root_1604, victor-home and > victor-root_alt as my /etc/crypttab file show > > |grep -v -e "noauto" /etc/crypttab | grep -v -e "^#" victor-root_1604 > UUID=3D22847149-1399-491b-b166-007a50938c5f > /dev/disk/by-uuid/4146dfad-26f0-4aec-99c3-8ab00c3e4297:/.victor-root_16= 04:1 > luks,keyscript=3D/lib/cryptsetup/scripts/passdev victor-home > UUID=3D37447a61-f946-4d38-a398-5a886c4e3f22 > /dev/disk/by-uuid/e4fa73a6-92bc-4d1e-98b0-7b6d92661ae4:/.victor-home:1 > luks,keyscript=3D/lib/cryptsetup/scripts/passdev victor-root_alt > UUID=3Dbcc1027f-6078-449f-a26c-99706b5b59b4 > /dev/disk/by-uuid/4146dfad-26f0-4aec-99c3-8ab00c3e4297:/.victor-root_al= t:1 > luks,keyscript=3D/lib/cryptsetup/scripts/passdev| > > > It turns out that /etc/crypttab is indeed read and used by > /etc/init.d/cryptdisks during the start-up of the system. > I extracted from the system logs the errors related to this decrypting,= > with the following results > > |journalctl -x -p 0..3 | grep -e "dev-disk-by.* a =C3=83=C2=A9chou=C3=83= =C2=A9" -- Subject: > L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_1604:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9 -- L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_1604:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9, avec le r=C3=83=C2=A9sultat timeout. --= Subject: L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9 -- L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9, avec le r=C3=83=C2=A9sultat timeout. --= Subject: L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9 -- L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9, avec le r=C3=83=C2=A9sultat timeout. --= Subject: L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9 -- L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9, avec le r=C3=83=C2=A9sultat timeout. --= Subject: L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9 -- L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9, avec le r=C3=83=C2=A9sultat timeout. --= Subject: L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9 -- L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9, avec le r=C3=83=C2=A9sultat timeout. --= Subject: L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9 -- L'unit=C3=83=C2=A9 (unit) > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > a =C3=83=C2=A9chou=C3=83=C2=A9, avec le r=C3=83=C2=A9sultat timeout.| > > Sorry for the language, but translation goes that way : > - "a =C3=83=C2=A9chou=C3=83=C2=A9" --> "failed" > - "avec le r=C3=83=C2=A9sultat" --> "with the result" > > So, these lines say that the decrypting of victor-root_1604 failed once= > and succeded on the second try, whereas the decrypting of the other two= > logical volumes failed on the three tries. This situation does not aris= e > with Ubuntu 14.04. > > Have someone an idea on what is going wrong ? > > Thanks in advance for any help. > > > Le 21/07/2016 15:42, Michael Kj=C3=83=C2=B6rling a =C3=83=C2=A9crit : >> On 21 Jul 2016 14:53 +0200, from jacques.berger@gmx.fr (Jacques Berger= ): >>>
Hi
>> Please resend your e-mail in a more readable format. I suggest plain >> text. >> > > > > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt --FwEDWKq88psJDK5w2J5IoOcLtEG04OsRv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAleVMKgACgkQG6j+1Sdg4KtXRgD9EQI31V7kvf/NanINcGt8cSYH qtTg+TzfeUueo0/DJSgA/01XeV3fTdQT5e7mcgUtVwf0y1ABk34CNFtAgM5MTonc =kEtQ -----END PGP SIGNATURE----- --FwEDWKq88psJDK5w2J5IoOcLtEG04OsRv--