PATH=/usr/local/bin:/bin:/usr/bin considered harmful

Mary Ellen Foster mefoster at gmail.com
Fri Jun 22 08:50:25 UTC 2012


On 22 June 2012 09:39, Juan Orti Alcaine <j.orti.alcaine at gmail.com> wrote:

> 2012/6/22 Sam Varshavchik <mrsam at courier-mta.com>:
> > I think that bash needs to be recompiled, with the last two flipped, in
> the
> > default shell PATH.
> >
>
> I have hit a similar issue with the tor-arm package. It is executed by
> a wrapper script that check if it has been called with /usr/bin/arm,
> but because the path ordering, it was called with /bin/arm, which
> failed.
>
> I think we should change tha default PATH and put /usr/bin before /bin


I assume this error is also an instance of the same problem:

 Error: Package: 2:samba-common-3.6.5-89.fc17.1.x86_64 (@updates-testing)
           Requires: /usr/sbin/ldconfig
           Removing: glibc-2.15-37.fc17.i686 (@fedora)
               Not found
           Updated By: glibc-2.15-48.fc17.i686 (updates-testing)
               Not found
Error: Package: 2:libsmbclient-3.6.5-89.fc17.1.x86_64 (@updates-testing)
           Requires: /usr/sbin/ldconfig
           Removing: glibc-2.15-37.fc17.i686 (@fedora)
               Not found
           Updated By: glibc-2.15-48.fc17.i686 (updates-testing)
               Not found

?

MEF

-- 
Mary Ellen Foster -- http://www.macs.hw.ac.uk/~mef3/
Interaction Lab -- http://www.macs.hw.ac.uk/InteractionLab
School of Mathematical and Computer Sciences, Heriot-Watt University

Heriot-Watt University is a Scottish charity registered under charity
number SC000278
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120622/787de518/attachment.html>


More information about the devel mailing list