/usrmove and path ordering

Ondrej Vasik ovasik at redhat.com
Tue Feb 14 17:28:08 UTC 2012


----- Original Message -----
> 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.

You are right, setup update fixed only /sbin locations... /bin has to be done
on glibc and shells side. Sorry for confusion...

Greetings,
         Ondrej Vasik


More information about the devel mailing list