still UsrMove problems and wrong PATH in openssh

Bill Nottingham notting at redhat.com
Thu Nov 1 17:45:42 UTC 2012


Björn Persson (bjorn at rombobjörn.se) said: 
> 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
> 
> -- 
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> 


More information about the devel mailing list