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

version graph

Package: eudev; Maintainer for eudev is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for eudev is src:eudev.

Reported by: "Nik Wrt" <nikwrt@gmx.de>

Date: Sat, 17 Nov 2018 09:48:01 UTC

Severity: normal

Found in version 3.2.2-13

Full log


Message #15 received at 261@bugs.devuan.org (full text, mbox, reply):

Received: (at 261) by bugs.devuan.org; 19 Nov 2018 12:30:06 +0000
Return-Path: <daniel@centurion.net.nz>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (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 <daniel@centurion.net.nz>
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
[Message part 1 (text/plain, inline)]
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)




-- 
Daniel Reurich
Centurion Computer Technology (2005) Ltd.
021 797 722

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Mar 29 10:28:26 2024;