[pkg-dhcp-devel] Bug#673677: isc-dhcp-server: provide a way to _not_ run the server

David Madore david+bugs at madore.org
Sun May 20 16:39:41 UTC 2012

Package: isc-dhcp-server
Version: 4.2.2.dfsg.1-5
Severity: minor

Most Debian packages containing a daemon provide a way to not start
the daemon (for those people who want the daemon binary to be
available for whatever reason, and yet not run it, or at least not run
it with the default init script), typically with a START_DAEMON
variable in /etc/default/$name - not so with isc-dhcp-server.

There are, of course, various ways to avoid starting the server, but
they are generally unsatisfactory: e.g., I tried removing the
/etc/default/isc-dhcp-server script altogether, but it is recreated at
every package upgrade (this broke my network config, incidentally); I
could remove the /etc/init.d/isc-dhcp-server script, but it would
likewise be recreated; replacing it by a symlink to /bin/true might
run afoul of dependency-based boot; replacing it by a trivial script
would make it rather painful to restore if needed; etc.  The best I
found was adding "exit 0" inside /etc/default/isc-dhcp-server but
that's a hack.

So, please provide a clean way to avoid starting the server.  Thanks!

     David A. Madore
   ( http://www.madore.org/~david/ )

More information about the pkg-dhcp-devel mailing list