[Bug 871503] broken UsrMove

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 31 06:58:51 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=871503

--- Comment #3 from Ralf Corsepius <rc040203 at freenet.de> ---
(In reply to comment #2)
> Harald, where exactly are these packages requiring /bin/perl? There aren't
> any in Fedora 17 repos that I can see:
Well, such packages are supposed to fail Auto-QA, because they'd be
uninstallable ;)

> My point was that if they are common, there's likely to be a common source
> for them, but finding the source needs some samples to look at. The case of
> httpd-devel requiring /bin/perl is an isolated incident from custom-built
> httpd package in an environment where /bin is before /usr/bin in PATH, which
> IIRC was caused by openssh having a hard-wired PATH and does not normally
> happen. If there are other such cases, those need to be looked at
> case-by-case.

AFAICT, "su" has a similar problem:

[corsepiu at beck ~] echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/users/corsepiu/bin

[corsepiu at beck ~]$ su -l fedora
...
[fedora at beck ~]$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/users/fedora/bin

Note the locations of /bin and /usr/bin.

This causes malfunctions of programs which utilize arg[0] to determine the
position of directories they expect to find in a relative position to the
program's location (e.g. /usr/bin/foo expects to find ../lib/foodata/).

A real world case for such a package is rpmfusion's m2vmp2cut.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the perl-devel mailing list