Bug 853193
Summary: | daemon programs should be compiled with PIE and full RELRO flags | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Grubb <sgrubb> |
Component: | net-tools | Assignee: | Jiri Popelka <jpopelka> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 18 | CC: | iprikryl, jpopelka |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-25 16:39:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 853068 |
Description
Steve Grubb
2012-08-30 17:02:29 UTC
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. |