Re: PATH has /bin before /usr/bin in upgraded rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 27.10.2013 01:41, schrieb Sandro Mani:
> On 27.10.2013 01:38, Reindl Harald wrote:
>> Am 27.10.2013 01:10, schrieb Sandro Mani:
>>> I just noticed that my rawhide installation, which was originally installed when F18 was rawhide in summer 2012 and
>>> upgraded since, has
>>>
>>> PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/home/sandro/.local/bin:/home/sandro/bin
>>>
>>> On a fresh rawhide installation, I get
>>>
>>> PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/sandro/.local/bin:/home/sandro/bin
>>>
>>> So, the order of /bin /usr/bin /usr/local/bin is reversed
>> besides the fact that /bin and /sbin should *not* be anywhere in the
>> path over the whole distribution after the UsrMove in F17
>> /usr/local/bin before /usr/bin is the correct order because of the
>> intention of /usr/local
> I actually have /usr/bin *before* /usr/local/bin

your first post is unclear because you speak about two setups
to get rid of all this UsrMove fragments make a strict config

the way below it affects interactive as wella s non-interactive shells
and overrides even the openssh/bash builtin paths which was buggy
not so lnog ago or maybe still are

[harry@srv-rhsoft:~]$ cat /home/harry/.bashrc | grep PATH
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/home/harry/bin

[harry@srv-rhsoft:~]$ cat /home/harry/.bash_profile | grep PATH
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/home/harry/bin

[harry@srv-rhsoft:~]$ cat /etc/crontab | grep PATH
PATH=/usr/sbin:/usr/bin

[harry@srv-rhsoft:~]$ cat /etc/anacrontab | grep PATH
PATH=/usr/sbin:/usr/bin


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux