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

Re: to conffile or not to conffile



On Fri, Oct 19, 2001 at 02:10:02PM -0500, Warren Turkal wrote:
> Why not just create a symlink to a device node /dev/flipit and just
> link it to the right file.
> Warren

Why/how would that help?

   Julian

> On Tue, Oct 16, 2001 at 10:46:52PM -0600, Matt Armstrong wrote:
> > I'm packaging my own program (http://www.lickey.com/flipit/) and have a
> > question about configuration files.
> > 
> > Section 11.7.3 of the Debian Policy Manual states that the configuration
> > files in /etc must be left alone by the maintainer scripts if it is
> > marked a conffile:
> > 
> >     The easy way to achieve this behavior is to make the configuration
> >     file a conffile. This is appropriate only if it is possible to
> >     distribute a default version that will work for most installations,
> >     although some system administrators may choose to modify it. This
> >     implies that the default version will be part of the package
> >     distribution, and must not be modified by the maintainer scripts
> >     during installation (or at any other time). 
> > 
> > So I'm left in a situation where:
> > 
> >     - Policy forbids me from editing the /etc/flipit.conf if I mark it a
> >       conffile.
> >     - The program won't work if /etc/flipit.conf isn't edited.
> >     - I really do want to make it a conffile, so the user is notified of
> >       future options.
> >     - I really do want to ask the user what serial port to use when the
> >       thing is installed.
> > 
> > How do I best resolve this paradox?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
          NEW: Visit http://www.helpthehungry.org/ to do just that
               ALSO  http://www.thehungersite.com/  is back!



Reply to: