In the postinst you create a temporary file under /tmp and then move it to
/etc/default. However on SE Linux that results in the file being in the type
tmp_dpkg_t because it was created by the postinst script (running as dpkg_t)
in the /tmp directory. The tmp_dpkg_t type is not allowed to be read by the
system init scripts (so dhcp3 server can't start).
One solution to this is to have the temporary file created as
/etc/default/dhcp3-server.new which ensures that it has the right type (and
also removes the need for running a program to create the temporary file - no
other program will use the name /etc/default/dhcp3-server.new).
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com