Bug 738078 - Allow dnsmasq to read NetworkManager-written config files in /var/run
Summary: Allow dnsmasq to read NetworkManager-written config files in /var/run
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-13 20:30 UTC by Dan Williams
Modified: 2011-09-15 14:09 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-09-15 14:09:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.