On Thu, Sep 21, 2006 at 03:20:24PM +0200, Jeremy Lainé wrote:
> Hi Bill,
> 
> Well spotted. The current use of Debconf by the postrm script serves  
> these  purposes:
> - check what web servers were auto-configured at install to deconfigure them
> - check whether the user asked for site data to be delete on purge
> - retrieve database credentials

Hello Jeremy,
I would expect such data to be available in some configuration file
instead as only in the debconf db, because "Debconf is not a registry".

> Would it be acceptable to only perform the web server config / web  
> site data purge only if /usr/share/debconf/confmodule is present?

I think it would be acceptable since this is a conservative option, but 
using the debconf db for long time storage of important data seems
dangerous. User should be allowed to remove the debconf db without 
affecting the system.

Cheers,
Bill.

Reply via email to