On Tue, Aug 23, 2005 at 02:09:48PM -0300, Gustavo Noronha Silva wrote:
> Em Seg, 2005-08-22 às 01:32 +0200, Marco d'Itri escreveu:
> > The (still not uploaded) coldplug package conflicts+depends+provides
> > hotplug. The issue is that since all the important parts of hotplug are
> > conffiles they are not deleted when the package is removed, and this
> > is bad (as in "the system will probably not boot" bad).

> I can't understand why that would be the case; could you please
> elaborate?

> > Does a way to force purging the package exist?
> > Is there anything else I can do, other than deleting the files in the
> > hotplug postinst?

> I think you should simply not be going that way; the conffiles are to
> remain, you should not be touching them. I think I'd go for a 'move them
> aside to some kind of backup place and warn the admin by email (debconf
> note)'.

If you do that, how do you ensure that these two cases are both handled
sanely?:

- after installing the coldplug package, the admin purges the hotplug
  package, and later reinstalls it (removing coldplug)
- after installing the coldplug package, the admin reinstalls hotplug
  (removing coldplug), expecting this to give a hotplug package with a
  working config

Since the principal reason for preserving these unmodified conffiles would
surely be so that they could be restored later, both scenarios seem
relevant.

-- 
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