Package: logrotate
Version: 3.7-5
Severity: normal

After I upgraded from woody to sarge, syslogd is no longer
signalled when the logs are rotated.  The effect is that
syslogd continues to write to /var/log/syslog.0 instead of
the new /var/log/syslog, and my log tracking scripts (which
assume writes will always go to /var/log/syslog) fails to
catch the new entries.

I worked around the problem by putting the following in
/etc/logrotate.conf and I'm suggesting this should probably be in there by 
default:

/var/log/syslog {
  postrotate
    /usr/bin/killall -HUP syslogd
  endscript
}

/var/log/messages {
  postrotate
    /usr/bin/killall -HUP syslogd
  endscript
}


-- Package-specific info:
Contents of /etc/logrotate.d
total 16
-rw-r--r--  1 root root 366 2005-05-11 10:33 apache
-rw-r--r--  1 root root  79 2005-04-07 14:43 aptitude
-rw-r--r--  1 root root 172 2005-04-19 15:27 cupsys
-rw-r--r--  1 root root 151 2002-01-27 12:54 iptraf


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.23
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_GB)

Versions of packages logrotate depends on:
ii  anacron                     2.3-11       a cron-like program that doesn't g
ii  base-passwd                 3.5.9        Debian base system master password
ii  cron                        3.0pl1-86    management of regular background p
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to