[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Policy and conffile editing



On Sat, Feb 24, 2001 at 01:42:01PM +0100, calvin@users.sourceforge.net wrote:

> On Fri, Feb 23, 2001 at 02:02:53PM -0800, Aaron Lehmann wrote:
> > It seems this is at odds with policy, which prohibutes the automated
> > editing of conffiles (such as squid.conf). This is a bit ironic, since
> > asking 'Would you like to enable this package by inserting a line FOO
> > into /etc/squid.conf? [Y/n]' is much cleaner than printing a note 'You
> > must run the script /usr/sbin/setupthispckage to enable this package'.
> > While both of those would acomplish essensially the same thing, only
> > one would be permissible by policy.
> > 
> > What should I do in regards to editing this conffile?
> You should not change (semi-)automatic the squid.conf by asking debconf
> questions. Those changes are vital and the admin should make these changes by
> hand.  Take a look in login.app. It displays a message to change your inittab
> accordingly (change default runlevel for example).

You could, however, make the changes to a copy of the configuration file, so
that if the admin decides to implement your changes, she need only copy that
file over the existing config file.

-- 
 - mdz



Reply to: