Bug 955127 - trafficserver package should be built with PIE flags
Summary: trafficserver package should be built with PIE flags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: trafficserver
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan-Frode Myklebust
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-22 13:20 UTC by Dhiru Kholia
Modified: 2015-07-08 17:07 UTC (History)
2 users (show)

Fixed In Version: trafficserver-5.3.0-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-03 22:25:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
this should enable PIE (10.86 KB, text/x-rpm-spec)
2013-05-15 06:07 UTC, Dhiru Kholia
no flags Details

Description Dhiru Kholia 2013-04-22 13:20:26 UTC
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

Comment 1 Dhiru Kholia 2013-05-15 06:07:09 UTC
Created attachment 748071 [details]
this should enable PIE

Comment 2 Dhiru Kholia 2013-06-03 06:02:30 UTC
Hi,

Is there any progress on this?

Does the attached modified .SPEC file works?

Comment 3 Jan-Frode Myklebust 2013-06-03 08:48:08 UTC
Thanks for the .SPEC-file. Works fine.

Build submitted http://koji.fedoraproject.org/koji/taskinfo?taskID=5457542

Comment 4 Fedora Update System 2013-06-22 13:44:07 UTC
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

Comment 5 Fedora Update System 2013-06-22 13:44:16 UTC
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

Comment 6 Fedora Update System 2013-06-22 13:44:25 UTC
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

Comment 7 Fedora Update System 2013-06-22 18:15:01 UTC
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).

Comment 8 Fedora Update System 2013-06-22 20:08:40 UTC
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

Comment 9 Fedora Update System 2013-08-26 08:04:47 UTC
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

Comment 10 Fedora Update System 2013-08-26 08:06:48 UTC
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

Comment 11 Fedora Update System 2013-08-26 08:07:05 UTC
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

Comment 12 Fedora Update System 2013-09-03 22:25:03 UTC
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.

Comment 13 Fedora Update System 2013-09-03 22:26:32 UTC
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.

Comment 14 Fedora Update System 2015-06-22 10:19:45 UTC
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

Comment 15 Fedora Update System 2015-06-22 10:20:11 UTC
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

Comment 16 Fedora Update System 2015-06-22 10:20:28 UTC
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

Comment 17 Fedora Update System 2015-06-22 10:20:46 UTC
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

Comment 18 Fedora Update System 2015-07-03 18:37:01 UTC
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.

Comment 19 Fedora Update System 2015-07-03 18:39:44 UTC
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.

Comment 20 Fedora Update System 2015-07-08 17:03:12 UTC
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.

Comment 21 Fedora Update System 2015-07-08 17:07:08 UTC
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.


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