On Thu, Jun 25, 2009 at 02:31:32PM +0200, Bas Wijnen wrote:
> On Fri, Jun 19, 2009 at 12:25:22AM -0700, Josh Triplett wrote:
> > Upon rechecking Debian Policy, I realized that this behavior represents
> > a violation of Debian Policy 10.7.3
> > <http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.3>.  A
> > package must not ship configuration files in the package as conffiles
> > and then modify them in maintainer scripts.

> I see.  That's a pity, I would have liked to allow users to use debconf,
> but still be able to edit the files by hand in the place where they
> expect them (/etc).  Policy does not seem to allow this.

Yes, it does.  What it doesn't allow is to ship a file *as a conffile* and
edit it with debconf.

You have to copy the config file from a template in /usr/share/$package in
the package postinst.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to