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

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 #30 received at 828@bugs.devuan.org (full text, mbox, reply):

Received: (at 828) by bugs.devuan.org; 5 Jan 2024 17:07:31 +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 17:07:31 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id bJurORg3mGXVZwAAmSBk0A
	(envelope-from <plorenzo@disroot.org>)
	for <bugs@devuan.org>; Fri, 05 Jan 2024 17:06:32 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id E37C857A; Fri,  5 Jan 2024 17:06:32 +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 F0A8219A;
	Fri,  5 Jan 2024 17:06:30 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by disroot.org (Postfix) with ESMTP id 3788941185;
	Fri,  5 Jan 2024 18:06:30 +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 KttFD-OpVAsl; Fri,  5 Jan 2024 18:06:29 +0100 (CET)
Date: Fri, 5 Jan 2024 18:06:20 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
	t=1704474389; bh=aIu6T6QVnK/Z6Z+6F1FlIEOxihh3ggjBFiHCmXZC1gA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=cQ1tbcHhf5iMtht43P4Nv8jq3qi6DX/lIf9VJk2puPNDZs79MXWGrXWdOzV139uH/
	 H9HJrZYlY6DEPNQLJpYi/ggxEb/DRh+R6xQyTMgycUIFD00Q0agzixfVjmrGUVlu5k
	 Neo8fam8PVZ/U5L1RHYkpWNsnJGiroIumEmGl3m5esswyuRiP1V5+PXIEdXty+VCkK
	 o9bW3b7qq/FASRS5uK2Dp3lWAFATHFW+1tFgGMl9kD2heV2aC7nN+R9V9z82hNbFSL
	 xvaYn7rJJevI5H7W1/Xr+7khyDR19g2KBYQ+0p/gsU8PFNqPbHk8D24xyzXn+UcnXt
	 j387UbhJStc1A==
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: <20240105180620.4f3cf6e3@lorenz.fritz.box>
In-Reply-To: <ZZgD-ttacvgXzPF6@thelancashireman.org>
References: <170445589554.7368.1937337553505429086.reportbug@fionn.haworth.lan>
	<20240105134401.58e63309@lorenz.fritz.box>
	<ZZgD-ttacvgXzPF6@thelancashireman.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Fri, 5 Jan 2024 14:28:26 +0100
David Haworth <dh@thelancashireman.org> wrote:

> Hi Lorenzo,
> 
> On 2024-01-05 13:44:25 +0100, Lorenzo wrote:
> > 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
> 
> Don't get me wrong - I don't have a split system like that.
> I was just wondering what a "correct" solution would look like.

I think the safest thing is to merge your system, by installing
the usrmerge package; it will move stuff for you and turn /bin
/sbin /lib into symlinks to their /usr/* conterparts.
(example /bin ---> /usr/bin)
This way you go to the layout that is officially supported
by Debian and all this trouble will disappear.

If for some reason, you don't want to do that, expect more
breakage in the incoming weeks. You can try to counter that
with symlinks or by extending the PATH var in scripts,
removing hardcoded paths and so but I'm not sure it will be
sustainable.
Note that while Debian decided to move binaries inside packages,
they decided to not break the amd64 ABI, so binaries can still
use /lib*/ld-linux-x86-64.so.2 as intepreter, and scripts will
keep using /bin/sh. I'm really not sure that will be possible
to create symlinks with 'ln' when /lib/ is empty.. prepare a
rescue system to repair the links, just in case.

Lorenzo

> 
> Best wishes,
> Dave


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:12:15 2024;