[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#201023: dosemu: purging doesmu wipes out all user data under /var/lib/dosemu)



On Tue, Jul 15, 2003 at 09:54:16PM +1000, Herbert Xu wrote:
> Anthony Towns <aj@azure.humbug.org.au> wrote:
> > And all configuration files, but not all user data. When you purge emacs,
> > you don't also remove all the text files that you've written with emacs,
> Sure, but then you don't put them in /var/lib/emacs do you?
> dosemu is not the only package which removes /var/lib/<package-name>
> when it is purged.

You shouldn't be purging data that people have created; which either
means you shouldn't be rm -rf'ing /var/lib/whatever, or people shouldn't
be putting data they want preserved in /var/lib/whatever. I'm strongly
inclined to encouraging people to use /srv and /home for their data
(including through debconf support at install or defaults); but at the
moment we encourage people to use /var with things like /var/www and
so on.

> If there really is a consensus on this, then all packages should be
> changed.  Doing this on an ad hoc basis is akin to aliasing rm
> to 'rm -i'.

You should either delete it (people shouldn't put it there in the first
place), or not delete it (it's not part of my package, so I'll just
ignore it), not ask. IMAO, anyway.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

       ``Is this some kind of psych test?
                      Am I getting paid for this?''

Attachment: pgppVnXt_ugEC.pgp
Description: PGP signature


Reply to: