Hi Arnold

Thank you for your reply.

Unfortunately it does still not work after checking the permissions:

[root@myhost:~]↥ 1 # namei -l /test/var/lib/dhcp/dhcpd.leases
f: /test/var/lib/dhcp/dhcpd.leases
drwxr-xr-x root  root  /
drwxr-xr-x dhcpd dhcpd test
drwxr-xr-x dhcpd dhcpd var
drwxr-xr-x dhcpd dhcpd lib
drwxr-xr-x dhcpd dhcpd dhcp
-rw-r--r-- dhcpd dhcpd dhcpd.leases


The error is still the same:

...
Can't open /test/var/lib/dhcp/dhcpd.leases for append.
...


And I'm sure the apparmor profile is loaded, because if i deactivate it I get 
the permission denied error:
...
Can't open lease database /test/var/lib/dhcp/dhcpd.leases: Permission denied --
  check for failed database rewrite attempt!
...


Do you have any other ideas?

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

Title:
  isc-dhcp-server can't load leases file with apparmor enabled

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to