You have been subscribed to a public bug by Robie Basak (racb):

During the first start of isc-dhcp-server (using the systemd service
unit), a blank dhcpd.leases file is created (presumably owned by
root:root).  dhcpd starts successfully (and then exits due to no subnet
definitions, that's expected).

Attempting to start the service again fails with 'Can't open
/var/lib/dhcp/dhcpd.leases for append' (the dhcpd.leases file ownership
is now dhcpd.dhcpd), and apparmor logs a denial of the dac_override
capability.

Removing the leases file repeats this process (first start works as
expected, future ones do not).

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: isc-dhcp-server 4.3.3-5ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
Uname: Linux 4.4.0-2-generic x86_64
ApportVersion: 2.19.4-0ubuntu2
Architecture: amd64
Date: Tue Feb  9 20:58:12 2016
InstallationDate: Installed on 2016-02-09 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Alpha amd64 
(20160206)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=linux
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: isc-dhcp
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: isc-dhcp (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: amd64 apport-bug rls-x-incoming xenial
-- 
isc-dhcp-server fails to start on second & further attempts with 'Can't open 
/var/lib/dhcp/dhcpd.leases for append'
https://bugs.launchpad.net/bugs/1543794
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to the bug report.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to