[Pkg-nagios-devel] nagios changelog,1.35,1.36 nagios-common.nagios.init,1.5,1.6 nagios-common.postinst,1.7,1.8

seanius@haydn.debian.org seanius@haydn.debian.org


Update of /cvsroot/pkg-nagios/nagios
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv3272

Modified Files:
	changelog nagios-common.nagios.init nagios-common.postinst 
Log Message:
the two cosmetic changes i previously made and didn't log, and changing
the rest of the chown calls to use foo:bar instead of foo.bar.

	sean



Index: changelog
===================================================================
RCS file: /cvsroot/pkg-nagios/nagios/changelog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- changelog	9 Feb 2005 04:37:51 -0000	1.35
+++ changelog	9 Feb 2005 04:48:21 -0000	1.36
@@ -9,6 +9,10 @@
       after many reports of check_nagios failing without it
       (closes: #294178, #289830).  thanks to Heno Ivanov <heno@siil.net>
       and jan gregor <pamela@rak.bb.euroweb.sk> for pointing this out.
+    - change calls of chown foo.bar to foo:bar, as the former is
+      deprecated.
+    - restarting the init script no longer issues an extra "Restarting
+      nagios", as it created some confusing output.
 
  -- Sean Finney <seanius@debian.org>  Tue, 08 Feb 2005 23:32:31 -0500
 

Index: nagios-common.nagios.init
===================================================================
RCS file: /cvsroot/pkg-nagios/nagios/nagios-common.nagios.init,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- nagios-common.nagios.init	9 Feb 2005 04:37:51 -0000	1.5
+++ nagios-common.nagios.init	9 Feb 2005 04:48:21 -0000	1.6
@@ -78,7 +78,7 @@
 
 	# Chown the log directory to this user/group so that
 	# Nagios can write there.
-	chown -R $nagios_user.$nagios_group $log_dir
+	chown -R ${nagios_user}:$nagios_group $log_dir
 
 	return 0    # Config is ok
     else

Index: nagios-common.postinst
===================================================================
RCS file: /cvsroot/pkg-nagios/nagios/nagios-common.postinst,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- nagios-common.postinst	6 Feb 2005 00:12:58 -0000	1.7
+++ nagios-common.postinst	9 Feb 2005 04:48:21 -0000	1.8
@@ -121,7 +121,7 @@
 	    echo "file yourself. When you do, it should be called:"
 	    echo "	/etc/nagios/htpasswd.users"
 	    echo "and be mode 0640, owned by root, group www-data."
-	    echo "	chown root.www-data /etc/nagios/htpasswd.users"
+	    echo "	chown root:www-data /etc/nagios/htpasswd.users"
 	    echo "	chmod 0640 /etc/nagios/htpasswd.users"
 	fi