dhcpd.leases permissions
Paul Howarth
paul at city-fan.org
Mon Feb 13 14:44:41 UTC 2006
Oliver Sampson wrote:
> On Sat, 2006-02-11 at 13:44 +0100, Oliver Sampson wrote:
>
>>On Thu, 2006-02-09 at 13:45 +0000, Paul Howarth wrote:
>
>
>>>Could be an SELinux issue. Running from the command-line would start
>>>dhcpd "unconfined", unlike running it from an initscript.
>>>
>>>Try:
>>>
>>># restorecon -R /var/lib/dhcp
>>>
>>>and see if that helps.
>>
>>Oh, man. That seemed like a good idea, but it didn't work.
>>
>
>
> So, I went and turned off SELinux entireley, and rebooted. dhcpd
> restarted fine.
>
> If I decide to turn SELinux back on, what do I need to tinker with to
> get dhcpd to work?
Try:
# restorecon -R $(rpm -ql dhcp)
Then try restarting dhcp using the initscript (service dhcpd restart).
Look at any error messages that result from this in /var/log/messages or
/var/log/audit/audit.log
Paul.
More information about the users
mailing list