DHCP Chown

Home » CentOS » DHCP Chown
CentOS 8 Comments

I just installed 6.5 and am trying to bring up DHCP.

service dhcpd start fails with “Can’t chown new lease file: Operation not permitted” in /var/log/messages

I have scoured the Internet, see that others have had the problem, but do
not see a solution.

I also searched the last 12 months of the mail list to no avail.

Can someone please point me to a solution to this problem?

I am new to CentOS coming from Debian and apologize if I have missed
something.

jimc

8 thoughts on - DHCP Chown

  • also check the selinux logs… or temporarily set selinux to
    ‘permissive’ and see if it works, if it does, then something is fubar in the selinux rules.

  • I hope you figured out what was wrong with the SELinux attributes on the files. Turning off SELinux and calling it fixed isn’t really a solution.

  • There is another way to look at it. It may add too much sophistication to to the electric wiring of your house, then due to added bugs sometimes the locks to front doors may jump open on their own… ;-)

    I’m referring to controversy of SElinux: not only it can be disabled on the fly (thus making it easily defeated), but it adds hundreds of thousands of lines of code to the kernel, thus quite likely introducing bugs (likely with security implications). Some were saying it from the very beginning… and indeed there was security patch for SElinux not long ago…

    Just mentioning to add some balance. Nothing is ultimately good (or bad), there is no panacea.

    ++++++++++++++++++++++++++++++++++++++++
    Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247
    ++++++++++++++++++++++++++++++++++++++++