Re: NEVER remove log files without asking
On Mon, Aug 16, 2004 at 08:36:45AM -0500, Steve Greenland wrote:
> On 16-Aug-04, 01:40 (CDT), "Jamin W. Collins" <firstname.lastname@example.org> wrote:
> > On Sun, Aug 15, 2004 at 06:19:51PM -0500, Steve Greenland wrote:
> > >
> > > I'd think that calling a directory /var/log/apache is a pretty big hint
> > > that the apache package "owns" it, and anything under it is presumed to
> > > be package data, not user data.
> > Incorrect, the apache package does *not* _own_ the contents of
> > /var/log/apache, the system admin does. If that admin puts _anything_
> > in that directory for _whatever_ reason it should not be removed when
> > the apache package is purged.
> By that argument, NO packages should rm their log files when purged.
> After all, the admins own /var/log, and they put files there, by their
> choices in configuration files.
> But they do get removed. Policy requires it: Section 10.8 says "Log
> files should be removed when the package is purged."
Removing log files that the package creates is completely different from
'rm -fr $path'.
Jamin W. Collins
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo