Re: [RFC] How should rsyslog handle .0 logfiles from sysklogd
Patrick Schönfeld <email@example.com> wrote:
> 2008/9/19 Michael Biebl <firstname.lastname@example.org>:
>> 3.) Delete the .0 files in postinst. Is this covered by the policy?
> Not without a backup or asking the user first. You could ask the user
> via debconf. I think this is a case, which would justify it.
I disagree that asking is a valid option. The right thing to do is to
keep the latest n files, asking before deleting the second newest one
does not make it the right thing.