Bug 743147

Summary: uucp: setuid binaries need to be position independent
Product: [openSUSE] openSUSE 12.2 Reporter: Ludwig Nussel <lnussel>
Component: OtherAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: security-team
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 744091    

Description Ludwig Nussel 2012-01-24 15:51:01 UTC
sendmail triggered the rpmlint check
"non-position-independent-executable" which means there are one or
more binaries that need to be compiled as position independent
executable.

To fix the issue add -fPIE to CFLAGS and -pie to LDFLAGS of the
binaries in question.
Comment 1 Dr. Werner Fink 2012-01-24 16:12:27 UTC
Never as -fPIE slows down the binary due position independent code.
AFAICR this was a huge problem for the bash I had compiled in past
with  -fPIE and this will never happen again.
Comment 2 Ludwig Nussel 2012-01-24 16:28:27 UTC
oops, sendmail already is compiled using PIE since ages!
The bug report is actually about uucp. The script just followed the devel project chain which ends at sendmail for whatever reason.
Comment 3 Dr. Werner Fink 2012-01-24 17:32:28 UTC
fixed
Comment 4 Bernhard Wiedemann 2012-01-24 18:00:15 UTC
This is an autogenerated message for OBS integration:
This bug (743147) was mentioned in
https://build.opensuse.org/request/show/101398 Factory / sendmail