Red Hat Bugzilla – Bug 127603
executables compiled with -pie get labeled as shared object
Last modified: 2008-08-02 19:40:33 EDT
nils@gibraltar:~> file /usr/sbin/pppd /var/tmp/ppp-root/usr/sbin/pppd
/usr/sbin/pppd: ELF 32-bit LSB executable, Intel
80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses
shared libs), stripped
/var/tmp/ppp-root/usr/sbin/pppd: ELF 32-bit LSB shared object, Intel
80386, version 1 (SYSV), stripped
the only difference is that the file beneath /var/tmp is compiled with
"-pie". This causes rpmbuild's find-provides to have the package "ppp"
provide "pppd" which conflicts with initscripts (conflicts with "pppd
< 2.3.9"). See bug #127554.
That's what a PIE is (well, maybe file(1) could be taught about PIE,
in that case reassign to file component).
Anyway, I believe that current rpm already doesn't provide PIEs,
at least I've heard about something being done about it, dunno the
exact bug number though.
bug #123697 (which isn't as clearly titled as this one.)
file(1) needs to be taught about -pie. rpm already has the fix.
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Note that FC1 and FC2 are no longer supported even by Fedora Legacy.
If this still occurs on FC3 or FC4, please
assign to that version and Fedora Legacy. If it still occurs on FC5 or FC6,
please reopen and assign to the correct version.