Bug 784349

Summary: Add PIE and RELRO flags when building setuid programs
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 16CC: mvadkert, pvrabec, sgrubb, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: shadow-utils-4.1.4.3-13.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 723921 Environment:
Last Closed: 2012-02-17 23:51:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 723921    
Bug Blocks:    

Description Jeff Bastian 2012-01-24 16:20:23 UTC
+++ This bug was initially created as a clone of Bug #723921 +++

Description of problem:
The shadow-utils program contains setuid programs. We would like them to be built with PIE and FULL RELRO support if possible. Partial RELRO is OK if all attempts at making it FULL RELRO run into problems.

Additional info:
PIE flags mean -fPIE -DPIE passed to gcc on compile
FULL RELRO requires these passed at link:
-Wl,-z,relro -Wl,-z,bind_now

Comment 3 Fedora Update System 2012-02-13 11:25:15 UTC
shadow-utils-4.1.4.3-13.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/shadow-utils-4.1.4.3-13.fc16

Comment 4 Fedora Update System 2012-02-14 09:09:06 UTC
Package shadow-utils-4.1.4.3-13.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing shadow-utils-4.1.4.3-13.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1631/shadow-utils-4.1.4.3-13.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-02-17 23:51:16 UTC
shadow-utils-4.1.4.3-13.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.