Bug 127603 - executables compiled with -pie get labeled as shared object
executables compiled with -pie get labeled as shared object
Status: CLOSED INSUFFICIENT_DATA
Product: Fedora
Classification: Fedora
Component: file (Show other bugs)
2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Martin Bacovsky
Mike McLean
:
Depends On:
Blocks: 127554
  Show dependency treegraph
 
Reported: 2004-07-10 12:24 EDT by Nils Philippsen
Modified: 2008-08-02 19:40 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-10-27 13:43:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nils Philippsen 2004-07-10 12:24:13 EDT
SSIA:

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.
Comment 1 Jakub Jelinek 2004-07-10 12:54:49 EDT
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.
Comment 2 Matthew Miller 2004-07-10 12:56:49 EDT
bug #123697 (which isn't as clearly titled as this one.) 
Comment 3 Jeff Johnson 2004-07-28 17:13:49 EDT
file(1) needs to be taught about -pie. rpm already has the fix.
Comment 6 Matthew Miller 2005-04-26 12:40:17 EDT
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.
Comment 7 John Thacker 2006-10-27 13:43:32 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.