:: [devuan-dev] bug#457: Beowulf upgra…
Página Principal
Delete this message
Reply to this message
Autor: Mark Hindley
Data:  
Para: eidolon.alpha, 457
Assunto: [devuan-dev] bug#457: Beowulf upgrade drops "sbin" directories from root $PATH
Control: reassign -1 util-linux

Eidolon,

Thanks for this.

On Sun, May 10, 2020 at 05:02:56PM +0000, eidolon.alpha@??? 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