Hi, On Tue, Jul 15, 2003 at 10:52:35PM +0200, Sam Hocevar wrote: > On Tue, Jul 15, 2003, Herbert Xu wrote: > > > dosemu is not the only package which removes /var/lib/<package-name> > > when it is purged. > > Isn't that a policy violation anyway? Another package might be > using /var/lib/<package-name> for any reason. And the user may do so, who is arguably more important than any package whatsoever. (S)he should also be allowed to put data anywhere. Therefore, no /directory/ is ever solely owned by any package, by definition. That means that rm -rf is *always* wrong in a postrm. Directories that are created by the package during installation or operation should only be removed if they are empty after removing the package's files. Policy doesn't seem to put it as strongly, but I sure think it should. Cheers, Emile. -- E-Advies - Emile van Bergen emile@e-advies.nl tel. +31 (0)70 3906153 http://www.e-advies.nl
Attachment:
pgpCdxJB0MYo2.pgp
Description: PGP signature