From unknown Tue Mar 19 11:16:25 2024 Received: (at submit) by bugs.devuan.org; 17 Nov 2018 09:40:05 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Sat, 17 Nov 2018 10:40:05 +0100 (CET) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 17BF3F60A2F for ; Sat, 17 Nov 2018 10:39:42 +0100 (CET) Received: from [217.80.172.28] ([217.80.172.28]) by web-mail.gmx.net (3c-app-gmx-bs32.server.lan [172.19.170.84]) (via HTTP); Sat, 17 Nov 2018 10:38:46 +0100 MIME-Version: 1.0 Message-ID: From: "Nik Wrt" To: submit@bugs.devuan.org Subject: eudev: System with encrypted root fs and swap fails to shutdown cleanly Content-Type: text/plain; charset=UTF-8 Date: Sat, 17 Nov 2018 10:38:46 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:obprpz8CT61NjoVzxR8Oo6ZcYbCKNcCJHQ2FrQAZwWx9J3MmiUS7o+7+qOqF8P9ME+dx6 0gABGr5C8rwTJ5dV2IQj6zjuC77JLsEVqmXZ0sZHfXqemcHJeB0NeTwBnMsEmFt3GwHa9XBgsvyI sirLnm9nNYA+Zgo84bHun2w/MQ6j9XzyJhe0rVuiKrF8X3uNhW3rFZDjefmu2u20dhBoP4fRbJSl e9qUopDtYnn9uAypyd11uE8ALCcEi+u0dvRdbWEIY2uPEcE4utFjUce8UV1rjha6S8pTe7QV9vGI xE= X-UI-Out-Filterresults: notjunk:1;V01:K0:11esL/PKuns=:TTO9Q1APpQNoFx9sVs5l+N xNiQ8gVyhAez8ZsmOPkEk03o1lwCM+3VLaaAgVQHpV91apj/UAIdB3v6HpZ9wuSeh8r0zktC0 kRwJ9kNlXRh5qbil+Geel5vM43xj4V5QWwV7qhkkFN+99h5j5VnU/9dluE4RJXvexs+K86G28 g6hB1XAdDoSLDCTRrppJHUovXr6L+JhznYfklPL+9SY0eP1qohrNFY26IYZSd0b2cVnd3u7rA qHC4h20kaFJWK8VCuZ5pVLqCNFZ8ZTieZFEIDqbwMQQLBX9kECoGZRX4dOc3YO+o9aqyeGNSb O8eAzJ8kIYkefhuxxboXNwi+MnjdT3qbvNnNDPOf0csQQ2p/3Sk8PcEJsygIEr8+8YVQuAba2 y0A5JCNY8jmCNgB39CRJ3XFroRtHkJh1EQuK4w2dBmJ/y7/+7iKpqff8og6X7NfmqloeQhCc5 m7d5G8G5fP450lWb26t9IENUesXhBhoSn4OYkJnSucDEEocPsL6RFKjiYfzYZRwlYx8LMUHIN czUyWg9xf1WTY/LqsTkId599eG1HkxPX030dDYtd+HzViMtRFZyGVkl7nMUOq3L5A== Package: eudev Version: 3.2.2-13 Severity: normal On a fresh Devuan ASCII install with encrypted root and swap (no LVM, no RAID), I am experiencing exactly the same symptom described in the first post of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792552 i.e. Stopping remaining crypto disks sda2_crypt (busy)... and the system hangs for a long time before powering off. This behavior on debian stretch was determined to be caused by a bug in the udev init scripts when using sysvinit, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791944 The relevant fix is in the commit https://salsa.debian.org/systemd-team/systemd/commit/e803efca59978aa5bb1d8806247f986d0c0f7e67 From unknown Tue Mar 19 11:16:25 2024 Received: (at 261) by bugs.devuan.org; 19 Nov 2018 02:50:07 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Mon, 19 Nov 2018 03:50:07 +0100 (CET) Received: from mbx.knossos.net.nz (mbx.knossos.net.nz [202.160.48.10]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id BA4B0F60C02 for <261@bugs.devuan.org>; Mon, 19 Nov 2018 03:44:27 +0100 (CET) Received: from [192.168.2.130] (office.centurion.net.nz [202.160.51.126]) (authenticated bits=0) by mbx.knossos.net.nz (8.14.4/8.14.4) with ESMTP id wAJ2hREb024894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for <261@bugs.devuan.org>; Mon, 19 Nov 2018 15:43:28 +1300 From: Daniel Reurich Subject: Re: [Devuan-bugs] bug#261: eudev: System with encrypted root fs and swap fails to shutdown cleanly To: 261@bugs.devuan.org References: Openpgp: id=102EFE3BBA4B2E45EBD56C7A27B9FAA4EBAA93A1 Message-ID: <79d7fdc6-c282-7ab7-ce50-a7a7b73ad6d4@centurion.net.nz> Date: Mon, 19 Nov 2018 15:43:26 +1300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yONcMTi8nrafXh1i4ju85E9JaldoQeucw" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --yONcMTi8nrafXh1i4ju85E9JaldoQeucw Content-Type: multipart/mixed; boundary="UN17Sel9EWjtdlAUKRaU6DPkCr4ShlUKy"; protected-headers="v1" From: Daniel Reurich To: 261@bugs.devuan.org Message-ID: <79d7fdc6-c282-7ab7-ce50-a7a7b73ad6d4@centurion.net.nz> Subject: Re: [Devuan-bugs] bug#261: eudev: System with encrypted root fs and swap fails to shutdown cleanly References: In-Reply-To: --UN17Sel9EWjtdlAUKRaU6DPkCr4ShlUKy Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 17/11/18 22:38, Where all about bugs in Devuan packages is reported wrote: > Package: eudev > Version: 3.2.2-13 > Severity: normal >=20 > On a fresh Devuan ASCII install with encrypted root and swap (no LVM, n= o RAID), I am experiencing exactly the same symptom described in the firs= t post of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D792552 i.e.= >=20 > Stopping remaining crypto disks > sda2_crypt (busy)... >=20 > and the system hangs for a long time before powering off. > =20 > This behavior on debian stretch was determined to be caused by a bug in= the udev init scripts when using sysvinit, see https://bugs.debian.org/c= gi-bin/bugreport.cgi?bug=3D791944 > =20 > The relevant fix is in the commit > =20 > https://salsa.debian.org/systemd-team/systemd/commit/e803efca59978aa5bb= 1d8806247f986d0c0f7e67 > =20 > _______________________________________________ > Devuan-bugs mailing list > Devuan-bugs@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-bugs >=20 I've developed a patch based on the one for systemd[-udev] that should resolve the issue. Can you please test and confirm if it does? Thanks, Daniel. --=20 Daniel Reurich Centurion Computer Technology (2005) Ltd. 021 797 722 --UN17Sel9EWjtdlAUKRaU6DPkCr4ShlUKy-- --yONcMTi8nrafXh1i4ju85E9JaldoQeucw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJMBAEBCAA2FiEEW7Mf40yO2uo447D40wYlDyh978oFAlvyI08YHGRhbmllbEBj ZW50dXJpb24ubmV0Lm56AAoJENMGJQ8ofe/KmYEQAKxjWFcDTiHkY5h1sorCpPr4 3fNwM/DKvDZ/J4gDqN1w/USBWsFA2lyFf/FnrWtRn1dmf5rQ2AA68nFQ66EzdgFj OhWANwjRZSZ8/JANbNn9KZYvZsayl9zCKyuakj7vlhgBzL78hXNg3qxyG7PteStl aFuHxlLN9Ajnn+dkZC2DCEThBUtjEG2zJpY2GH6KCDIpjXzz7x9GBD+POTzZY7GV PV+alCAGZYO3iXcPkkgw6/Y29L9bH6zUpCnmxUM9vZk3G8eMvogdBC9TQ2hco4BB eYcdMJqMCCxhvg9y9Ljf5YZDNngj2eKFQ3HVgUi/3MqAsHg/qe7gFWIiVV662R9F rvnPQOphYi8PTSs/+jUgA93rUJurJPAzXyOINBmNaDCzAnhk+nCJbV2/R19vCBBp yzlDZr65BKI/HYyZ/ZznaQ4Ru0/Wdn7vGEkeJx/xTfpzOPN7MPYd+bjBYxX81TcP 0a1Yv1y1pGXwp4fnDaP3xe6AAr3BF9mUG5gb3VOswhzdSZ2nZyxFpuR4NXxUYVjd n8MpK/fA48RhJQpAqbePsZmE5Z4OCMyWwStyUwk4ngwNp2EXhSdJ56Gb579vjyJ0 7wpoRBRfO0S4ft2vflO+rP4MZj0/ShRwSGhEdE2xcUIA5CwdF4x3ACdTSOTG5miL tOWr8+CHSvKczm17kCat =HztD -----END PGP SIGNATURE----- --yONcMTi8nrafXh1i4ju85E9JaldoQeucw-- From unknown Tue Mar 19 11:16:25 2024 Received: (at 261) by bugs.devuan.org; 19 Nov 2018 12:30:06 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Mon, 19 Nov 2018 13:30:05 +0100 (CET) Received: from mbx.knossos.net.nz (mbx.knossos.net.nz [202.160.48.10]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 1D84EF60C20 for <261@bugs.devuan.org>; Mon, 19 Nov 2018 13:23:57 +0100 (CET) Received: from [192.168.2.130] (office.centurion.net.nz [202.160.51.126]) (authenticated bits=0) by mbx.knossos.net.nz (8.14.4/8.14.4) with ESMTP id wAJCMr0n012443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for <261@bugs.devuan.org>; Tue, 20 Nov 2018 01:22:56 +1300 To: 261@bugs.devuan.org From: Daniel Reurich Subject: bug#261 Openpgp: id=102EFE3BBA4B2E45EBD56C7A27B9FAA4EBAA93A1 Message-ID: <63e09749-036b-f0b5-80b0-0d461fb9aef2@centurion.net.nz> Date: Tue, 20 Nov 2018 01:22:52 +1300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LvledHhg9CpfmB20gp6ZE1u9IM2CeMNfI" X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LvledHhg9CpfmB20gp6ZE1u9IM2CeMNfI Content-Type: multipart/mixed; boundary="lg6SbXnSaMecu2lGG1KK4JnPtYLUOc0Os"; protected-headers="v1" From: Daniel Reurich To: 261@bugs.devuan.org Message-ID: <63e09749-036b-f0b5-80b0-0d461fb9aef2@centurion.net.nz> Subject: bug#261 --lg6SbXnSaMecu2lGG1KK4JnPtYLUOc0Os Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable The fundamental bug in eudev is fixed in ascii-proposed but cryptsetup does nothing to detect conditions where a root filesystem is dependent on a crypt volume (directly or indirectly). In this case it should not try to stop the encrypted filesystem at all due to a chicken<->egg scenario (root is needed to stop its encrypted volume but also needs to be unmounted in order to for cryptmount to stop the encrypted volume. The most reliable fix is to not run the stop functions in the initscript at all on shutdown (I tested on a vm with an encrypted lvm setup containing root - default devuan encrypted setup) --=20 Daniel Reurich Centurion Computer Technology (2005) Ltd. 021 797 722 --lg6SbXnSaMecu2lGG1KK4JnPtYLUOc0Os-- --LvledHhg9CpfmB20gp6ZE1u9IM2CeMNfI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJMBAEBCAA2FiEEW7Mf40yO2uo447D40wYlDyh978oFAlvyqxwYHGRhbmllbEBj ZW50dXJpb24ubmV0Lm56AAoJENMGJQ8ofe/KxcsP/RuLjUALQZ9eE9u+LDZlMGNV aMrCea9ggykSb7GbLQ/rd4rgoWHbEtgaEGIYod1esOu6qWiVxKXPYvBrXLYXDNXS 4ST+DqbVi8KsZCDtpR0ngkr4hwujN4e/mkfadPtkkwqhB4hx1FmcWiTO73m0MoBl euzJqw1rRHTy4c0tNQoCorKKss4iiswgrJDih/Hse+jyJ2YQFO8q6h3uhB/HjbcP KKRI89tzWcbKIwWnb/6vLw+a8RdwxbCmiZjyI4OMutMoksS6gw/QtoOoRhxW/Y5j YsYwKgoecOrxf2ckEWIxIWs82K+MVIgNrjbqftJZsMp9PwjKmKpelgQZg+ttzOSV hOSbzwe+qRZ3/H7BQDbElz49yV5TwHnyIkJe48w3HFjnIy8yPSGdnPRb+I05pNYs dDyQPJHLfHMuNy2BkpCjA1wfer00lRZ1q4FIukYbqO4RKwZp2nq0Cazxyk/n2C0x T+XidaTdlkAl5kfP7VDGJ5gJ4hei1lRo8uyIbaZQ1dAsxYqMbTcRV/ioaba0JJlY JrdMMZ/cWlLmPBzg01guaueKec4iKUPFjSaEikFkEUBVxKuwMnEugQpiOGeJH762 r0J1U/k89Dn4dXuazCCHusC/io998SLvI6Nhx94RjqSM/mvZmlLehxmK4zScAVF8 9W3ZKfdv993Px6wL+Dsp =/wA8 -----END PGP SIGNATURE----- --LvledHhg9CpfmB20gp6ZE1u9IM2CeMNfI-- From unknown Tue Mar 19 11:16:25 2024 Received: (at 261) by bugs.devuan.org; 30 Mar 2019 22:40:08 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Sat, 30 Mar 2019 23:40:08 +0100 (CET) Received: from mail.onlinenw.com (mail.onlinenw.com [206.212.237.200]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 69A50F608E6 for <261@bugs.devuan.org>; Sat, 30 Mar 2019 23:32:47 +0100 (CET) Received: (qmail 12351 invoked from network); 30 Mar 2019 22:32:45 -0000 Received: from 206-212-236-243.static.onlinenw.com (HELO viridi.local) (tgrom.automail@nuegia.net@206.212.236.243) by mail1.onlinenw.com with (AES256-GCM-SHA384 encrypted) SMTP (bd1ea9c4-533b-11e9-8202-00188bf9ee8f); Sat, 30 Mar 2019 15:32:45 -0700 Date: Sat, 30 Mar 2019 15:32:44 -0700 From: Tom To: 261@bugs.devuan.org Subject: Also effects OpenRC Message-ID: <20190330153244.282c251d@viridi.local> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MagicMail-OS: Linux 3.11 and newer X-MagicMail-UUID: bd1ea9c4-533b-11e9-8202-00188bf9ee8f X-MagicMail-Authenticated: tgrom.automail@nuegia.net X-MagicMail-SourceIP: 206.212.236.243 X-MagicMail-RegexMatch: 3 X-MagicMail-EnvelopeFrom: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Hello, I just wanted to report this issue also effects Devuan ASCII when using OpenRC INIT instead of sysV INIT. From unknown Tue Mar 19 11:16:25 2024 Received: (at 261) by bugs.devuan.org; 27 Jan 2020 13:21:51 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (single-drop); Mon, 27 Jan 2020 13:21:51 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id C009AF60BA3 for <261@bugs.devuan.org>; Mon, 27 Jan 2020 14:13:58 +0100 (CET) Authentication-Results: vm6.ganeti.dyne.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WyLaKmKP"; dkim-atps=neutral Received: by mail-lj1-f177.google.com with SMTP id h23so10603009ljc.8 for <261@bugs.devuan.org>; Mon, 27 Jan 2020 05:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:reply-to:to:date:organization:user-agent :mime-version:content-transfer-encoding; bh=RgT0hYPL9BZJTdguPPOMsMkTKbNaAvkt31BogFhtmRQ=; b=WyLaKmKPjRQU+SOoWbSnUwujPdIkDhbH0wNZZzq8+QjHRofkwPd+l6rSCe15xvUoII Foi7cVc3AjNZDyR3fHKaCDue4Q6kflnCK4EUV/1K6LNUfXfzadd/mWFP5nGokaVClK+S pJK0MdUZSN/NLAIPxH1isyvv6McO14sUyJCv25SsvKUAz0cDxUSJyjw0n04oQ8M9Oswa zzRaWaHrdJuSFoMbiOah5nuirerzVfTnQRYEmxVbUIoulAJkv+OlMlaub/9xNYeu0b8+ qrMCMT2oQ1OUW+SGb26icV/0BMup5Dis2UjsFSr6jFrqKpQInZj2QGdULfuRzG7QSkhW hsBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:date :organization:user-agent:mime-version:content-transfer-encoding; bh=RgT0hYPL9BZJTdguPPOMsMkTKbNaAvkt31BogFhtmRQ=; b=NMSHvXoqH353IGROsI3z8Z6BfCyMClWSALhax4YykqxcuSKkhEu4X/tNwhmNmZOzaQ yopZu1sDLhj1EAxI19CX6g1J/VzdPcwPUy4daz0n2ZYg9xedbhmEnNm7fV+VXsvlpdaX JPjwPz0Ookc/7qbrdWevxaF3buGBLGJSZf913LV6Rd72haFrBlR6QMfXl0xjnPssQqit Lya21yRiz8SLDtbbA6a8Sib4ScBZAB7b4sV1oTvTlQBdwldVk6mAM83jaM+C9bpW4q65 DGUBvaP+jpE3eVtBIEAdaYunEmcHAc8P6YDQfEhjAr+uzNkae2aMUhq7nXBIauAw+c27 wsPw== X-Gm-Message-State: APjAAAWS9rVx2/mgBLWoZfgqOZCKw6Oa05+1cD89XVwzGwtu3x6kDP4x lIbNFeU1h9TKc9ASK7oof/Q2oNC5 X-Google-Smtp-Source: APXvYqwpNkH44vd+uVcl16ft0o2asfwPymyIOuCbrBXmGylCS6Ka0rfLFlnvduubJRMqPVCam79DWg== X-Received: by 2002:a05:651c:232:: with SMTP id z18mr10576742ljn.85.1580130837932; Mon, 27 Jan 2020 05:13:57 -0800 (PST) Received: from G3620.lan (178-78-231-178.customers.ownit.se. [178.78.231.178]) by smtp.gmail.com with ESMTPSA id l8sm8058941ljh.65.2020.01.27.05.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 05:13:57 -0800 (PST) Message-ID: <58d853c26983d18f4872b9aa5920ddf686e64adf.camel@gmail.com> Subject: [Devuan-bugs] bug#261 eudev: System with encrypted root fs and swap fails to shutdown cleanly From: Svante Signell Reply-To: svante.signell@gmail.com To: 261@bugs.devuan.org Date: Mon, 27 Jan 2020 14:15:10 +0100 Organization: Home Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: eudev Version: 3.2.2-13 tags 261 moreinfo Please check if the problems remains with eudev-3.2.9-4. And do also check the Debian bugs, fixes and information for udev and cryptsetup e.g.: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791944 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720340 From unknown Tue Mar 19 11:16:25 2024 Received: (at 261) by bugs.devuan.org; 30 Jan 2020 10:47:23 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (single-drop); Thu, 30 Jan 2020 10:47:23 +0000 (UTC) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 21228F6092C for <261@bugs.devuan.org>; Thu, 30 Jan 2020 11:45:27 +0100 (CET) Authentication-Results: vm6.ganeti.dyne.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cnJ6QVxm"; dkim-atps=neutral Received: by mail-lj1-f175.google.com with SMTP id n18so2767908ljo.7 for <261@bugs.devuan.org>; Thu, 30 Jan 2020 02:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:reply-to:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=XFwWeO+wWu0uUv3HGu5pvb2pwWHaf2aNdUreCHBCpl0=; b=cnJ6QVxmoQxjmiCbVNZsEbR+T6u1c/DeAIHtHrEq2oIZ8FYQoEES+I7io7x+AEB3kd A9ASdwKXNxDi/v/CdSa7FKGCpngWlG7wWnMVzBbegmNbpNghygm8uLV5OPH91jT4dmZr NhK3yny+ig3mBhIkjw+ixO4R14lxeqR9sC0cpzFrMVhucy8CdrX+qY8XpEJQyhycshBc XDZaANk0OxeaZk6BWX6LPYiLMEg06nHlnPdg/dZSalMsp1RZX4sKDKgdJpjItH2nF6CI QUtzRqpOY4k1yua8VbVcJOXJMLVGNkHeFeZ228EKZMDo0f/z7Oy3AI3WnkzT4k8753KW Ffxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :in-reply-to:references:user-agent:mime-version :content-transfer-encoding; bh=XFwWeO+wWu0uUv3HGu5pvb2pwWHaf2aNdUreCHBCpl0=; b=TPj3fICDiFWDwpOjN4FXX9sksEpvLiUgPA2Xh2c+wZgc/KcxZAc1V80fxgK4alQq1f /tHmUqp5u8Wrr5BvC6IubDQ7TKbyt20KgZzmhFxydN9nYLqEdCljzANB38PD9+UnQBpU DuMn0zjgNjvhTGALC7mZXPvhW2V/EiPRQPU+WooxSh7/8gsdtVtMu3wWqqovLmEtLtb4 +OqCisyDf0xcJfwOXonijS11AlR81sJm8tKX1fEAjISYMQ31Bkw/xPAiSQW4qZVEPJQj wLY1OKZ4Wj/gYvLJn9AyRZODc8FulbF7jFwHNRdWTIem5m/pqMGa5oAGLa8H+qvQF9gA 4tSw== X-Gm-Message-State: APjAAAW7G0hSyShp+9DOV7nebzx81KtJcHj8K3+axREUFotZlzEKhJ4l GttUYo+dP2Orxz/z2+fLEFI= X-Google-Smtp-Source: APXvYqzp/vrJhBP3//ra6z0gbqKu2CKACaKZ/7TrsG+A6GOUgFgTQF4yyFk20IUYItDVdyCppk8nSg== X-Received: by 2002:a2e:a408:: with SMTP id p8mr2504189ljn.145.1580381125786; Thu, 30 Jan 2020 02:45:25 -0800 (PST) Received: from z97-4790k.lan (2-248-159-26-no549.tbcn.telia.com. [2.248.159.26]) by smtp.gmail.com with ESMTPSA id q14sm2570210lfc.60.2020.01.30.02.45.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jan 2020 02:45:25 -0800 (PST) Message-ID: <105c43c55d537b327c442c677c5d14c4d0966fd4.camel@gmail.com> Subject: Re: [Fwd: [Devuan-bugs] bug#261 eudev: System with encrypted root fs and swap fails to shutdown cleanly] From: Svante Signell Reply-To: svante.signell@gmail.com To: Tom , 261@bugs.devuan.org Cc: Nik Wrt Date: Thu, 30 Jan 2020 11:48:33 +0100 In-Reply-To: <20200129151541.646c2218@viridi> References: <58d853c26983d18f4872b9aa5920ddf686e64adf.camel@gmail.com> <24f7f1866346048d47b977e48dd115a584fd6ef2.camel@gmail.com> <20200129151541.646c2218@viridi> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org On Wed, 2020-01-29 at 15:15 -0800, Tom wrote: > On Tue, 28 Jan 2020 13:06:14 +0100 > Svante Signell wrote: > > > Package: eudev > > Version: 3.2.2-13 > > tags 261 moreinfo > > > > Please check if the problems remains with eudev-3.2.9-4. And do > > also check the Debian bugs, fixes and information for udev and > > cryptsetup e.g.: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791944 > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720340 > I don't see that a backport exists for ASCII for eudev version 3.2.9- > 4. Only 3.2.2-13. Are you asking me to create a backport by hand or > did you already have something to test in mind? Since 3.2.9-4 is only available in ceres/unstable yet I propose that you download eudev=3.2.9-4 libeudev1=3.2.9-4 from unstable and install them by dpkg -i ..., do shutdown/reboot tests, and report back. Please do also read the above Debian bugs on cryptsetup problems and fixes. I don't have any box with an encrypted partition so I cannot test. Thanks! From unknown Tue Mar 19 11:16:25 2024 Received: (at 261) by bugs.devuan.org; 31 Jan 2020 00:18:39 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (single-drop); Fri, 31 Jan 2020 00:18:39 +0000 (UTC) Received: from mail2.onlinenw.com (mail.onlinenw.com [206.212.237.202]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 2EC5BF608E7 for <261@bugs.devuan.org>; Fri, 31 Jan 2020 01:09:42 +0100 (CET) Received: (qmail 99537 invoked from network); 31 Jan 2020 00:09:41 -0000 Received: from 206-212-236-115.static.onlinenw.com (HELO lappy) (tgrom.automail@nuegia.net@206.212.236.115) by mail2.onlinenw.com with (SSL TLSv1.2 AES256-GCM-SHA384 encrypted) SMTPS (f9f3d9fa-43bd-11ea-a009-06a7dff4dd8e); Thu, 30 Jan 2020 16:09:41 -0800 Date: Thu, 30 Jan 2020 16:09:40 -0800 From: Tom To: Svante Signell Cc: 261@bugs.devuan.org, Nik Wrt Subject: Re: [Fwd: [Devuan-bugs] bug#261 eudev: System with encrypted root fs and swap fails to shutdown cleanly] Message-ID: <20200130160940.5051fb18@lappy> In-Reply-To: <105c43c55d537b327c442c677c5d14c4d0966fd4.camel@gmail.com> References: <58d853c26983d18f4872b9aa5920ddf686e64adf.camel@gmail.com> <24f7f1866346048d47b977e48dd115a584fd6ef2.camel@gmail.com> <20200129151541.646c2218@viridi> <105c43c55d537b327c442c677c5d14c4d0966fd4.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MagicMail-OS: Linux 3.11 and newer X-MagicMail-UUID: f9f3d9fa-43bd-11ea-a009-06a7dff4dd8e X-MagicMail-Authenticated: tgrom.automail@nuegia.net X-MagicMail-SourceIP: 206.212.236.115 X-MagicMail-RegexMatch: 3 X-MagicMail-EnvelopeFrom: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org On Thu, 30 Jan 2020 11:48:33 +0100 Svante Signell wrote: > On Wed, 2020-01-29 at 15:15 -0800, Tom wrote: > > On Tue, 28 Jan 2020 13:06:14 +0100 > > Svante Signell wrote: > > > > > Package: eudev > > > Version: 3.2.2-13 > > > tags 261 moreinfo > > > > > > Please check if the problems remains with eudev-3.2.9-4. And do > > > also check the Debian bugs, fixes and information for udev and > > > cryptsetup e.g.: > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791944 > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720340 > > > I don't see that a backport exists for ASCII for eudev version > > 3.2.9- 4. Only 3.2.2-13. Are you asking me to create a backport by > > hand or did you already have something to test in mind? > > Since 3.2.9-4 is only available in ceres/unstable yet I propose that > you download eudev=3.2.9-4 libeudev1=3.2.9-4 from unstable and install > them by dpkg -i ..., do shutdown/reboot tests, and report back. > > Please do also read the above Debian bugs on cryptsetup problems and > fixes. I don't have any box with an encrypted partition so I cannot > test. > > Thanks! > Sure. just please give me some time to put aside for building the bpo and testing it. I'm not sure exactly how much of Debian's disk crpyto problems will effect me because I'm not using systemd, but OpenRC init. Will report on it. It sounds to me most of the LUKS mounting issues come from the way systemd manages mounts not the luks mapper software itself. From unknown Tue Mar 19 11:16:25 2024 Received: (at 261) by bugs.devuan.org; 31 Jan 2020 02:18:48 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (single-drop); Fri, 31 Jan 2020 02:18:48 +0000 (UTC) Received: from mail2.onlinenw.com (mail.onlinenw.com [206.212.237.202]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 8CA61F604DE for <261@bugs.devuan.org>; Fri, 31 Jan 2020 03:12:11 +0100 (CET) Received: (qmail 33387 invoked from network); 31 Jan 2020 02:12:10 -0000 Received: from 206-212-236-243.static.onlinenw.com (HELO lappy) (tgrom.automail@nuegia.net@206.212.236.243) by mail2.onlinenw.com with (SSL TLSv1.2 AES256-GCM-SHA384 encrypted) SMTPS (1642e73e-43cf-11ea-99c4-06a7dff4dd8e); Thu, 30 Jan 2020 18:12:10 -0800 Date: Thu, 30 Jan 2020 18:12:08 -0800 From: Tom To: Svante Signell Cc: 261@bugs.devuan.org, Nik Wrt Subject: Re: [Fwd: [Devuan-bugs] bug#261 eudev: System with encrypted root fs and swap fails to shutdown cleanly] Message-ID: <20200130181208.4f0cd2a9@lappy> In-Reply-To: <105c43c55d537b327c442c677c5d14c4d0966fd4.camel@gmail.com> References: <58d853c26983d18f4872b9aa5920ddf686e64adf.camel@gmail.com> <24f7f1866346048d47b977e48dd115a584fd6ef2.camel@gmail.com> <20200129151541.646c2218@viridi> <105c43c55d537b327c442c677c5d14c4d0966fd4.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MagicMail-OS: Linux 3.11 and newer X-MagicMail-UUID: 1642e73e-43cf-11ea-99c4-06a7dff4dd8e X-MagicMail-Authenticated: tgrom.automail@nuegia.net X-MagicMail-SourceIP: 206.212.236.243 X-MagicMail-RegexMatch: 3 X-MagicMail-EnvelopeFrom: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org On Thu, 30 Jan 2020 11:48:33 +0100 Svante Signell wrote: > On Wed, 2020-01-29 at 15:15 -0800, Tom wrote: > > On Tue, 28 Jan 2020 13:06:14 +0100 > > Svante Signell wrote: > > > > > Package: eudev > > > Version: 3.2.2-13 > > > tags 261 moreinfo > > > > > > Please check if the problems remains with eudev-3.2.9-4. And do > > > also check the Debian bugs, fixes and information for udev and > > > cryptsetup e.g.: > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791944 > > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720340 > > > I don't see that a backport exists for ASCII for eudev version > > 3.2.9- 4. Only 3.2.2-13. Are you asking me to create a backport by > > hand or did you already have something to test in mind? > > Since 3.2.9-4 is only available in ceres/unstable yet I propose that > you download eudev=3.2.9-4 libeudev1=3.2.9-4 from unstable and install > them by dpkg -i ..., do shutdown/reboot tests, and report back. > > Please do also read the above Debian bugs on cryptsetup problems and > fixes. I don't have any box with an encrypted partition so I cannot > test. > > Thanks! > Ok, so I built and installed eudev from Ceres on ASCII, version 3.2.9-4 of eudev and libeudev1. I rebooted 3 times for good measure. This did NOT solve the failing to unmount cryptdisks issue. From unknown Tue Mar 19 11:16:25 2024 Received: (at 261) by bugs.devuan.org; 31 Jan 2020 11:09:30 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (single-drop); Fri, 31 Jan 2020 11:09:30 +0000 (UTC) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 22A5AF60968 for <261@bugs.devuan.org>; Fri, 31 Jan 2020 12:08:04 +0100 (CET) Authentication-Results: vm6.ganeti.dyne.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="dRjgX/vn"; dkim-atps=neutral Received: by mail-lf1-f52.google.com with SMTP id z18so4597560lfe.2 for <261@bugs.devuan.org>; Fri, 31 Jan 2020 03:08:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:reply-to:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=mF7ku0qBiULkaN1qaorRNC9TDteoqTqdvGfWGs5Fjx4=; b=dRjgX/vn0sLwtQVdxCBwTc4ULHaU0p/hiD1IACrx/J23gQUkdJSB5qwip74zUUoDkr YGXG0u6pOU7P7QT3G0EoowyZiOfRw+1fchR4f9rt8/EqcFzP+xflly17jUFcOF8J9pI2 iOXyCWvnwWOCN8M4vA98xHbAk8OeA05Fklpef9HdH3J+d4JmNF3zhg/pPbgjHgTZI4Mf o5rLXbMtSEu/vlCW+FqCUwwgJHd/h5dhbI4AMIw81xMBDrXFihXdHY2FgkY60Vb5VkTH 7vfuEwfAJUPadwCasJ7m/yiZy/TjAqyloz2aTuUV4W9x6Nz2q3Vh0cWYx4Cw9W1A0HcK qKhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :in-reply-to:references:user-agent:mime-version :content-transfer-encoding; bh=mF7ku0qBiULkaN1qaorRNC9TDteoqTqdvGfWGs5Fjx4=; b=oG7hEs1oTrWpHF+z6/NPo02ZxJkyDdVyDdSJG1Ln5klY5PXn/u71NC++CPA3LZzoCx rV3P9wa5JI0WhFbWWWFFtxSedgHIKUSzGJ3AdUAWo+vY5JWsvnb43ODcEr/RHoR3XDWc nQYFS8zzTPjc5v0CJBWunvTiNrKvUcrWvw/EVrF+IZvsywulIy6CJwTHy+/hLNwc3YXN 5jzWYNWomEr/7DZn7YRwJ2YOYyQaFvS8VLsG1RD62mIyFcctGSv5p6QOfuSf4zb/k1qg DcHZdb4zR4aE7jeDwJxuB+gizAIKGAoVCmPJDd2roEXNljhUbN3s2HcLvdBc5k/q5VBe M4rw== X-Gm-Message-State: APjAAAVNiaysKc+MDzOhRcHumiu9cIvfNwXMQlXptwHVfPMbDXkImhTH 44ghaD5YO2/4tPY2KJ+KBxM= X-Google-Smtp-Source: APXvYqx5P2RR8iAlIkU6IqtyP4oqqirwGPqXWbbQqEE4pO3i5iBFYcBBsM6C9nrsvNksoqy5OFXY7g== X-Received: by 2002:ac2:4a91:: with SMTP id l17mr5214550lfp.75.1580468883702; Fri, 31 Jan 2020 03:08:03 -0800 (PST) Received: from z97-4790k.lan (2-248-159-26-no549.tbcn.telia.com. [2.248.159.26]) by smtp.gmail.com with ESMTPSA id w29sm5547416ljd.99.2020.01.31.03.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jan 2020 03:08:03 -0800 (PST) Message-ID: Subject: Re: [Fwd: [Devuan-bugs] bug#261 eudev: System with encrypted root fs and swap fails to shutdown cleanly] From: Svante Signell Reply-To: svante.signell@gmail.com To: Tom Cc: 261@bugs.devuan.org, Nik Wrt Date: Fri, 31 Jan 2020 12:08:02 +0100 In-Reply-To: <20200130181208.4f0cd2a9@lappy> References: <58d853c26983d18f4872b9aa5920ddf686e64adf.camel@gmail.com> <24f7f1866346048d47b977e48dd115a584fd6ef2.camel@gmail.com> <20200129151541.646c2218@viridi> <105c43c55d537b327c442c677c5d14c4d0966fd4.camel@gmail.com> <20200130181208.4f0cd2a9@lappy> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org On Thu, 2020-01-30 at 18:12 -0800, Tom wrote: > > Ok, so I built and installed eudev from Ceres on ASCII, version > 3.2.9-4 > of eudev and libeudev1. I rebooted 3 times for good measure. This did > NOT solve the failing to unmount cryptdisks issue. Thank you for trying. Next steps would be to check if any version of eudev/udev solves this issue. I suspect that this bug is only related to cryptsetup. Did you have any version of udev/eudev working properly? If you can please do the following: 1) Downgrade to 3.2.7-6 from Beowulf and check if it works. 2) If not, try udev from Debian/Stretch (corresponds to Devuan/ASCII). Either 232-25+deb9u12 from stretch or 241-5~bpo9+1 from stretch backports. You can find source/binaries from snapshot.debian.org. 3) Optionally try some newer Debian version, e.g. 241-7~deb10u2 from buster or 244-3~bpo10+1 from buster-backports. If neither of the above works, which I suspect, the problem is not due to udev/eudev. It is due to the cryptsetup package(s), and should be reassigned to it. Then you can try out the workarounds mentioned in #237 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791944 You also have this bug that was tagged as wontfix. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720340 Thanks!