rpms/rpcbind/devel rpcbind.init,1.8,1.9 rpcbind.spec,1.22,1.23

Steve Dickson (steved) fedora-extras-commits at redhat.com
Wed Oct 17 18:42:11 UTC 2007


Author: steved

Update of /cvs/pkgs/rpms/rpcbind/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26276

Modified Files:
	rpcbind.init rpcbind.spec 
Log Message:
- Reworked logic in initscript so the correct exit is 
  used when networking does not exist or is set up
  incorrectly.



Index: rpcbind.init
===================================================================
RCS file: /cvs/pkgs/rpms/rpcbind/devel/rpcbind.init,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- rpcbind.init	16 Oct 2007 16:11:51 -0000	1.8
+++ rpcbind.init	17 Oct 2007 18:41:39 -0000	1.9
@@ -39,7 +39,7 @@
 		exit 6
 	fi
 	# Check that networking is up.
-	[ "$NETWORKING" = "no" ] && exit 6
+	[ "$NETWORKING" = "yes" ] || exit 6
 	[ -f /sbin/$prog ] || exit 5
 
 	echo -n $"Starting $prog: "


Index: rpcbind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpcbind/devel/rpcbind.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- rpcbind.spec	16 Oct 2007 16:11:51 -0000	1.22
+++ rpcbind.spec	17 Oct 2007 18:41:39 -0000	1.23
@@ -2,7 +2,7 @@
 
 Name:           rpcbind
 Version:        0.1.4
-Release: 		10%{?dist}
+Release: 		11%{?dist}
 Summary:        Universal Addresses to RPC Program Number Mapper
 Group:          System Environment/Daemons
 License:        GPL
@@ -127,6 +127,11 @@
 %dir %attr(700,rpc,rpc) /var/lib/rpcbind
 
 %changelog
+* Wed Oct 17 2007 Steve Dickson <steved at redhat.com> 0.1.4-11
+- Reworked logic in initscript so the correct exit is 
+  used when networking does not exist or is set up
+  incorrectly.
+
 * Tue Oct 16 2007 Steve Dickson <steved at redhat.com> 0.1.4-10
 - Corrected a typo in the initscript from previous 
   commit.




More information about the fedora-extras-commits mailing list