Bug 171876 - dhcpd can't start
dhcpd can't start
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-27 08:22 EDT by sangu
Modified: 2008-05-09 13:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-27 09:11:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description sangu 2005-10-27 08:22:05 EDT
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 09:11:18 EDT
restorecon -R -v /var/lib/dhcpd
Some how you got the wrong contect on these files.

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