Devuan bug report logs - #261
eudev: System with encrypted root fs and swap fails to shutdown cleanly

Package: eudev; Reported by: "Nik Wrt" <nikwrt@gmx.de>;
Date: Sat, 17 Nov 2018 09:48:01 UTC;
Maintainer for eudev is (unknown).

View this report as an mbox folder.


Information forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#261; Package eudev. Full text available.



Message sent to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:

Subject: bug#261: 
To: 261@bugs.devuan.org
From: Daniel Reurich <daniel@centurion.net.nz>
Date: Tue, 20 Nov 2018 01:22:52 +1300

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--LvledHhg9CpfmB20gp6ZE1u9IM2CeMNfI
Content-Type: multipart/mixed; boundary="lg6SbXnSaMecu2lGG1KK4JnPtYLUOc0Os";
 protected-headers="v1"
From: Daniel Reurich <daniel@centurion.net.nz>
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--





Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat, 23 Mar 2019 00:25:54 UTC