[Bug 944849] [NEW] [FFe] converting isc-dhcp from sysvinit to upstart

Stéphane Graber stgraber at stgraber.org
Fri Mar 2 14:37:39 UTC 2012


Public bug reported:

As discussed at UDS and mentioned in
https://blueprints.launchpad.net/ubuntu/+spec/foundations-p-ipv6

Our current isc-dhcp is using the good old sysvinit jobs to start/stop
isc-dhcp-server and isc-dhcp-relay, this works pretty well but doesn't
support the IPv6 use case.

In a dual-stack environment, one will need to spawn two isc-dhcp servers or two isc-dhcp relays, one for IPv4 and one for IPv6.
The IPv4 and IPv6 services are provided by the same binary (either isc-dhcp-server or isc-dhcp-relay) but don't share their configuration file or runtime directories.

I believe the easiest way of implementing this would be to swich from our current two sysvinit jobs to 4 upstart jobs:
 - isc-dhcp-server.conf
 - isc-dhcp-server6.conf
 - isc-dhcp-relay.conf
 - isc-dhcp-relay6.conf

The only difference between the IPv4 and IPv6 jobs would be the location
of their configuration file, the *6.conf jobs would be looking for /etc
/isc-dhcp-server/dhcpd6.conf for example instead of /etc/isc-dhcp-
server/dhcpd.conf

A default dhcpd6.conf file will be shipped doing something similar to
our dhcpd.conf (basically just an example that doesn't get used).


Once the release team approves the plan, I'll be working on the actual changes and will provide a debdiff for final review before upload.

** Affects: isc-dhcp (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  [FFe] converting isc-dhcp from sysvinit to upstart

Status in “isc-dhcp” package in Ubuntu:
  New

Bug description:
  As discussed at UDS and mentioned in
  https://blueprints.launchpad.net/ubuntu/+spec/foundations-p-ipv6

  Our current isc-dhcp is using the good old sysvinit jobs to start/stop
  isc-dhcp-server and isc-dhcp-relay, this works pretty well but doesn't
  support the IPv6 use case.

  In a dual-stack environment, one will need to spawn two isc-dhcp servers or two isc-dhcp relays, one for IPv4 and one for IPv6.
  The IPv4 and IPv6 services are provided by the same binary (either isc-dhcp-server or isc-dhcp-relay) but don't share their configuration file or runtime directories.

  I believe the easiest way of implementing this would be to swich from our current two sysvinit jobs to 4 upstart jobs:
   - isc-dhcp-server.conf
   - isc-dhcp-server6.conf
   - isc-dhcp-relay.conf
   - isc-dhcp-relay6.conf

  The only difference between the IPv4 and IPv6 jobs would be the
  location of their configuration file, the *6.conf jobs would be
  looking for /etc/isc-dhcp-server/dhcpd6.conf for example instead of
  /etc/isc-dhcp-server/dhcpd.conf

  A default dhcpd6.conf file will be shipped doing something similar to
  our dhcpd.conf (basically just an example that doesn't get used).

  
  Once the release team approves the plan, I'll be working on the actual changes and will provide a debdiff for final review before upload.

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




More information about the foundations-bugs mailing list