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

Lionel Elie Mamane lmamane at alioth.debian.org
Fri May 22 07:51:45 UTC 2009


Author: lmamane
Date: 2009-05-22 07:51:45 +0000 (Fri, 22 May 2009)
New Revision: 627

Modified:
   trunk/debian/changelog
   trunk/debian/postinst
Log:
Ensure Mailman locks directory exists before calling update (Closes: #513988)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-05-22 07:05:45 UTC (rev 626)
+++ trunk/debian/changelog	2009-05-22 07:51:45 UTC (rev 627)
@@ -6,13 +6,15 @@
     to fix bug it introduces: messages with lines starting with
     "From" are split into several messages in the archive.
   * Use autoconf >= 2.50, not 2.13
+  * Ensure Mailman locks directory exists before calling update
+    (Closes: #513988).
 
   [ Thijs Kinkhorst ]
   * Apply patch from Tanguy Ortolo updating postfix-to-mailman
     instructions to avoid backscatter mail (Closes: #520040).
   * Remove obsolete unicodify_archives for upgrading sarge->etch.
 
- -- Lionel Elie Mamane <lmamane at debian.org>  Fri, 22 May 2009 09:01:11 +0200
+ -- Lionel Elie Mamane <lmamane at debian.org>  Fri, 22 May 2009 09:25:12 +0200
 
 mailman (1:2.1.12-1) unstable; urgency=low
 

Modified: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst	2009-05-22 07:05:45 UTC (rev 626)
+++ trunk/debian/postinst	2009-05-22 07:51:45 UTC (rev 627)
@@ -170,6 +170,9 @@
 		mv /etc/mailman/mm_cfg.py /etc/mailman/mm_cfg.py.old
 		mv /etc/mailman/mm_cfg.py.new /etc/mailman/mm_cfg.py
 	fi
+	if ! [ -d /var/lock/mailman ]; then
+	    install -d -o root -g list -m 2775 /var/lock/mailman
+	fi
 	sg list -c "umask 002; /usr/lib/mailman/bin/update;"
 
 	# fix permissions




More information about the Pkg-mailman-hackers mailing list