Matthias Urlichs <matth...@urlichs.de> writes:

> On 06.05.25 13:31, Ahmad Khalifa wrote:
>> Fedora doesn't set /bin anymore in the $PATH
>
> IMHO we should follow that practice, post-Trixie.

Agreed.  I wrote a bug report about that and then found it was already
reported, so summarizing:

1) login.defs can drop /bin and /sbin from its default PATH:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041362

2) Setpriv could be amended to support login.defs:
https://github.com/util-linux/util-linux/issues/3560

3) I think 'gradle' failing on PATH=/bin:$PATH is buggy and should be
fixed: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104784

4) The policy manual or developers reference could be amended to say
that packages MUST only assume that /usr/bin and /usr/games (+ /usr/sbin
for su/root) are in PATH and MUST handle being invoked as another alias.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to