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

Andrew Pollock apollock at debian.org
Sun May 20 17:41:52 UTC 2012

On Sun, May 20, 2012 at 06:39:41PM +0200, David Madore wrote:
> 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!

Did you consider putting "exit 0" in /etc/default/isc-dhcp-server?

More information about the pkg-dhcp-devel mailing list