The postinst script for isc-dhcp-server is supposed to migrate your old
dhcp3 config to the new directory:

# If we're upgrading from dhcp3, copy the config and leases over to the new
# locations
if [ -z "$2" ]; then
        if [ -f /etc/dhcp3/dhcpd.conf ]; then
                cp /etc/dhcp3/dhcpd.conf /etc/dhcp/dhcpd.conf
        fi
        if [ -f /var/lib/dhcp3/dhcpd.leases ]; then
                cp /var/lib/dhcp3/dhcpd.leases /var/lib/dhcp/dhcpd.leases
        fi
fi

Does the new directory contain your old configuration?

Your configuration contains the line:

include "/etc/bind/key.rndc";

Did you perhaps customize the old apparmor configuration to give dhcp
read permissions on that file? If so, you will need to modify the new
apparmor file also (/etc/apparmor.d/usr.sbin.dhcpd).



** Changed in: isc-dhcp (Ubuntu)
       Status: New => Incomplete

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

Title:
  isc-dhcp-server doesn't start any more after upgrade

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

Reply via email to