Description of problem: Daemon programs should have full RELRO support enabled for extra protection. They should also have gcc's PIE flag enabled, too. FILE TYPE RELRO PIE /sbin/arp daemon partial no You can use this program for testing: http://people.redhat.com/sgrubb/files/rpm-chksec
I don't think /sbin/arp fits into this daemon category. Yes, it can be run (only if /etc/ethers exists) during boot to load static arp entries from the ethers file. But as you can see in arp-ethers.service it's a "oneshot" type so it exits immediately after loading the entries. Have I missed anything or we can close this BZ ?
This bug was filed to get the flags correct so that we can make claims in our common criteria security target. The intent was that we could say all setuids are compiled with these flags, all daemons are compiled with those, all apps have other flags. We really didn't want to start making exceptions to the blanket policy.
My point has been that /sbin/arp is not a deamon nor setuid.
Its started by a .service file. Which means if we start picking and choosing which ones are daemon and which ones aren't, it gets complicated. I can help you with the patch if you think it's helpful.
Ok. Then easiest would be to add these flags to spec file and compile all the tools with PIE and full RELRO flags then modifying Makefile just for arp.
net-tools-1.60-142.20120702git.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/net-tools-1.60-142.20120702git.fc18
Package net-tools-1.60-144.20120917git.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing net-tools-1.60-144.20120917git.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-13384/net-tools-1.60-144.20120917git.fc18 then log in and leave karma (feedback).
net-tools-1.60-144.20120917git.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.