Re: Bug#201023: dosemu: purging doesmu wipes out all user data under /var/lib/dosemu)
On Tue, Jul 15, 2003 at 07:55:41AM +1000, Herbert Xu wrote:
> On Mon, Jul 14, 2003 at 11:28:42PM +0200, Bas Zoetekouw wrote:
> > IMO, you are totally correct, postrm should never remove user-data (at
> > least not without asking first). AFAIK, other packages that put data
> > in /var/ handle this correctly (apache, mysql, etc).
> That's what some maintainers have chosen to do. This is neither policy
> nor a universally accepted rule. Just grep for 'rm -r' in
> /var/lib/dpkg/info and see what you get.
> The fact is that the purge operation should not be taken lightly.
> It is fundamentally different from remove as all data related that
> package may be deleted.
Related is *way* too broad.
'Purge' should merely remove all traces of the software itself, not of
the data that was created by the software on behalf of the user.
Wherever that data may reside. That data belongs to the user, not to the
E-Advies - Emile van Bergen email@example.com
tel. +31 (0)70 3906153 http://www.e-advies.nl