From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v1.tansi.org (mail.tansi.org [84.19.178.47]) by mail.server123.net (Postfix) with ESMTP for ; Mon, 25 Jul 2016 08:01:26 +0200 (CEST) Received: from gatewagner.dyndns.org (77-56-144-126.dclient.hispeed.ch [77.56.144.126]) by v1.tansi.org (Postfix) with ESMTPA id A05BC14007B for ; Mon, 25 Jul 2016 08:01:21 +0200 (CEST) Date: Mon, 25 Jul 2016 08:01:22 +0200 From: Arno Wagner Message-ID: <20160725060122.GA20336@tansi.org> References: <20160721134252.GF27774@yeono.kjorling.se> <5792CED6.4070200@gmx.fr> <579530A4.4090609@gmx.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <579530A4.4090609@gmx.fr> Subject: Re: [dm-crypt] Issue with crypttab List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi Aribel, this is the right place to report a bug with cryptsetup, just not with crypttab. Crypttab is not part of cryptsetup, just something the different distributions build around cryptsetup on their own. >From your report, you are not reporting a bug with=20 cryptsetup, but one with crypptab and hence this is=20 the wrong place. Regards, Arno On Sun, Jul 24, 2016 at 23:18:28 CEST, Arbiel (gmx) wrote: > Hi >=20 > So, well. I understand this is not the right place to report bug on > cryptsetup, even if the manpage states that >=20 > REPORTING BUGS > Report bugs, including ones in the documentation, on the > cryptsetup > mailing list at >=20 > Arbiel >=20 >=20 > Le 23/07/2016 03:56, Arbiel (gmx) a =E9crit : > > I understand the issue may be related to my distribution, however let me > > 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. > > > > 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=A9chou=C3=A9" -- = Subject: > > L'unit=C3=A9 (unit) > > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_1604:1.device > > a =C3=A9chou=C3=A9 -- L'unit=C3=A9 (unit) > > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_1604:1.device > > a =C3=A9chou=C3=A9, avec le r=C3=A9sultat timeout. -- Subject: L'unit= =C3=A9 (unit) > > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > > a =C3=A9chou=C3=A9 -- L'unit=C3=A9 (unit) > > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > > a =C3=A9chou=C3=A9, avec le r=C3=A9sultat timeout. -- Subject: L'unit= =C3=A9 (unit) > > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > > a =C3=A9chou=C3=A9 -- L'unit=C3=A9 (unit) > > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > > a =C3=A9chou=C3=A9, avec le r=C3=A9sultat timeout. -- Subject: L'unit= =C3=A9 (unit) > > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > > a =C3=A9chou=C3=A9 -- L'unit=C3=A9 (unit) > > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > > a =C3=A9chou=C3=A9, avec le r=C3=A9sultat timeout. -- Subject: L'unit= =C3=A9 (unit) > > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > > a =C3=A9chou=C3=A9 -- L'unit=C3=A9 (unit) > > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > > a =C3=A9chou=C3=A9, avec le r=C3=A9sultat timeout. -- Subject: L'unit= =C3=A9 (unit) > > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > > a =C3=A9chou=C3=A9 -- L'unit=C3=A9 (unit) > > dev-disk-by\x2duuid-4146dfad\x2d26f0\x2d4aec\x2d99c3\x2d8ab00c3e4297:-.= victor\x2droot_alt:1.device > > a =C3=A9chou=C3=A9, avec le r=C3=A9sultat timeout. -- Subject: L'unit= =C3=A9 (unit) > > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > > a =C3=A9chou=C3=A9 -- L'unit=C3=A9 (unit) > > dev-disk-by\x2duuid-e4fa73a6\x2d92bc\x2d4d1e\x2d98b0\x2d7b6d92661ae4:-.= victor\x2dhome:1.device > > a =C3=A9chou=C3=A9, avec le r=C3=A9sultat timeout.| > > > > Sorry for the language, but translation goes that way : > > - "a =C3=A9chou=C3=A9" --> "failed" > > - "avec le r=C3=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 arise > > 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=B6rling a =C3=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 >=20 >=20 > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt --=20 Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of=20 "news" is "something that hardly ever happens." -- Bruce Schneier