Re: Linux 5.11-rc1
From: Sedat Dilek
Date: Sat Jan 02 2021 - 06:28:42 EST
On Sat, Jan 2, 2021 at 12:05 PM Bernd Petrovitsch
<bernd@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Sat, 2021-01-02 at 10:13 +0100, Sedat Dilek wrote:
> [...]
> > To be honest I wondered why there were no more reports on this.
>
> Perhaps I'm not the only one who has /sbin and /usr/sbin in the
> $PATH of normal accounts too (and idk what's the default
> behaviour of distributions is - my .bashrc "fixes" the
> $PATH).
>
I was thinking more towards maxim/dictum:
"Never break userspace!" or "It worked before but now it is not."
Think of automated kernel build and test setups based on Debian.
Debian/testing AMD64 has...
[ /etc/login.defs ]
# *REQUIRED* The default PATH settings, for superuser and normal users.
#
# (they are minimal, add the rest in the shell startup files)
ENV_SUPATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
IMHO users should not need to fix their environment.
( The discussion is a bit obsolete as we now have a fix. )
- Sedat -