[Pkg-mailman-hackers] Pkg-mailman commit - rev 513 - trunk/debian

Thijs Kinkhorst thijs at alioth.debian.org
Sat Dec 1 16:09:36 UTC 2007


Author: thijs
Date: 2007-12-01 16:09:36 +0000 (Sat, 01 Dec 2007)
New Revision: 513

Modified:
   trunk/debian/changelog
   trunk/debian/mailman.logrotate
Log:
* After logrotate, call 'mailmanctl reopen' instead of sending SIGHUP
  since that is the supported way of rotating logs (Closes: #424620).

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-12-01 15:16:57 UTC (rev 512)
+++ trunk/debian/changelog	2007-12-01 16:09:36 UTC (rev 513)
@@ -7,8 +7,10 @@
   * Do not make /var/log/mailman world-readable, because it can contain
     a bit of semi-private information. Thanks Alexander Gerasiov.
     (Closes: #450927)
+  * After logrotate, call 'mailmanctl reopen' instead of sending SIGHUP
+    since that is the supported way of rotating logs (Closes: #424620).
 
- -- Thijs Kinkhorst <thijs at debian.org>  Sat,  1 Dec 2007 16:15:44 +0100
+ -- Thijs Kinkhorst <thijs at debian.org>  Sat,  1 Dec 2007 17:07:06 +0100
 
 mailman (1:2.1.9-8) unstable; urgency=low
 

Modified: trunk/debian/mailman.logrotate
===================================================================
--- trunk/debian/mailman.logrotate	2007-12-01 15:16:57 UTC (rev 512)
+++ trunk/debian/mailman.logrotate	2007-12-01 16:09:36 UTC (rev 513)
@@ -7,7 +7,7 @@
 	delaycompress
         sharedscripts
         postrotate
-            [ -f '/var/run/mailman/mailman.pid' ] && kill -HUP $(cat /var/run/mailman/mailman.pid) || exit 0
+            [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0
         endscript
 }
 
@@ -20,7 +20,7 @@
 	delaycompress
         sharedscripts
         postrotate
-            [ -f '/var/run/mailman/mailman.pid' ] && kill -HUP $(cat /var/run/mailman/mailman.pid) || exit 0
+            [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0
         endscript
 }
 
@@ -33,7 +33,7 @@
 	delaycompress
         sharedscripts
         postrotate
-            [ -f '/var/run/mailman/mailman.pid' ] && kill -HUP $(cat /var/run/mailman/mailman.pid) || exit 0
+            [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0
         endscript
 }
 
@@ -46,6 +46,6 @@
 	delaycompress
         sharedscripts
         postrotate
-            [ -f '/var/run/mailman/mailman.pid' ] && kill -HUP $(cat /var/run/mailman/mailman.pid) || exit 0
+            [ -f '/var/run/mailman/mailman.pid' ] && /usr/lib/mailman/bin/mailmanctl reopen || exit 0
         endscript
 }




More information about the Pkg-mailman-hackers mailing list