[Logcheck-commits] CVS logcheck/debian

CVS User maks-guest logcheck-devel at lists.alioth.debian.org
Sat Mar 18 17:34:54 UTC 2006


Update of /cvsroot/logcheck/logcheck/debian
In directory haydn:/tmp/cvs-serv3999/debian

Modified Files:
	changelog logcheck.postinst 
Log Message:

add $LOCKDIR, use it and create it on startup if removed.
fix permission of $LOCKDIR on upgrade.
bonus removed gratious whitespace


--- /cvsroot/logcheck/logcheck/debian/changelog	2006/03/10 00:27:46	1.556
+++ /cvsroot/logcheck/logcheck/debian/changelog	2006/03/18 17:34:53	1.557
@@ -9,8 +9,12 @@
     in postinst.
   * src/logcheck: $SENDMAILTO escape it properly so that multiple senders
     can be specified.
+  * src/logcheck: Make shure we always have an $LOCKFILEDIR as Ubuntu
+    purges lock dir on startup. Thanks Dave Love <fx at gnu.org> for the patch.
+    (closes: #357039)
+  * debian/logcheck.postinst: 755 is fine as permissions for $LOCKFILEDIR.
 
- -- maximilian attems <maks at sternwelten.at>  Fri, 10 Mar 2006 01:19:46 +0100
+ -- maximilian attems <maks at sternwelten.at>  Sat, 18 Mar 2006 18:27:13 +0100
 
 logcheck (1.2.43a) unstable; urgency=low
 
--- /cvsroot/logcheck/logcheck/debian/logcheck.postinst	2006/02/23 22:03:03	1.45
+++ /cvsroot/logcheck/logcheck/debian/logcheck.postinst	2006/03/18 17:34:54	1.46
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $Id: logcheck.postinst,v 1.45 2006/02/23 22:03:03 maks-guest Exp $
+# $Id: logcheck.postinst,v 1.46 2006/03/18 17:34:54 maks-guest Exp $
 
 set -e
 
@@ -72,7 +72,7 @@
 	# Fix permissions for lock on install or upgrade
 	if [ ! -n "$2" ] || dpkg --compare-versions "$2" lt "1.2.39"; then
           chown -R logcheck:logcheck /var/lock/logcheck || true
-	  chmod 775 /var/lock/logcheck || true
+	  chmod 755 /var/lock/logcheck || true
         fi
 
 	# need to be done on install and on upgrade for new rule files



More information about the Logcheck-commits mailing list