[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Changed in: isc-dhcp (Ubuntu Natty) Status: Fix Committed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Branch linked: lp:ubuntu/natty-proposed/isc-dhcp -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
Hello garo, or anyone else affected, Accepted isc-dhcp into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: isc-dhcp (Ubuntu Natty) Status: In Progress = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Description changed: 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Description changed: 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; + range6 2001:470:8cc0:9002::128 2001:470:8cc0:9002::254; } --- - 6) /etc/init.d/isc-dhcp-server6 start + 6) create an ipv6 address on the same network 'ip -6 addr add 2001:470:8cc0:9002:127/64 dev eth0' + 7) /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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
Here's how to test it: - Copy /etc/init.d/isc-dhcp-server to /etc/init.d/isc-dhcp-server6 - Apply the patch from http://paste.ubuntu.com/706208/ to isc-dhcp-server6 - Run: update-rc.d isc-dhcp-server6 defaults - 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; } --- - /etc/init.d/isc-dhcp-server6 start -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Also affects: isc-dhcp (Ubuntu Natty) Importance: Undecided Status: New ** Changed in: isc-dhcp (Ubuntu Natty) Status: New = In Progress ** Changed in: isc-dhcp (Ubuntu Natty) Assignee: (unassigned) = Brian Murray (brian-murray) ** Changed in: isc-dhcp (Ubuntu Natty) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
I've created a debdiff for Natty (attached) that includes the patch from Oneiric. However, I'm not quite certain how to test it. Guy - could you add a test case to the bug description? Thanks in advance. ** Patch added: isc-dhcp_4.1.1-P1-15ubuntu9.2.debdiff https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+attachment/2535345/+files/isc-dhcp_4.1.1-P1-15ubuntu9.2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
Would it be sensible to backport this to natty? I hand edited the patch into a natty server and it worked. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
This bug was fixed in the package isc-dhcp - 4.1.1-P1-17ubuntu2 --- isc-dhcp (4.1.1-P1-17ubuntu2) oneiric; urgency=low * debian/apparmor-profile.dhcpd: modify AppArmor profile for DHCP server to work with IPv6 thanks to Launchpad user nikolas for the patch. LP: #787212 -- Brian Murray br...@ubuntu.com Fri, 03 Jun 2011 13:55:44 -0700 ** Changed in: isc-dhcp (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Changed in: isc-dhcp (Ubuntu) Status: New = In Progress ** Changed in: isc-dhcp (Ubuntu) Importance: Undecided = Medium ** Changed in: isc-dhcp (Ubuntu) Assignee: (unassigned) = Brian Murray (brian-murray) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Branch linked: lp:~brian-murray/ubuntu/oneiric/isc-dhcp/fix- for-787212 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Tags added: ipv6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
** Patch added: Fixes the problem https://bugs.launchpad.net/bugs/787212/+attachment/2140205/+files/dhcpv6support.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 787212] Re: isc-dhcp-server doesn't work in ipv6 mode
I also added a second file that can be placed in /etc/init.d/ as 2nd init script to launch the server in v6 mode (if you run diff /etc/init.d/isc-dhcp*-server you will see that it's very similar to the init script to launch the server in regular dhcp mode. This init-file is only optional, it is not needed to fix the bug. (but it would be nice to include it even if you don't place it in any runlevels) A default /etc/dhcp/dhcpd6.conf is maybe also a good idea (also not needed to fix the bug). ** Attachment added: optional init script to start in v6 mode https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/787212/+attachment/2140227/+files/isc-dhcp6-server -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787212 Title: isc-dhcp-server doesn't work in ipv6 mode -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs