Bug 738078

Summary: Allow dnsmasq to read NetworkManager-written config files in /var/run
Product: [Fedora] Fedora Reporter: Dan Williams <dcbw>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, mgrepl
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: 2011-09-15 14:09:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Williams 2011-09-13 20:30:19 UTC
NM spawns dnsmasq for a variety of reasons, and one is in a local caching nameserver configuration.  For that purpose, NM has to write out a custom configuration file, and NM writes that file to /var/run.  dnsmasq can't read it when SELinux is enforcing however.

allow dnsmasq_t NetworkManager_var_run_t:file { read getattr };

is the denial line.

Comment 1 Dan Williams 2011-09-13 20:30:42 UTC
This issue should apply to F15, F16, and rawhide.

Comment 2 Miroslav Grepl 2011-09-15 14:09:42 UTC
Done.