Bug 769551

Summary: dhcpd needs dac_override
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.10.0-72.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-22 22:53:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 765967    

Description Jiri Popelka 2011-12-21 10:15:26 UTC
Hi,

I need to change selinux-policy in Fedora-16 to allow dhcpd to change owner of 
/var/lib/dhcpd/*.leases, i.e. the same change as mentioned in bug #737571, comment #12.

Previously I was thinking I could solve this in dhcpd, but now I see I need
dac_override (see bug #765967).


Additional info:

type=1400 audit(1324461582.059:4): avc:  denied  { dac_override } for  pid=4524 comm="dhcpd" capability=1  scontext=system_u:system_r:dhcpd_t:s0 tcontext=system_u:system_r:dhcpd_t:s0 tclass=capability

Comment 1 Miroslav Grepl 2011-12-21 10:43:46 UTC
So there is no way try to a solution in Fedora.

Comment 2 Miroslav Grepl 2011-12-21 10:57:15 UTC
(In reply to comment #0)
> Hi,
> 
> I need to change selinux-policy in Fedora-16 to allow dhcpd to change owner of 
> /var/lib/dhcpd/*.leases, i.e. the same change as mentioned in bug #737571,
> comment #12.
> 
> Previously I was thinking I could solve this in dhcpd, but now I see I need
> dac_override (see bug #765967).
> 

Ok.

Comment 3 Jiri Popelka 2012-01-13 10:36:57 UTC
ping

Comment 4 Miroslav Grepl 2012-01-13 11:44:48 UTC
Fixed in selinux-policy-3.10.0-72.fc16

Comment 5 Fedora Update System 2012-01-17 15:18:38 UTC
selinux-policy-3.10.0-72.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-72.fc16

Comment 6 Fedora Update System 2012-01-17 20:29:04 UTC
Package selinux-policy-3.10.0-72.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-72.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0639/selinux-policy-3.10.0-72.fc16
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-01-22 22:53:18 UTC
selinux-policy-3.10.0-72.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.