Devuan bug report logs -
#457
Beowulf upgrade drops "sbin" directories from root $PATH
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#457
; Package unclear
.
(Sun, 10 May 2020 17:18:01 GMT) (full text, mbox, link).
Acknowledgement sent
to eidolon.alpha@protonmail.com
:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org
.
Your message had a Version: pseudo-header with an invalid package
version:
unclear (Beowulf-related)
please either use found or fixed to the control server with a correct
version, or reply to this report indicating the correct version so the
maintainer (or someone else) can correct it for you.
(Sun, 10 May 2020 17:18:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):
[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)]
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#457
; Package unclear
.
(Mon, 11 May 2020 09:03:02 GMT) (full text, mbox, link).
Message #8 received at 457@bugs.devuan.org (full text, mbox, reply):
Control: reassign -1 util-linux
Eidolon,
Thanks for this.
On Sun, May 10, 2020 at 05:02:56PM +0000, eidolon.alpha@protonmail.com wrote:
> 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.
You don't say how you are using root. I suspect with su(1)?
If so, this behaviour change is known and well documented. See
- https://beta.devuan.org/os/documentation/install-guides/beowulf/Release_notes_beowulf_3.0.0.txt
- /usr/share/doc/util-linux/NEWS.Debian.gz
Mark
bug reassigned from package 'unclear' to 'util-linux'.
Request was from Mark Hindley <mark@hindley.org.uk>
to 457-submit@bugs.devuan.org
.
(Mon, 11 May 2020 09:03:04 GMT) (full text, mbox, link).
Reply sent
to Mark Hindley <mark@hindley.org.uk>
:
You have taken responsibility.
(Mon, 11 May 2020 15:03:01 GMT) (full text, mbox, link).
Notification sent
to eidolon.alpha@protonmail.com
:
bug acknowledged by developer.
(Mon, 11 May 2020 15:03:04 GMT) (full text, mbox, link).
Message #15 received at 457-done@bugs.devuan.org (full text, mbox, reply):
On Mon, May 11, 2020 at 01:48:16PM +0000, eidolon.alpha@protonmail.com wrote:
> Yup, that's it. Definitely missed that release note. Thank you.
Thanks for confirming.
Closing.
Mark
Send a report that this bug log contains spam.