Re: NEVER remove log files without asking
On 16-Aug-04, 09:46 (CDT), Jonas Meurer <email@example.com> wrote:
> sure, but there's a 'hard' way to go (rm -rf /var/log/<foo>), and a
> digressed one (rmdir /var/log/<foo>).
But that never works. For example, apache doesn't ship
/var/log/apache/access_log, but it will be there once apache has been
used, and at that point, rmdir /var/log/apache will fail.
> another solution: add debconf questions about logdir removal at purge
> time in packages storing logs. it is the way many packages currently
> manage database removal.
That's tolerable *if and only if* the question is asked at purge time,
not during the initial install.
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world. -- seen on the net