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

Re: NEVER remove log files without asking



On Mon, Aug 16, 2004 at 03:57:45PM -0500, Steve Greenland wrote:
>
> It seems a lot easier to say "Hey, admin person: when a package
> creates a subdir of /var/log, you can expect it to remove everything
> under it when it's purged; adjust your configuration and expectations
> accordingly" than "well, you need to read the package's postrm to
> determine what file names it might leave around when it's purged."

And what about other directories?  Such as /var/lib/$package/ or
/usr/share/$package/, is the admin to assume that these directories are
also sacrosanct and owned by the package?  That their sub-directories or
contents can be removed even though the files may not have been created
by the package?

Err on the side of caution, don't blindly remove directories that may
contain files your package didn't put there.  If you're not very certain
the files were created by your package don't remove them.

-- 
Jamin W. Collins

Facts do not cease to exist because they are ignored. -- Aldous Huxley,
"Proper Studies", 1927



Reply to: