On Tue, Apr 25, 2006 at 11:26:41AM -0700, Vagrant Cascadian wrote:
> On Mon, Apr 24, 2006 at 11:16:03AM +0100, Stephen Gran wrote:
> > This one time, at band camp, Jonas Smedegaard said:
> > > On Sun, 23 Apr 2006 11:44:59 +0100 Stephen Gran wrote:

> > > > Note that it talks about configuration files, not just dpkg conffiles.

> > > Yes. I am well aware of that.

> > Ah, from the way you were talking about 'owning', I assumed you meant
> > something like dpkg -S /etc/kernel-img.conf didn't show anything, so you
> > were thinking it was unowned.  If that's not the case, I apologize.

> > > > Your package directly modifies another package's configuration file,
> > > > instead of using an interface to do so.

> > > Please clarify: Which _single_ package do you believe to own those
> > > configuration files in question?

> > It's fairly clearly kernel-package.  kernel-package ships a sample
> > config file, a man page, and is also responsible for the postinst hooks
> > in the kernel images that mess with kernel-img.conf.

> i have to disagree with this point. i do not have kernel-package
> installed on my system, but i have kernels installed which use
> /etc/kernel-img.conf, which was created by debian-installer.

> kernel-package is a helper utility to create kernel packages, not a
> package that you need installed on most systems, unless you need a
> custom kernel or are a kernel package maintainer.

> that said, i do agree that this probably shouldn't be in the postinst of
> the package :)

s/shouldn't be/must not be/.  You can't claim a well-known config file as
yours just because there's no other package on the system that has done so;
this is still a policy violation, both because it's not your config file to
be editing, and because your postinst script doesn't respect a user's config
on upgrades if the user has *removed* these update-lessdisk-kernels lines.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to