still UsrMove problems and wrong PATH in openssh

Reindl Harald h.reindl at thelounge.net
Wed Oct 31 23:56:50 UTC 2012



Am 01.11.2012 00:34, schrieb Chris Adams:
> Once upon a time, Toshio Kuratomi <a.badger at gmail.com> said:
>> UsrMove was a Fedora specific distribution change.  As such, patching of
>> applications to use /usr/bin/perl instead of /bin/perl is a distribution
>> change that we should be making as well.
> 
> Everything should be using /usr/bin/perl (perl has never AFAIK been in
> /bin, on any system I've used).  The only case I would think /bin/perl
> would happen is if some software install script tried to be "smart" and
> change the shebang line, and it searched in common directories but not
> in $PATH order (starting with /bin)

look here:
https://bugzilla.redhat.com/show_bug.cgi?id=834571

> The DEFAULT_PATH_VALUE in bash (/usr/local/bin:/bin:/usr/bin)
> is used only if the PATH env variable is not set

and WHAT do you think happens after UsrMove if something is
tgrying to find a binary in excatly this order?

it will find /bin/perl, /bin/php at whetever
you can imagine which was not in /bin BEFORE
UsrMove was done

in THAt is why i called usrMove a really bad idea
long before it was approved as feaurure for F17

well, now the damage is done, so REMOVE /bin and
/sbin from the WHOLE distribution in ANY path
configuration - and this SHOULD have been done
BEFORE F17 was released as GA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20121101/3371e36e/attachment.sig>


More information about the devel mailing list