Re: Advice about cfengine2 package
Andrew Stribblehill <a.d.stribblehill@durham.ac.uk> wrote:
[...]
> * Put a debconf message into the package warning that the behaviour
> has changed. Write one init script. Allow the user to configure
> which daemons start at boot-time by editing /etc/default/cfengine2
> which contains RUN_CFEXECD=0; RUN_CFENVD=1; ...
Hello,
This sounds like a nice solution, but is the debconf message really
needed, why can't you just ship it with all daemons off by default?
> * As above, but manage /etc/default/cfengine2 by debconf.
Don't do this unless you cannot ship with sane defaults. For example "all
daemons off".
> If I do this, must this file not be a conffile?
Yes, and you have to parse the file in the debconf script to preserve
user-changes outside debconf. See debconf-devel(7) for a tutorial.
cu andreas (no dd yet)
Reply to: