From bounce-debian-bugs-closed=ddc=ddc.chris-lamb.co.uk@lists.debian.org Sun Apr 20 12:59:43 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-closed=ddc=ddc.chris-lamb.co.uk@lists.debian.org>)
	id 1JnYCn-0006oy-TX
	for ddc@ddc.chris-lamb.co.uk; Sun, 20 Apr 2008 12:59:43 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 966E713A4F7C; Sun, 20 Apr 2008 11:59:36 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Original-To: debian-bugs-closed@lists.debian.org
Delivered-To: lists-debian-bugs-closed@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id 0B0E113A4F51;
	Sun, 20 Apr 2008 11:59:35 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1JnYAJ-0005Qf-R1; Sun, 20 Apr 2008 11:57:03 +0000
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Marc Haber <mh+debian-packages@zugschlus.de>
Subject: Bug#476958: marked as done (exim4 logrotate do not restart exim)
Message-ID: <handler.476958.D476958.12086924289485.ackdone@bugs.debian.org>
References: <20080420115346.GA15131@torres.zugschlus.de>
 <20080420114251.GA13050@ikki.ethgen.de>
X-Debian-PR-Message: closed 476958
X-Debian-PR-Package: exim4-base
X-Debian-PR-Source: exim4
Content-Type: multipart/mixed; boundary="----------=_1208692623-20829-0"
Sender: Debian BTS <debbugs@rietz.debian.org>
Date: Sun, 20 Apr 2008 11:57:03 +0000
X-Debian-Message: from BTS
Resent-Message-ID: <uDkEqHbo_OJ.A.XpB.oAzCIB@liszt>
Resent-From: debian-bugs-closed@lists.debian.org
X-Mailing-List: <debian-bugs-closed@lists.debian.org> archive/latest/132980
X-Loop: debian-bugs-closed@lists.debian.org
List-Id: <debian-bugs-closed.lists.debian.org>
List-Post: <mailto:debian-bugs-closed@lists.debian.org>
List-Help: <mailto:debian-bugs-closed-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-closed-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-closed-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-closed-request@lists.debian.org
Resent-Date: Sun, 20 Apr 2008 11:59:36 +0000 (UTC)
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -2.4
X-Spam-Report: (-2.4 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]
	0.2 AWL                    AWL: From: address is in the auto white-list

This is a multi-part message in MIME format...

------------=_1208692623-20829-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8


Your message dated Sun, 20 Apr 2008 13:53:46 +0200
with message-id <20080420115346.GA15131@torres.zugschlus.de>
and subject line Re: Bug#476958: exim4 logrotate do not restart exim
has caused the Debian Bug report #476958,
regarding exim4 logrotate do not restart exim
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 owner@bugs.debian.org
immediately.)


--=20
476958: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D476958
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1208692623-20829-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 20 Apr 2008 11:43:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 
	(2006-07-26) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.4 required=4.0 tests=BAYES_00,FORGED_RCVD_HELO,
	FOURLA,FVGT_m_MULTI_ODD,HAS_PACKAGE,MURPHY_WRONG_WORD1,
	MURPHY_WRONG_WORD2 autolearn=no 
	version=3.1.4-bugs.debian.org_2005_01_02
Return-path: <Klaus@Ethgen.de>
Received: from toomai.ethgen.de ([85.10.201.50])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <Klaus@Ethgen.de>)
	id 1JnXwi-0001gK-Rh
	for submit@bugs.debian.org; Sun, 20 Apr 2008 11:43:02 +0000
Received: from static-195-068.catv.glattnet.ch ([80.242.195.68] helo=ikki.ket)
	by toomai.ethgen.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <klaus@ethgen.de>)
	id 1JnXwb-0006La-Ty; Sun, 20 Apr 2008 13:42:54 +0200
Received: from klaus by ikki.ket with local (Exim 4.63)
	(envelope-from <klaus@ikki.ethgen.de>)
	id 1JnXwb-0003Rw-7Y; Sun, 20 Apr 2008 13:42:53 +0200
Date: Sun, 20 Apr 2008 13:42:53 +0200
From: Klaus Ethgen <Klaus@Ethgen.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Bcc: Klaus Ethgen <Klaus@Ethgen.de>
Subject: exim4 logrotate do not restart exim
Message-ID: <20080420114251.GA13050@ikki.ethgen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; x-action=pgp-signed
Content-Disposition: inline
X-Reportbug-Version: 3.31
User-Agent: Mutt/1.5.17 (2007-11-01)
Delivered-To: submit@bugs.debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: exim4-base
Version: 4.63-17
Severity: normal

On one of my hosts sometimes I get the message from it that exim holds
the deleted file /var/log/exim4/mainlog.1 open. So it seems for me that
it is not gracefully restart at the end of logrotate.

So please do the following to not log messages to a deleted file.

- --- exim4-base.orig	2007-12-10 20:26:47.000000000 +0100
+++ exim4-base	2008-04-20 13:36:21.000000000 +0200
@@ -6,6 +6,10 @@
 	delaycompress
 	notifempty
 	create 640 Debian-exim adm
+        sharedscripts
+        postrotate
+            [ -f '/var/run/exim4/exim.pid' ] && /etc/init.d/exim restart || :
+        endscript
 }
 
 /var/log/exim4/paniclog {
@@ -16,5 +20,9 @@
 	delaycompress
 	notifempty
 	create 640 Debian-exim adm
+        sharedscripts
+        postrotate
+            [ -f '/var/run/exim4/exim.pid' ] && /etc/init.d/exim restart || :
+        endscript
 }
 

- -- Package-specific info:
Exim version 4.63 #1 built 20-Jan-2007 10:40:39
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated

- -- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (60, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.36.2
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)

Versions of packages exim4-base depends on:
ii  adduser                3.102             Add and remove users and groups
ii  cron                   3.0pl1-100        management of regular background p
ii  debconf [debconf-2.0]  1.5.20            Debian configuration management sy
ii  exim4-config [exim4-co 4.63-17           configuration for the exim MTA (v4
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libdb4.3               4.3.29-8          Berkeley v4.3 Database Libraries [
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  netbase                4.29              Basic TCP/IP networking system

Versions of packages exim4-base recommends:
ii  psmisc                        22.3-1     Utilities that use the proc filesy

- -- debconf information:
  exim4/purge_spool: false
  exim4-base/drec:
  exim4/move_exim3_spool: false

- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSAssO5+OKpjRpO3lAQKfJAgAhZhgrrG+MTXYXhIyTkRtzffV+XSwN17x
w9KgV0SayXLazaWeLzR0Pb+7gwzPVYca9+/so4rCBvK7IQguFvmJYX87iiigCuHp
CHPhtau5y8UscMzxAF991YKRXdk48HBlHpUcF4JW0IsTNguKKaKR7gXnC/uSKLg7
+HQ8xEskYUE8M/v/tj7vJaD6dBfa9Iu7p5Q0lq6JFtDbra9O3qiN3L32hfDElaMq
T5WthyuEWmiXBlzHrARTzm7yP/XrVuLQHvFGLYcg/WKUumIeNNv5l+DrD7Rx9Mk0
8IG5sZ+oZbZy5yDGPUe+i+S191R51cRq2LET2dYFjJlKY807Ea0ctA==
=SltX
-----END PGP SIGNATURE-----



------------=_1208692623-20829-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 476958-done) by bugs.debian.org; 20 Apr 2008 11:53:48 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 
	(2006-07-26) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=4.0 tests=BAYES_00,FOURLA,
	HAS_BUG_NUMBER autolearn=no version=3.1.4-bugs.debian.org_2005_01_02
Return-path: <mh+debian-packages@zugschlus.de>
Received: from torres.zugschlus.de ([85.214.68.41])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <mh+debian-packages@zugschlus.de>)
	id 1JnY7A-0002PV-9C
	for 476958-done@bugs.debian.org; Sun, 20 Apr 2008 11:53:48 +0000
Received: from mh by torres.zugschlus.de with local (Exim 4.69)
	(envelope-from <mh+debian-packages@zugschlus.de>)
	id 1JnY78-00045v-7F; Sun, 20 Apr 2008 13:53:46 +0200
Date: Sun, 20 Apr 2008 13:53:46 +0200
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: Klaus Ethgen <Klaus@Ethgen.de>, 476958-done@bugs.debian.org
Subject: Re: Bug#476958: exim4 logrotate do not restart exim
Message-ID: <20080420115346.GA15131@torres.zugschlus.de>
References: <20080420114251.GA13050@ikki.ethgen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20080420114251.GA13050@ikki.ethgen.de>
User-Agent: Mutt/1.5.13 (2006-08-11)

On Sun, Apr 20, 2008 at 01:42:53PM +0200, Klaus Ethgen wrote:
> On one of my hosts sometimes I get the message from it that exim holds
> the deleted file /var/log/exim4/mainlog.1 open. So it seems for me that
> it is not gracefully restart at the end of logrotate.

Please read spec.txt 49.2 and explain what exim does wrong in your
opinion. Re-open the bug just in case the specification is flawed, and
please elaborate how restarting the SMTP listener daemon might affect
long-running delivery processes.

Greetins
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190


------------=_1208692623-20829-0--


-- 
To UNSUBSCRIBE, email to debian-bugs-closed-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


