[arch-dev-public] [RFC] new default PATH
Jan Alexander Steffens
jan.steffens at gmail.com
Fri May 31 15:07:46 EDT 2013
On Fri, May 31, 2013 at 9:04 PM, Tom Gundersen <teg at jklm.no> wrote:
> Hi guys,
>
> When updating our default PATH in /etc/profile due to the usrmerge I
> noticed it is not consistent with the system-wide PATH set by PID1.
>
> systemd sets:
>
> "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
>
> which for us is equivalent to
>
> "/usr/local/sbin:/usr/local/bin:/usr/bin"
>
> but profile used to set:
>
> "/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
>
> which for us is equivalent to
>
> "/usr/local/bin:/usr/bin:/usr/local/sbin"
>
>
> For consistency I changed (in testing) the path set in /etc/profile to
>
> "/usr/local/sbin:/usr/local/bin:/usr/bin"
>
>
> Any objections?
>
> Tom
No, this is definitely the right thing to do. Having /usr/local/sbin
after /usr/bin wouldn't override binaries correctly.
More information about the arch-dev-public
mailing list