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: netcat-traditional, linux-headers-6.6.8-amd64, kmod, sed, initramfs-tools-core, 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


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

Received: (at 828) by bugs.devuan.org; 5 Jan 2024 12:45:05 +0000
Return-Path: <plorenzo@disroot.org>
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:45:05 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id Ial4J7P5l2VWWAAAmSBk0A
	(envelope-from <plorenzo@disroot.org>)
	for <bugs@devuan.org>; Fri, 05 Jan 2024 12:44:35 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 911F357A; Fri,  5 Jan 2024 12:44:35 +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=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=178.21.23.139; helo=layka.disroot.org; envelope-from=plorenzo@disroot.org; receiver=<UNKNOWN> 
Received: from layka.disroot.org (layka.disroot.org [178.21.23.139])
	by email.devuan.org (Postfix) with ESMTPS id 4D56E19A;
	Fri,  5 Jan 2024 12:44:34 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by disroot.org (Postfix) with ESMTP id DC04C40DE7;
	Fri,  5 Jan 2024 13:44:33 +0100 (CET)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from layka.disroot.org ([127.0.0.1])
	by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id oIz_OgIn_Y7C; Fri,  5 Jan 2024 13:44:32 +0100 (CET)
Date: Fri, 5 Jan 2024 13:44:25 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
	t=1704458672; bh=lN/YY700zoYS4N2Cu8rdLytJuFZxBJbW5TfqRTqbqiU=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=VtTpBcxPKF03L+Ii9qcybVj5wcaNjA3sZa6oNxe6y2t945h2/mMIJscHm1Lgsbq0y
	 0/DZ7nLXHFWl36kBb86+GqrtYnnoUy3KjYJmP7dMKiLG7Z9OwWlULVfo/yHpifCG72
	 3y0GkZuJJY2VJAlFt0AZLjvSjNeJkr2gwkFPvODqDsIBcCY+uXrcpCnK0MkUVYPCQo
	 unChv/6FAB45Mby28tmiNteUnDckYRcxyR+0i8um5xSCEB6G4mEs8reBDqrXknPtnH
	 axasxGSJCFUfnpalKor/eF5E5x1ZcA6CCuVzs8zGSIZYx6L3t0oFts2vhzLRR67KqL
	 nYOBMR4C0kt0A==
From: Lorenzo <plorenzo@disroot.org>
To: David Haworth <dh@thelancashireman.org>
Cc: 828@bugs.devuan.org, devuan developers internal list
 <devuan-dev@lists.dyne.org>, Devuan Bug Tracking System
 <submit@bugs.devuan.org>
Subject: Re: [devuan-dev] bug#828: devuan-project: After an upgrade (apt
 update; apt full-upgrade) the PC fails to reboot correctly.
Message-ID: <20240105134401.58e63309@lorenz.fritz.box>
In-Reply-To: <170445589554.7368.1937337553505429086.reportbug@fionn.haworth.lan>
References: <170445589554.7368.1937337553505429086.reportbug@fionn.haworth.lan>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Fri, 05 Jan 2024 12:58:15 +0100
David Haworth <dh@thelancashireman.org> wrote:

> 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)

I agree but split /usr without initrd is not supported (upstream) since
like a decade, it more or less worked until now but Debian is finally
breaking it for good with the usrmerge fallout. See my reply in #827
https://bugs.devuan.org/cgi/bugreport.cgi?bug=827

> 
> 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
> _______________________________________________
> devuan-dev internal mailing list
> devuan-dev@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev


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:20:29 2024;