Re: still UsrMove problems and wrong PATH in openssh

2012-11-01 Thread Bill Nottingham
Björn Persson (bjorn@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

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Reindl Harald
Am 01.11.2012 00:34, schrieb Chris Adams: > Once upon a time, Toshio Kuratomi 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

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Chris Adams
Once upon a time, Toshio Kuratomi 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 b

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Chris Adams
Once upon a time, Matthew Garrett said: > Well, /bin/perl would immediately fail on Debian or Ubuntu, so it seems > pretty unlikely that any upstream is doing it. There are reasons why > using env can be a bad idea and I don't think it's universal, but > /bin/perl is certainly wrong. /usr/bin/

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Björn Persson
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 everythin

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Matthew Miller
On Wed, Oct 31, 2012 at 02:48:33PM -0700, Toshio Kuratomi wrote: > env comes with its own problems. The one I'm most familiar with is when > a site has its own, somewhat incompatible version of the interpreter > installed. For instance, if Fedora ships with python == python-2.7 and the > site ins

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Reindl Harald
Am 31.10.2012 22:35, schrieb Toshio Kuratomi: >>> But they're not implicit. As I've said in the bug(s) already, rpm doesn't >>> invent paths, it generates dependencies >>> based on the file contents: if a script has #!/bin/perl through whatever >>> means (ie hardcoded or generated), >>> /bin/pe

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Emmanuel Seyman
* Reindl Harald [31/10/2012 22:44] : > > any upstream-script the next years will use #!/bin/perl and > it would be idiotic to write patches for every application > only becasue fdora decided to make UsrMove Historically, we've always patch upstreams that use non-existant-on-Fedora paths (like /bi

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Toshio Kuratomi
On Wed, Oct 31, 2012 at 03:21:56PM -0400, Ben Rosser wrote: > On Wed, Oct 31, 2012 at 1:33 PM, Reindl Harald wrote: > > > this is WRONG behavior > > any upstream-script the next years will use #!/bin/perl and > it would be idiotic to write patches for every application > only be

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Toshio Kuratomi
On Wed, Oct 31, 2012 at 06:33:10PM +0100, Reindl Harald wrote: > > > Am 31.10.2012 17:45, schrieb Panu Matilainen: > > On 10/31/2012 11:47 AM, Reindl Harald wrote: > >> it is REALLY bad make UsrMove and HRADCODE /bin:/sbin > >> in PATH of openssh, this results in packages built > >> with "rpmbuil

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Matthew Garrett
On Wed, Oct 31, 2012 at 03:21:56PM -0400, Ben Rosser wrote: > I'm not a Perl programmer... but shouldn't scripts be using something like > #!/usr/bin/env perl rather than hardcoding #!/bin/perl anyway? That's the > way Python scripts have been written for years (#!/usr/bin/env python), > long befo

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Ben Rosser
On Wed, Oct 31, 2012 at 1:33 PM, Reindl Harald wrote: > > this is WRONG behavior > > any upstream-script the next years will use #!/bin/perl and > it would be idiotic to write patches for every application > only becasue fdora decided to make UsrMove > > UsrMove is a distribution-feature > and so

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Reindl Harald
Am 31.10.2012 17:45, schrieb Panu Matilainen: > On 10/31/2012 11:47 AM, Reindl Harald wrote: >> it is REALLY bad make UsrMove and HRADCODE /bin:/sbin >> in PATH of openssh, this results in packages built >> with "rpmbuild" having Requires: /bin/perl as example >> >> in my opinion "rpmbuild" shoul

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Panu Matilainen
On 10/31/2012 11:47 AM, Reindl Harald wrote: it is REALLY bad make UsrMove and HRADCODE /bin:/sbin in PATH of openssh, this results in packages built with "rpmbuild" having Requires: /bin/perl as example in my opinion "rpmbuild" should know about the change and fix implicit Requires: /bin and Re

Re: still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Petr Lautrbach
On 10/31/2012 10:47 AM, Reindl Harald wrote: it is REALLY bad make UsrMove and HRADCODE /bin:/sbin in PATH of openssh, this results in packages built with "rpmbuild" having Requires: /bin/perl as example in my opinion "rpmbuild" should know about the change and fix implicit Requires: /bin and Re

still UsrMove problems and wrong PATH in openssh

2012-10-31 Thread Reindl Harald
it is REALLY bad make UsrMove and HRADCODE /bin:/sbin in PATH of openssh, this results in packages built with "rpmbuild" having Requires: /bin/perl as example in my opinion "rpmbuild" should know about the change and fix implicit Requires: /bin and Requires: /sbin https://bugzilla.redhat.com/show