Re: [RFC] How should rsyslog handle .0 logfiles from sysklogd
Patrick Schönfeld <firstname.lastname@example.org> wrote:
> 2008/9/19 Michael Biebl <email@example.com>:
>> 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.