Re: to conffile or not to conffile
Why not just create a symlink to a device node /dev/flipit and just
link it to the right file.
Warren
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?
>
> --
> matt
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: