Bug 1548552

Summary: lsof: Partial application of Fedora build flags
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: lsofAssignee: Jan Rybar <jrybar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: kzak, yamato
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lsof-4.91-1.fc29 lsof-4.89-9.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-06 16:44:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1539083    

Description Florian Weimer 2018-02-23 20:21:53 UTC
/usr/bin/lsof in lsof-4.89-8.fc28.x86_64 is not linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config.  Notably, the executable is not PIE (no ASLR).

See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.

Comment 1 Peter Schiffer 2018-05-22 13:13:14 UTC
Fixed in: https://src.fedoraproject.org/rpms/lsof/pull-request/1

Comment 2 Peter Schiffer 2018-05-22 14:46:48 UTC
Fixed in: lsof-4.91-1.fc29
https://koji.fedoraproject.org/koji/buildinfo?buildID=1083993

Comment 3 Florian Weimer 2018-05-25 11:12:12 UTC
Would you please put a fix into Fedora 28 as well?  Thanks.

Comment 4 Fedora Update System 2018-07-03 14:44:50 UTC
lsof-4.89-9.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3af44f1520

Comment 5 Fedora Update System 2018-07-04 18:20:38 UTC
lsof-4.89-9.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3af44f1520

Comment 6 Fedora Update System 2018-07-06 16:44:02 UTC
lsof-4.89-9.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.