Your message dated Mon, 3 Dec 2012 13:05:37 +0000
with message-id <[email protected]>
and subject line Re: Bug#695002: howto override the settings for /var/log/wtmp 
in /etc/logrotate.d ?
has caused the Debian Bug report #695002,
regarding howto override the settings for /var/log/wtmp in /etc/logrotate.d ?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
695002: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695002
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: logrotate
Version: 3.7.8-6

short: logrotate complains about duplicate entries for
/var/log/{wtmp,btmp} in /etc/logrotate.d .

long: I have to keep the wtmp and btmp logfiles on all
servers for much longer then just the default (1 month).
For an easy configuration and to avoid a conflict about
/etc/logrotate.conf on the next package upgrade I rolled
out a local /etc/logrotate.d/wtmp.conf on each server:

/var/log/wtmp {
    missingok
    create 0664 root utmp
    yearly
    rotate 100
}

/var/log/btmp {
    missingok
    create 0660 root utmp
    yearly
    rotate 100
}

Since then logrotate complains about the redefined entries
for /var/log/{wtmp,btmp} on each run :-(.

How am I supposed to override the package default
configuration without error messages about duplicate
config settings?


Regards
Harri

--- End Message ---
--- Begin Message ---
On Mon, Dec 03, 2012 at 08:59:08AM +0100, Harald Dunkel wrote:
> How am I supposed to override the package default
> configuration without error messages about duplicate
> config settings?

Yes, edit /etc/logrotate.conf

dpkg will not overwrite it without asking you.

Alternatively, you could use "dpkg-divert /etc/logrotate.conf"

-- 
Paul Martin <[email protected]>

--- End Message ---

Reply via email to