Bug 171876

Summary: dhcpd can't start
Product: [Fedora] Fedora Reporter: sangu <sangu.fedora>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-27 13:11: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:
Embargoed:

Description sangu 2005-10-27 12:22:05 UTC
Description of problem:

$service dhcpd start

failed

$tail -f /var/log/audit/audit.log
type=AVC msg=audit(1130415438.675:2177): avc:  denied  { read } for  pid=15160
comm="dhcpd" name="dhcpd.leases" dev=hda8 ino=162583
scontext=root:system_r:dhcpd_t:s0 tcontext=system_u:object_r:var_lib_t:s0
tclass=file
type=SYSCALL msg=audit(1130415438.675:2177): arch=40000003 syscall=5 success=no
exit=-13 a0=8f131b a1=0 a2=333 a3=bff4a2c4 items=1 pid=15160 auid=4294967295
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm="dhcpd"
exe="/usr/sbin/dhcpd"
type=CWD msg=audit(1130415438.675:2177):  cwd="/"
type=PATH msg=audit(1130415438.675:2177): item=0
name="/var/lib/dhcpd/dhcpd.leases" flags=101  inode=162583 dev=03:08
mode=0100644 ouid=0 ogid=0 rdev=00:00


Version-Release number of selected component (if applicable):
selinux-policy-targeted-1.27.2-5

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
dhcp-3.0.3-10

Comment 1 Daniel Walsh 2005-10-27 13:11:18 UTC
restorecon -R -v /var/lib/dhcpd
Some how you got the wrong contect on these files.