Your message dated Thu, 7 Jul 2005 17:09:25 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#316983: /etc/logrotate.conf should send HUP to syslogd
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Jul 2005 10:23:14 +0000
>From [EMAIL PROTECTED] Tue Jul 05 03:23:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mta09-winn.ispmail.ntl.com [81.103.221.49] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Dpka9-0001Bl-00; Tue, 05 Jul 2005 03:23:13 -0700
Received: from aamta11-winn.ispmail.ntl.com ([81.103.221.35])
          by mta09-winn.ispmail.ntl.com with ESMTP
          id <[EMAIL PROTECTED]>
          for <[EMAIL PROTECTED]>; Tue, 5 Jul 2005 11:22:42 +0100
Received: from ssb22.homeunix.net ([81.104.192.193])
          by aamta11-winn.ispmail.ntl.com with ESMTP
          id <[EMAIL PROTECTED]>
          for <[EMAIL PROTECTED]>; Tue, 5 Jul 2005 11:22:41 +0100
Received: by ssb22.homeunix.net (Postfix, from userid 1000)
        id C4B696D70C; Tue,  5 Jul 2005 11:22:39 +0100 (BST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Silas S. Brown" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: /etc/logrotate.conf should send HUP to syslogd
X-Mailer: reportbug 3.8
Date: Tue, 05 Jul 2005 11:22:39 +0100
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
        HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

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

---------------------------------------
Received: (at 316983-done) by bugs.debian.org; 7 Jul 2005 16:09:29 +0000
>From [EMAIL PROTECTED] Thu Jul 07 09:09:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from nowster.zetnet.co.uk [194.247.42.226] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DqYwK-0004eE-00; Thu, 07 Jul 2005 09:09:28 -0700
Received: from laptop ([192.168.1.254] helo=localhost)
        by nowster.zetnet.co.uk with esmtp (Exim 3.36 #1 (Debian))
        id 1DqYwI-00026N-00
        for <[EMAIL PROTECTED]>; Thu, 07 Jul 2005 17:09:26 +0100
Received: from pm by localhost with local (Exim 4.52)
        id 1DqYwH-0007IR-HN
        for [EMAIL PROTECTED]; Thu, 07 Jul 2005 17:09:25 +0100
Date: Thu, 7 Jul 2005 17:09:25 +0100
From: Paul Martin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#316983: /etc/logrotate.conf should send HUP to syslogd
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Wed, Jul 06, 2005 at 02:18:13PM +0100, Silas S. Brown wrote:

> OK I've figured out what the problem is now.  I use Software
> Suspend in my kernel, and /etc/suspend.conf was set to run

Not a bug in logrotate. <phew!>

-- 
Paul Martin <[EMAIL PROTECTED]>


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

Reply via email to