Devuan bug report logs - #828
devuan-project: After an upgrade (apt update; apt full-upgrade) the PC fails to reboot correctly.

Package: devuan-project; Maintainer for devuan-project is Devuan Developers <devuan-dev@lists.dyne.org>;

Affects: kmod, sed, initramfs-tools-core, linux-headers-6.6.8-amd64, netcat-traditional, firmware-realtek

Reported by: David Haworth <dh@thelancashireman.org>

Date: Fri, 5 Jan 2024 12:00:01 UTC

Severity: grave

Merged with 812, 813, 821, 823, 826, 827

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#828: devuan-project: After an upgrade (apt update; apt full-upgrade) the PC fails to reboot correctly.
Reply-To: David Haworth <dh@thelancashireman.org>, 828@bugs.devuan.org
Resent-From: David Haworth <dh@thelancashireman.org>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Developers <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Fri, 05 Jan 2024 12:00:01 +0000
Resent-Message-ID: <handler.828.B.17044560012928@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 828
X-Devuan-PR-Package: devuan-project
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.17044560012928
          (code B); Fri, 05 Jan 2024 12:00:01 +0000
Received: (at submit) by bugs.devuan.org; 5 Jan 2024 12:00:01 +0000
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:14::58c6:6475]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 05 Jan 2024 12:00:01 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id hNZmKAzvl2XHVQAAmSBk0A
	(envelope-from <dh@thelancashireman.org>)
	for <bugs@devuan.org>; Fri, 05 Jan 2024 11:59:08 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 9CA3621D; Fri,  5 Jan 2024 11:59:08 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: **
X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,RCVD_IN_SBL_CSS,SPF_NONE,
	T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
Received-SPF: None (mailfrom) identity=mailfrom; client-ip=185.176.40.14; helo=mail2.runhosting.com; envelope-from=dh@thelancashireman.org; receiver=<UNKNOWN> 
Received: from mail2.runhosting.com (mail2.runhosting.com [185.176.40.14])
	by email.devuan.org (Postfix) with ESMTPS id 9A3E81D
	for <submit@bugs.devuan.org>; Fri,  5 Jan 2024 11:59:03 +0000 (UTC)
Received: from mail2.runhosting.com (out2.runhosting.com [185.176.40.21])
	by mail2.runhosting.com (Postfix) with ESMTP id F0ABB296B41C;
	Fri,  5 Jan 2024 11:59:01 +0000 (UTC)
Received: from fionn.haworth.lan (unknown [94.31.107.71])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by mail2.runhosting.com (Postfix) with ESMTPSA id C9D0C296B41B;
	Fri,  5 Jan 2024 11:58:58 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=thelancashireman.org;
	s=202307m1; t=1704455941;
	bh=+HyeTN30VkvnbPohjlxoChAkMQhLt+XezK3K2UUzUBg=;
	h=From:To:Subject:Date:From;
	b=gHn5tuwhBM9NqWMdiNp17yROJeyi5tjWEtPAj5AONaLG+4hc/6JSE2xjTOc8zLzLp
	 KGXlyADKDTbMSklIQquKkuusu+Aark395SgnsKO7TfCfVkrh35fGVg6wP7KhQ1STE+
	 G2E+RHf/kevtxSWsoxV7yTVM54l6GWs6wZVUVYjMaTH4YC0gNHuIu+R6YmyddC8QmE
	 I8/WC562Kj2TPlU9hBCKeriyUmo9BRDc89+67lC6q974QHxBDFYaCVTTwZ0emm9vKx
	 N7DK5bO6wiVdvbCRzC98JjO6x+WubPjcVeuKPPOKnlJxxNNhKnn4cAoZaaKU1TNdkY
	 2zmowtQPVDKFw==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: David Haworth <dh@thelancashireman.org>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Message-ID: <170445589554.7368.1937337553505429086.reportbug@fionn.haworth.lan>
X-Mailer: reportbug 12.0.0+devuan3
Date: Fri, 05 Jan 2024 12:58:15 +0100
X-Virus-Scanned: ClamAV using ClamSMTP (out2.defender.mail(185.176.40.21), client: 185.176.40.12)
Package: devuan-project
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Yesterday I updated my OS in order to install AusweisApp2.
On the first attempt I got some errors from the update command, but they
seemed to be related to source packages. The second attempt appeared to
succeed, and AusweisApp2 worked as expected.

Today, after shutdown/reboot, there were lots of error messages. The switch to
high-resolution text display failed, no display manager started and I was dumped
into an 80x25 text screen, from which I could log in.

From the error messages that flashed past, I was able to determine a few problems:

* One of the init scripts fails because it cannot find /sbin/modprobe.
  ** modprobe appears to be in /usr/sbin now.
  ** As a workaround, I created a symlink:  ln -s /usr/bin/kmod /sbin/modprobe
* Similar failures for depmod and modinfo, similar symlinks created.

* After the above more error messages from /etc/init.d/mountall.sh, /etc/init.d/mountdevsubfs.sh and others
  about not being able to find grep and sed. On examination, these files I noticed that the PATH is forced
  to /sbin:/bin at the top. grep and sed are in /usr/bin now.
  ** As a workaround, I edited the files and added :/usr/sbin:/usr/bin to the path.

* After the above I got error messages about eudev. On examination of /etc/init.d/uedev I noticed a similar
  problem with PATH, which I worked around in a similar way.

Now my PC boots to a display manager and I can log in as expected. I didn't notice any further error messages.

As you can see, the problems seem to be associated with several packages, so it's hard to pinpoint one package.

My guess is that the programs that I mentioned - modprobe, depmod, modinfo, grep, sed - and many others are
being installed in the wrong place. My reasoning is that, in a traditional Unix system, it should be possible
to place /usr in a separate filesystem that won't be available at the time these scripts are called.
However, on modern hardware, it's hardly ever necessary to have a separate filesystem for /usr, so it
could be simply a path problem in several init scripts of at least two packages (initscripts and eudev)

Best wishes,
Dave


-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur/ceres)
Release:	6
Codename:	excalibur ceres
Architecture: x86_64

Kernel: Linux 6.1.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

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: Sun Sep 8 01:23:55 2024;