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 knot 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): knot-1.1.3-3.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 knot-1.1.3-3.fc19.x86_64.rpm knot,knot-1.1.3-3.fc19.x86_64.rpm,/usr/libexec/knot/knot-zcompile,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=network-ip knot,knot-1.1.3-3.fc19.x86_64.rpm,/usr/sbin/knotc,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=None knot,knot-1.1.3-3.fc19.x86_64.rpm,/usr/sbin/knotd,NX=Enabled,CANARY=Enabled,RELRO=Partial,PIE=Disabled,RPATH=Disabled,RUNPATH=Disabled,FORTIFY=Enabled,CATEGORY=network-ip
Created attachment 748125 [details] this should enable PIE
Hi, Is there any progress on this? Does the attached modified .spec file works?
This is fixed since 1.2.0-1 according to changelog. * Fri Apr 05 2013 Paul Wouters <pwouters> - 1.2.0-1 - Updated to 1.2.0-1 - Enabled hardening/relro/pie protection Verified: % rpm-chksec ./knot-1.3.1-1.fc21.x86_64.rpm FILE TYPE RELRO PIE /usr/bin/kdig network-ip full yes /usr/bin/khost network-ip full yes /usr/bin/knsupdate network-ip full yes /usr/sbin/knotc network-ip full yes /usr/sbin/knotd daemon full yes
knot-1.3.1-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/knot-1.3.1-1.fc19
knot-1.3.1-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.