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



Hi,

On Tue, Jul 15, 2003 at 08:16:43PM +1000, Anthony Towns wrote:

> On Tue, Jul 15, 2003 at 07:23:43AM +1000, Herbert Xu wrote:
> > Roger Leigh <roger@whinlatter.uklinux.net> wrote:
> > >> This is a directory owned by the dosemu package and it will ensure its
> > >> removal upon purging.
> > > Why?  Just let dpkg remove the conffiles and, if you really must, do
> > > something *non-destructive* like:
> > dpkg --purge is defined as an operation which removes all traces of a
> > package.  
> 
> 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,
> eg. Similarly, you don't want your web site rm -rf'ed when you --purge
> apache in order to switch to a hand built boa install in /usr/local.
> 
> One way of handling this would be to put user data in the /srv top-level
> directory. Then you can assume stuff is deleted from /etc and /var on
> --remove or --purge, and stuff is only ever deleted from /srv by the
> maintainer.
> 
> /srv is likely to be in the next release of the FHS, and is already in
> use by SuSE and possibly others in (what remains of) the UnitedLinux
> crowd. Note that /srv should probably be treated very similarly to
> /usr/local -- you shouldn't touch stuff in there, or rely on the layout,
> but you might like to make and remove directories in there (but not
> touch their contents).
> 
> (My understanding of the way -policy works atm is that packages should
> simply start using /srv, before we worry about getting it written up
> and standardised)

<chuckle>

See how easy it is to add new top level TLAs?

Incidentally, I still thing /run is a good idea.

(ducks)

Cheers,


Emile.

-- 
E-Advies - Emile van Bergen           emile@e-advies.nl      
tel. +31 (0)70 3906153           http://www.e-advies.nl    

Attachment: pgpdANBfoYAXC.pgp
Description: PGP signature


Reply to: