[Bug 1186662] Re: isc-dhcp-server fails to renew lease file

Gaétan QUENTIN gaetan.quentin at gmail.com
Fri Nov 17 21:20:42 UTC 2017


ubuntu 17.10 32 bits: the same
Nov 17 22:02:45 nas dhclient[736]: can't create /var/lib/dhcp/dhclient.enp3s0.leases: Read-only file system

drwxr-xr-x 1 root root   44 déc.  13  2016 .
drwxr-xr-x 1 root root  738 juil. 16 18:11 ..
-rw-r--r-- 1 root root 1094 nov.  17 22:02 dhclient.enp3s0.leases

and there is no dhcp user account:

root at nas:/etc# grep -i dhcp /etc/passwd /etc/group
root at nas:/etc#

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1186662

Title:
  isc-dhcp-server fails to renew lease file

Status in isc-dhcp package in Ubuntu:
  Fix Released
Status in isc-dhcp source package in Trusty:
  Triaged

Bug description:
  After raring upgrade, the dhcp server fails to renew lease file when
  it tries to (about every hour).

  The syslog says:
  dhcpd: Can't create new lease file: Permission denied

  It looks like a permission problem, because

  # chown -R dhcpd:dhcpd /var/lib/dhcp

  the above command temporarily solves the issue, until dhcpd is
  restarted: at that time, the ownership of the directory and the lease
  file is set back to root:root.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1186662/+subscriptions



More information about the foundations-bugs mailing list