still UsrMove problems and wrong PATH in openssh
Björn Persson
bjorn at xn--rombobjrn-67a.se
Wed Oct 31 23:18:35 UTC 2012
Emmanuel Seyman wrote:
> From bug #871503 (and I apologize if I'm reading this wrong), it
> appears that the dependency on /bin/perl is being caused by the
> hardcoded $PATH in openssh.
>
> To fix the problem, I think we would not only need to provide
> /bin/perl but a /bin equivalent to everything in /usr/bin (/bin/perl
> is the only usecase which Harald has hit so far).
That still wouldn't solve all cases. I've seen code that does the
equivalent of "which some-program", finds /bin/some-program, concludes
that the installation prefix is "/", and proceeds to look for files in
/share, which doesn't exist and never has.
We really need to get /bin and /sbin removed from PATH, or at least
moved behind /usr/bin and /usr/sbin.
Björn Persson
More information about the devel
mailing list