Bug 955198 - dictd package should be built with PIE flags
Summary: dictd package should be built with PIE flags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dictd
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-22 14:25 UTC by Dhiru Kholia
Modified: 2016-04-11 11:27 UTC (History)
3 users (show)

Fixed In Version: dictd-1.12.1-5.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-07 06:32:47 UTC
Type: ---
Embargoed:
karsten: needinfo-


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

Description Dhiru Kholia 2013-04-22 14:25:21 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 dictd 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):

dictd-server-1.12.0-5.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 dictd-server-1.12.0-5.fc19.x86_64.rpm
dictd-server,dictd-server-1.12.0-5.fc19.x86_64.rpm,/usr/bin/dictfmt,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
dictd-server,dictd-server-1.12.0-5.fc19.x86_64.rpm,/usr/bin/dictzip,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None
dictd-server,dictd-server-1.12.0-5.fc19.x86_64.rpm,/usr/sbin/dictd,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=network-ip

Comment 1 Dhiru Kholia 2013-05-15 07:42:24 UTC
Created attachment 748123 [details]
this should enable PIE

Comment 2 Dhiru Kholia 2013-06-03 06:04:23 UTC
Hi,

Is there any progress on this?

Does the attached modified .spec file works?

Comment 3 Fedora Update System 2014-02-25 16:43:26 UTC
dictd-1.12.1-5.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/dictd-1.12.1-5.fc19

Comment 4 Fedora Update System 2014-02-25 16:43:35 UTC
dictd-1.12.1-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dictd-1.12.1-5.fc20

Comment 5 Fedora Update System 2014-02-26 13:57:15 UTC
Package dictd-1.12.1-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dictd-1.12.1-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3110/dictd-1.12.1-5.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-03-07 06:32:47 UTC
dictd-1.12.1-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-03-07 06:35:31 UTC
dictd-1.12.1-5.fc19 has been pushed to the Fedora 19 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.