/usrmove and path ordering

Tomas Mraz tmraz at redhat.com
Tue Feb 14 16:33:39 UTC 2012


On Tue, 2012-02-14 at 17:11 +0100, Ondrej Vasik wrote: 
> On Tue, 2012-02-14 at 17:08 +0100, Michel Alexandre Salim wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Dear developers,
> > 
> > Now that the /usrmove changes have landed in the F-17 branch, should
> > the ordering of directories in PATH be changed? /usr/bin should appear
> > before /bin and /usr/sbin before /sbin.
> > 
> > Right now $(which a-binary) would report that all /usr/... binaries
> > are located in /bin and /sbin instead; while it is mostly just
> > cosmetic, some programs (e.g. pure-gen) use the heuristic of computing
> > their default installation prefix based on the location of another
> > binary, and get confused if that prefix is empty.
> > 
> > Is this a reasonable change? I'll file a bug report if that's the case.
> 
> /bin and /sbin paths were already removed in latest setup package - as
> you no longer need them... so no need for bugzilla and report...

I'm not sure, but I think bash has hardcoded PATH for /bin and /usr/bin
as well.
-- 
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
                                              Turkish proverb



More information about the devel mailing list