Re: Question about vestigial file
On Wed, Oct 31, 2007 at 05:37:33PM -0400, Roberto C. Sánchez wrote:
> I've created some new shorewall packages. As part of this, shorewall
> itself has turned into a dummy package and there is now a
> shorewall-common package which has taken (most of) shorewall's old
> contents. The old shorewall package installed
> /etc/logrotate.d/shorewall and I have it as
> /etc/logrotate.d/shorewall-common in the new package.
>
> After upgrading (shorewall is a transitional package which depends on
> shorewall-shell, which then depends on shorewall-common) and purging, I
> have /etc/logrotate.d/shorewall and /etc/logrotate.d/shorewall-common
> both existing.
>
> Now I get this in my mail every morning from cron: "error:
> shorewall-common:1 duplicate log entry for /var/log/shorewall-init.log".
> I'm not sure how to properly rid myself of the former. Any ideas how
> fix this without ugly stuff like 'rm -f /etc/logrotate.d/shorewall' in a
> maintainer script?
Simply not rename the file? Everything else I could propose will be much
worse...
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Reply to: