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

Re: NEVER remove log files without asking



On 15-Aug-04, 16:28 (CDT), Glenn Maynard <glenn@zewt.org> wrote: 
> I've certainly purged Apache in the past and been extremely irritated to find
> my logs gone, too--for me, Apache logs (including default ones) are like user
> data, not to be deleted lightly.  In retrospect, I should have --removed the
> package and deleted the old configuration by hand.

Or stuck your valuable user data someplace other than /var/log...

> Of course, I'd expect a purge to never delete files that the package didn't
> create at all--that is, if I drop an essay in /var/log/apache accidentally,
> a purge shouldn't touch it.

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.

Steve

-- 
Steve Greenland
    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



Reply to: