Re: --purge and log/spool files

2005-04-06 Thread Ed Shornock
Matthew Palmer wrote: >On Mon, Apr 04, 2005 at 07:17:22PM -0400, Justin Pryzby wrote: > > >>Note that there was a relevant thread on -devel around about last >>October. Someone complained that their thesis was in /var/log/apache/ >> >> > >Stupidity like that must not go unpunished. It's wo

Re: --purge and log/spool files

2005-04-06 Thread Florent Rougon
Michelle Konzack <[EMAIL PROTECTED]> wrote: > I asume, that > > rm -f /var/log/tddyndns/-??.log > > should work in all shells, because the logs are -MM.log. It should work in /bin/sh. http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13 -- Florent --

Re: --purge and log/spool files

2005-04-05 Thread Michelle Konzack
Am 2005-04-05 20:21:14, schrieb David Weinehall: > In this case, with only 2 different alternatives, the best solution > would probably be: > > rm -f /var/log/apache/access.log* /var/log/apache/error.log* I asume, that rm -f /var/log/tddyndns/-??.log should work in all shells, because t

Re: --purge and log/spool files

2005-04-05 Thread David Weinehall
On Tue, Apr 05, 2005 at 05:26:15PM +0200, Florent Rougon wrote: > Justin Pryzby <[EMAIL PROTECTED]> wrote: > > > 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 pac

Re: --purge and log/spool files

2005-04-05 Thread Florent Rougon
Justin Pryzby <[EMAIL PROTECTED]> wrote: > 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 > consider something like rm -f /var/log/apache/

Re: --purge and log/spool files

2005-04-04 Thread Michelle Konzack
Hello Matthew, Am 2005-04-05 09:56:10, schrieb Matthew Palmer: > Stupidity like that must not go unpunished. It's worse than leaving your > pr0n in /tmp and then wondering why it goes bye-bye on the next reboot -- :-) > leaving something in /var/log means you have to become *root* to store it

Re: --purge and log/spool files

2005-04-04 Thread Michelle Konzack
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).

Re: --purge and log/spool files

2005-04-04 Thread Matthew Palmer
On Mon, Apr 04, 2005 at 07:17:22PM -0400, Justin Pryzby wrote: > Note that there was a relevant thread on -devel around about last > October. Someone complained that their thesis was in /var/log/apache/ Stupidity like that must not go unpunished. It's worse than leaving your pr0n in /tmp and the

Re: --purge and log/spool files

2005-04-04 Thread Justin Pryzby
On Tue, Apr 05, 2005 at 01:01:53AM +0200, Michelle Konzack wrote: > Hello, > > I am packing a program which create at its first start the neccessary > config file /etc/program and two directories /var/log/program/ and > /var/spool/program/. > How should the files and directories be handled if I P

--purge and log/spool files

2005-04-04 Thread Michelle Konzack
Hello, I am packing a program which create at its first start the neccessary config file /etc/program and two directories /var/log/program/ and /var/spool/program/. How should the files and directories be handled if I PURGE the Debian Package ? Should I keep the /var/log/program or 'rm -rf /var/