rpms/ypserv/F-7 ypserv-yppasswdd.init, 1.4, 1.5 ypserv-ypserv.init, 1.6, 1.7 ypserv-ypxfrd.init, 1.3, 1.4 ypserv.spec, 1.36, 1.37

Steve Dickson (steved) fedora-extras-commits at redhat.com
Sat Sep 15 17:37:44 UTC 2007


Author: steved

Update of /cvs/pkgs/rpms/ypserv/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17276

Modified Files:
	ypserv-yppasswdd.init ypserv-ypserv.init ypserv-ypxfrd.init 
	ypserv.spec 
Log Message:
Fixed init scripts to return correct exit code on
'service status' (bz 248097)



Index: ypserv-yppasswdd.init
===================================================================
RCS file: /cvs/pkgs/rpms/ypserv/F-7/ypserv-yppasswdd.init,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ypserv-yppasswdd.init	9 Sep 2004 15:15:29 -0000	1.4
+++ ypserv-yppasswdd.init	15 Sep 2007 17:37:13 -0000	1.5
@@ -64,6 +64,7 @@
 	;;
   status)
 	status rpc.yppasswdd
+	RETVAL=$?
 	;;
   restart|reload)
 	stop


Index: ypserv-ypserv.init
===================================================================
RCS file: /cvs/pkgs/rpms/ypserv/F-7/ypserv-ypserv.init,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ypserv-ypserv.init	9 Sep 2004 15:15:29 -0000	1.6
+++ ypserv-ypserv.init	15 Sep 2007 17:37:13 -0000	1.7
@@ -59,6 +59,7 @@
 	;;
   status)
 	status ypserv
+	RETVAL=$?
 	;;
   restart|reload)
 	stop


Index: ypserv-ypxfrd.init
===================================================================
RCS file: /cvs/pkgs/rpms/ypserv/F-7/ypserv-ypxfrd.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ypserv-ypxfrd.init	25 Jul 2006 20:28:41 -0000	1.3
+++ ypserv-ypxfrd.init	15 Sep 2007 17:37:13 -0000	1.4
@@ -46,6 +46,7 @@
 	;;
   status)
 	status rpc.ypxfrd
+	RETVAL=$?
 	;;
   restart|reload)
 	stop


Index: ypserv.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ypserv/F-7/ypserv.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- ypserv.spec	31 Jul 2007 13:20:37 -0000	1.36
+++ ypserv.spec	15 Sep 2007 17:37:13 -0000	1.37
@@ -4,7 +4,7 @@
 Url: http://www.linux-nis.org/nis/ypserv/index.html
 Name: ypserv
 Version: 2.19
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPL
 Group: System Environment/Daemons
 Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2
@@ -138,6 +138,10 @@
 %{_includedir}/*/*
 
 %changelog
+* Sat Sep 15 2007 Steve Dickson <steved at redhat.com> 2.19-6
+- Fixed init scripts to return correct exit code on
+ 'service status' (bz 248097)
+
 * Tue Jul 31 2007 Steve Dickson <steved at redhat.com> 2.19-5
 - Changed install process to create an useful debuginfo package (bz 249961)
 




More information about the scm-commits mailing list