On Wed, Jan 27, 2010 at 11:57:39AM -0800, Josh Triplett wrote:
> pioneers-console now no longer contains the meta server (thanks for
> that!).  However, after upgrading pioneers-console I still had
> /etc/init.d/pioneers-console, /etc/rc?.d symlinks to it, and
> /etc/default/pioneers-console.

AFAIK, this is the intended behaviour of dpkg (except for the /etc/rc?.d
symlinks).

> dpkg does not remove configuration files that disappear, so the
> package needs to do that.

But the package shouldn't touch configuration files in ways that may
make the user lose hand-made changes.

> Even after purging and reinstalling the package (to make the removed
> configuration files go away), the runlevel symlinks still exist; the
> package needs to remove those too.

Yes, this is definitely a bug.  I'll fix that.

> In both cases, the appropriate logic should appear in the maintainer
> scripts, conditional on an upgrade from 0.12.3-1 or earlier.

Do you have pointers to descriptions of appropriate behaviour in this
case (preferrably to Policy)?  My intuition says that the configuration
files should only be removed on purge, and they are without action from
the maintainer scripts.

Thanks,
Bas

Attachment: signature.asc
Description: Digital signature

Reply via email to