[Bug 787212] [NEW] isc-dhcp-server doesn't work in ipv6 mode

Launchpad Bug Tracker 787212 at bugs.launchpad.net
Thu Oct 20 22:53:46 UTC 2011


You have been subscribed to a public bug by Brian Murray (brian-murray):

Binary package hint: isc-dhcp-server

(isc-dhcp-server 4.1.1-P1-15ubuntu9 on Ubuntu server 11.04)
It's impossible to run dhcpd with the -6 flag with the current apparmor config in the isc-dhcp-server package. I added a patch that fixes this problem, apply with "cd / ; patch -p1 < dhcpv6support.patch".

TEST CASE:
1) Copy /etc/init.d/isc-dhcp-server to /etc/init.d/isc-dhcp-server6
2) Copy /etc/dhcp/dhcpd.conf to /etc/dhcp/dhcpd6.conf
3) Apply the patch from http://paste.ubuntu.com/706208/ to isc-dhcp-server6
4) Run: update-rc.d isc-dhcp-server6 defaults
5) Edit /etc/dhcp/dhcpd6.conf to look like:
---
authoritative;
option dhcp6.name-servers 2001:470:20::2;
option dhcp6.domain-search "ubuntu.com", "stgraber.net";

# testv6-dhcpv6
subnet6 2001:470:8cc0:9002::/64 {
    range6 2001:470:8cc0:9002::128 2001:470:8cc0:9002::254;
}
---
6) /etc/init.d/isc-dhcp-server6 start

This will fail with isc-dhcp-server version 4.1.1-P1-15ubuntu9.1 installed and apparmor.
You will see something like the following in syslog - apparmor="DENIED" .. profile="/usr/sbin/dhcpd"

With the -proposed version isc-dhcp-server and isc-dhcp-common step 6
will start okay.

** Affects: isc-dhcp (Ubuntu)
     Importance: Medium
     Assignee: Brian Murray (brian-murray)
         Status: Fix Released

** Affects: isc-dhcp (Ubuntu Natty)
     Importance: Medium
     Assignee: Brian Murray (brian-murray)
         Status: In Progress


** Tags: ipv6 patch
-- 
isc-dhcp-server doesn't work in ipv6 mode
https://bugs.launchpad.net/bugs/787212
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list