[Logcheck-devel] logcheck releases

maximilian attems debian at sternwelten.at
Tue May 17 18:00:28 UTC 2005


hello todd, hello rhonda, hello jamie, hello everyone else,

we have a pile of fixes in our cvs thanks to jamie,
tried also to keep up, but couldn't beat his rhythm ;)
as all those rules still apply for sarge daemons,
i would consider the following release ideas.

1.2.40 bad bug fix 
-> sarge-proposed-updates

1.2.40 + 1.2.41 all the big bunch
-> unstable
-> volatile

unstable gives us better coverage,
while volatile is a nice service for sarge/stable users.

the only candidate for 1.2.40 was noticed by jamie and me.
we did get permissions wrong on newly installed rules,
i've attached the corresponding patch.
changelog states:
  * Set group ownership on install and on upgrade to catch new rule files.

rhonda is our traditional stable release guy,
could you please look at the patch and give your feedback
on aboves idea.

of course todd and other are welcome to share their point of view? :)

cu maks


-------------- next part --------------
Update of /cvsroot/logcheck/logcheck/debian
In directory haydn:/tmp/cvs-serv16004/debian

Modified Files:
	changelog logcheck.postinst 
Log Message:

new logcheck rule files since 1.2.34 didn't get the logcheck group
permissions, so weren't included in the logcheck-database set.
i was wondering why some events didn't shut up after an upgrade,
where i knew that i had put the relevant rules into.

please let 1.2.39 go into sarge, and push that soon afterwards todd
for doublecheck:
find /etc/logcheck -gid 0 -exec ls -l {} \;
we could use a similar command if we prefer:
find /etc/logcheck -gid 0 -exec chgrp logcheck {} \;
but the one in the postinst is fine.


--- /cvsroot/logcheck/logcheck/debian/changelog	2005/04/28 16:16:46	1.409
+++ /cvsroot/logcheck/logcheck/debian/changelog	2005/04/30 06:53:23	1.410
@@ -18,6 +18,7 @@
   * Added dot to username match in scponly rule.
   * Match more strictly ipv4 address in dhcpd + dhclient rules.
   * Add to ignore.d.server/dhcpd initial udhcpd lines. (Closes: #306388)
+  * Set group ownership on install and on upgrade to catch new rule files.
 
  -- 
 
--- /cvsroot/logcheck/logcheck/debian/logcheck.postinst	2005/04/19 15:54:49	1.35
+++ /cvsroot/logcheck/logcheck/debian/logcheck.postinst	2005/04/30 06:53:24	1.36
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $Id: logcheck.postinst,v 1.35 2005/04/19 15:54:49 ttroxell Exp $
+# $Id: logcheck.postinst,v 1.36 2005/04/30 06:53:24 maks-guest Exp $
 
 set -e
 
@@ -62,11 +62,13 @@
           chown -R logcheck:logcheck /var/lock/logcheck || true
         fi
 
+	# need to be done on install and on upgrade for new rule files
+	chgrp -R logcheck /etc/logcheck || true
+
 	# This gets executed even if there is no $2.
 	if dpkg --compare-versions "$2" lt "1.2.34"; then
     	  # Fix Permissions
     	  chown -R logcheck:logcheck /var/lib/logcheck  || true
-          chgrp -R logcheck /etc/logcheck || true
           chmod 2750 /etc/logcheck/ignore.d.paranoid || true
           chmod 2750 /etc/logcheck/ignore.d.workstation || true
           chmod 2750 /etc/logcheck/ignore.d.server || true

_______________________________________________
Logcheck-commits mailing list
Logcheck-commits at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/logcheck-commits



More information about the Logcheck-devel mailing list