[arch-dev-public] [RFC] new default PATH

Tom Gundersen teg at jklm.no
Fri May 31 15:04:53 EDT 2013


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


More information about the arch-dev-public mailing list