On Sat, Jan 12, 2008 at 11:36:47AM +0100, Toni Mueller wrote: > > Hi Andrew, > > On Sat, 12.01.2008 at 06:08:23 +1000, Andrew Pollock <[EMAIL PROTECTED]> > wrote: > > Would refusing the start if the md5sum/sha1sum of /etc/dhcp3/dhcpd.conf was > > the same as the one shipped in the package be too outlandish? > > I think that this would not solve the problem because I also want to > not start the server in some other cases. By having an option in > /etc/default/dhcp3-server, you also shift the blame to the individual > administrator w/o jumping through obscure hoops with checksums and > whatnot.
Well I think that goes against the general behaviour of Debian packages that are servers. The general logic seems to be that if you want a server package installed, you want it running. I think you'll find that most servers are started in the postinst. I think the correct way to achieve what you're asking for is via a policy script for invoke-rc.d regards Andrew
signature.asc
Description: Digital signature