Devuan bug report logs - #457
Beowulf upgrade drops "sbin" directories from root $PATH

Package: util-linux; Maintainer for util-linux is Devuan Developers <devuan-dev@lists.dyne.org>; Source for util-linux is src:util-linux.

Reported by: eidolon.alpha@protonmail.com

Date: Sun, 10 May 2020 17:18:01 UTC

Severity: normal

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

Full log


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

Received: (at submit) by bugs.devuan.org; 10 May 2020 17:10:02 +0000
Return-Path: <eidolon.alpha@protonmail.com>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 10 May 2020 17:10:02 +0000 (UTC)
Received: from mail-40137.protonmail.ch (mail-40137.protonmail.ch [185.70.40.137])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 03E47F609A5
	for <submit@bugs.devuan.org>; Sun, 10 May 2020 19:03:00 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; secure) header.d=protonmail.com header.i=@protonmail.com header.b="axc9LujJ";
	dkim-atps=neutral
Date: Sun, 10 May 2020 17:02:56 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
	s=protonmail; t=1589130179;
	bh=+ewQSzSnusjFiGOk+8DNauYqQ0uO4RHLg2qkjtXhWLw=;
	h=Date:To:From:Reply-To:Subject:From;
	b=axc9LujJrhxUbd1yinWYjkdyW+kOcuS6QPs8fDFpUt18yd6aeus9gn1rWepGCUdhj
	 I3t99kod0H4MSt/b+nyVnVJMHrsMbMdxV7+KHXe5281PbcCs7zu3xB/Ahb2zGHriO0
	 ajJrTxA2YKDO0BoHF4MmP0U2KhNpxU2H8GxH8+VU=
To: "submit@bugs.devuan.org" <submit@bugs.devuan.org>
From: eidolon.alpha@protonmail.com
Reply-To: eidolon.alpha@protonmail.com
Subject: Beowulf upgrade drops "sbin" directories from root $PATH
Message-ID: <Jz0qCpCkuu3PaeSbmdSA_BQE3Unjhnuu--1Q9zeWqgaj7n-DDpXpHgUTh15YcaRc7OYsmboPtL_FR-P1PKkloxlP2v7mCZfBhVdNA01rhSc=@protonmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="b1_8a25aeca36215aed959ee5661afaa699"
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,
	RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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)]
Package: unclear
Version: unclear (Beowulf-related)

Description of Problem
After upgrade from ASCII to Beowulf, /sbin, /usr/sbin, and /usr/local/sbin are dropped from the root $PATH variable.

Explanation

I performed an install of Devuan ASCII and immediately upgraded to beowulf:
sed -i 's/ascii/beowulf/g' /etc/apt/sources.list && \
apt-get update && \
apt-get dist-upgrade && \
apt-get autoremove && \
reboot

Upon reboot, I noticed that the "service" command could not be found. Nor could ifconfig. I could, however, run the command with the full path (ie, /sbin/ifconfig).

Workaround

echoing $PATH proved that there were no sbin directories (/sbin, /usr/sbin, /usr/local/sbin). I was able to work around this with a simple export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin for my root account.

Other system information
# uname -a:
Linux HOSTNAME 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Devuan GNU/Linux 3 (beowulf)
Release:        3
Codename:       beowulf

Of course, if I were the culprit (not the upgrade), feel free to call me out.

All the best,
- siva

Sent with [ProtonMail](https://protonmail.com) Secure Email.
[Message part 2 (text/html, inline)]

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: Wed Apr 24 04:23:24 2024;