Description of problem: http://fedoraproject.org/wiki/Packaging:Guidelines#PIE says that "you MUST enable the PIE compiler flags if your package is long running ...". However, currently trafficserver is not being built with PIE flags. This is a clear violation of the packaging guidelines. This issue (in its wider scope) is being discussed at, https://fedorahosted.org/fesco/ticket/1104 https://lists.fedoraproject.org/pipermail/devel/2013-March/180827.html Version-Release number of selected component (if applicable): trafficserver-3.2.4-1.fc19.x86_64.rpm How reproducible: You can use following programs to check if a package is hardened: http://people.redhat.com/sgrubb/files/rpm-chksec OR https://github.com/kholia/checksec Steps to Reproduce: Get scanner.py from https://github.com/kholia/checksec $ ./scanner.py trafficserver-3.2.4-1.fc19.x86_64.rpm trafficserver,trafficserver-3.2.4-1.fc19.x86_64.rpm,/usr/bin/traffic_cop,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Enabled,RUNPATH=Disabled,FORTIFY=Disabled,CATEGORY=network-ip trafficserver,trafficserver-3.2.4-1.fc19.x86_64.rpm,/usr/bin/traffic_line,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Enabled,RUNPATH=Disabled,FORTIFY=Disabled,CATEGORY=None trafficserver,trafficserver-3.2.4-1.fc19.x86_64.rpm,/usr/bin/traffic_logcat,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Enabled,RUNPATH=Disabled,FORTIFY=Disabled,CATEGORY=network-local trafficserver,trafficserver-3.2.4-1.fc19.x86_64.rpm,/usr/bin/traffic_logstats,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Enabled,RUNPATH=Disabled,FORTIFY=Disabled,CATEGORY=network-local trafficserver,trafficserver-3.2.4-1.fc19.x86_64.rpm,/usr/bin/traffic_manager,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Enabled,RUNPATH=Disabled,FORTIFY=Disabled,CATEGORY=network-ip trafficserver,trafficserver-3.2.4-1.fc19.x86_64.rpm,/usr/bin/traffic_sac,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Enabled,RUNPATH=Disabled,FORTIFY=Disabled,CATEGORY=network-ip trafficserver,trafficserver-3.2.4-1.fc19.x86_64.rpm,/usr/bin/traffic_server,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Enabled,RUNPATH=Disabled,FORTIFY=Disabled,CATEGORY=network-ip trafficserver,trafficserver-3.2.4-1.fc19.x86_64.rpm,/usr/bin/traffic_shell,NX=Enabled,CANARY=Disabled,RELRO=Partial,PIE=Disabled,RPATH=Enabled,RUNPATH=Disabled,FORTIFY=Disabled,CATEGORY=None
Created attachment 748071 [details] this should enable PIE
Hi, Is there any progress on this? Does the attached modified .SPEC file works?
Thanks for the .SPEC-file. Works fine. Build submitted http://koji.fedoraproject.org/koji/taskinfo?taskID=5457542
trafficserver-3.2.4-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/trafficserver-3.2.4-3.fc18
trafficserver-3.2.4-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/trafficserver-3.2.4-3.el6
trafficserver-3.2.4-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/trafficserver-3.2.4-3.fc19
Package trafficserver-3.2.4-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing trafficserver-3.2.4-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-11470/trafficserver-3.2.4-3.fc19 then log in and leave karma (feedback).
trafficserver-3.2.4-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/trafficserver-3.2.4-3.fc17
trafficserver-3.2.5-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/trafficserver-3.2.5-3.el6
trafficserver-3.2.5-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/trafficserver-3.2.5-3.fc19
trafficserver-3.2.5-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/trafficserver-3.2.5-3.fc18
trafficserver-3.2.5-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
trafficserver-3.2.5-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
trafficserver-5.3.0-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/trafficserver-5.3.0-1.el7
trafficserver-5.3.0-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/trafficserver-5.3.0-1.el6
trafficserver-5.3.0-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/trafficserver-5.3.0-1.fc22
trafficserver-5.3.0-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/trafficserver-5.3.0-1.fc21
trafficserver-5.3.0-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
trafficserver-5.3.0-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
trafficserver-5.3.0-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
trafficserver-5.3.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.