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

Re: --purge and log/spool files



Hello Justin,

Am 2005-04-04 19:17:22, schrieb Justin Pryzby:

> http://www.debian.org/doc/debian-policy/ch-files.html#s10.8

OK

> > Should I keep the /var/log/program or 'rm -rf /var/log/program'.
> 
>   Log files should be removed when the package is purged (but not when
>   it is only removed).

OK

>   This should be done by the postrm script when it is called with the
>   argument purge.

OK

> Note that there was a relevant thread on -devel around about last
> October.  Someone complained that their thesis was in /var/log/apache/
> and was deleted when they purged the package.  As such, you might

Ah yes, I remeber...

> consider something like rm -f /var/log/apache/{access,error}.log*;
> rmdir /var/log/apache/ instead of rm -fr /var/log/apache/.

OK, done.

> Justin

Good night
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: