Devuan bug report logs - #145
ASCII: System fails to shutdown/reboot with encrypted filesystems

Package: cryptsetup-bin; Maintainer for cryptsetup-bin is (unknown); Source for cryptsetup-bin is src:cryptsetup.

Reported by: Alessandro Selli <alessandroselli@linux.com>

Date: Mon, 18 Sep 2017 22:33:01 UTC

Severity: normal

Tags: ascii

Done: KatolaZ <katolaz@freaknet.org>

Full log


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

Received: (at submit) by bugs.devuan.org; 18 Sep 2017 22:20:04 +0000
Return-Path: <alessandroselli@linux.com>
Delivered-To: devuanbugs@dyne.org
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Tue, 19 Sep 2017 00:20:04 +0200 (CEST)
Received: from eticomail.eticomail.net (eticomail.eticomail.net [195.182.210.100])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by tupac2.dyne.org (Postfix) with ESMTPS id E754D190A34
	for <submit@bugs.devuan.org>; Mon, 18 Sep 2017 22:10:31 +0000 (UTC)
Received: from ayu.localdomain (dynamic-adsl-78-13-201-140.clienti.tiscali.it [78.13.201.140])
	by eticomail.eticomail.net (Postfix) with ESMTPSA id 2079EE1426
	for <submit@bugs.devuan.org>; Tue, 19 Sep 2017 00:10:30 +0200 (CEST)
Date: Tue, 19 Sep 2017 00:10:21 +0200
From: Alessandro Selli <alessandroselli@linux.com>
To: submit@bugs.devuan.org
Subject: ASCII: System fails to shutdown/reboot with encrypted filesystems
Message-ID: <20170919001021.6a7a0ff7@ayu.localdomain>
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-PPP-Message-ID: <20170918221030.31732.35967@eticomail.eticomail.net>
X-PPP-Vhost: eticomail.net
X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS
	autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2
Package: cryptsetup-bin
Version: 2:1.7.3-4

When shutting down Devuan ASCII on two PC, a laptop and a mini-PC, system
hangs when it tries to stop the root filesystem's dm device. As both systems
do not poweroff or reboot, they have to be shutdown by hardware (power
button kept depressed).
The problem did not manifest itself when running Jessie.
The problem occures when running both the distro's kernel and when running a
custom, plain-vanilla 4.9|12|13 one.
Both systems have a dmcrypt partition for /, another one for /usr, another one
for swap and a fourth one for /home.

Full screen log
from one of the systems that was shutdown from a separate ssh session:

Devuan GNU/Linux ascii/ceres wkstn06 tty1

Hint: Caps Lock on

wkstn06 login: [ 6054.123294] usb 7-1: device not accepting address 15, error
-62 INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
[info] Using makefile-style concurrent boot in runlevel 6.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[FAIL] Stopping X display manager: slim failed!
[ ok ] Stopping SMP IRQ balancer: irqbalance.
[ ok ] Stopping deferred execution scheduler: atd.
[ ok ] Stopping mouse interface server: gdm.
[ ok ] Stopping NFS common utilities: idmapd statd.
[ ok ] Stopping internet superserver: xinetd.
[ ok ] Shutting down ALSA...done.
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 2 seconds...done.
[ ok ] Stopping enhanced syslogd: rsyslogd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:60:46:48:c4:2d
Sending on   LPF/wlan0/00:60:46:48:c4:2d
Sending on   Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.13 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2733: Failed to send 300 byte long packet over fallback interface.
done.
[info] Saving the system clock.
[info] Hardware Clock updated to Wed Sep 13 09:55:44 WEST 2017.
[ ok ] Unmounting local filesystems...done.
Stopping remaining crypto disks...sda2_crypt (busy)...sda2_crypt
busy......sda2_crypt (busy)...sda2_crypt busy......sda2_crypt
(busy)...sda2_crypt busy......sda2_crypt (busy)...sda2_crypt
busy......sda2_crypt (busy)...sda2_crypt busy......sda2_crypt (busy)...failed.


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 Apr 19 21:38:48 2024;