[nfs-utils] Allow the service to start when RPCNFSDCOUNT is comment out. (bz 870143)

Steve Dickson steved at fedoraproject.org
Thu Nov 8 14:53:45 UTC 2012


commit 905f51b12268fc4b68f706dfcb1983335be655fe
Author: Steve Dickson <steved at redhat.com>
Date:   Thu Nov 8 09:41:58 2012 -0500

    Allow the service to start when RPCNFSDCOUNT is comment out. (bz 870143)
    
    Signed-off-by: Steve Dickson <steved at redhat.com>

 nfs-server.service |    2 +-
 nfs-utils.spec     |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nfs-server.service b/nfs-server.service
index 95ade87..4e3be45 100644
--- a/nfs-server.service
+++ b/nfs-server.service
@@ -11,7 +11,7 @@ StandardError=syslog+console
 EnvironmentFile=-/etc/sysconfig/nfs
 ExecStartPre=/usr/lib/nfs-utils/scripts/nfs-server.preconfig
 ExecStartPre=/usr/sbin/exportfs -r
-ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS ${RPCNFSDCOUNT}
+ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS $RPCNFSDCOUNT
 ExecStartPost=-/usr/lib/nfs-utils/scripts/nfs-server.postconfig
 ExecStop=/usr/sbin/rpc.nfsd 0
 ExecStopPost=/usr/sbin/exportfs -f
diff --git a/nfs-utils.spec b/nfs-utils.spec
index e938995..4426d49 100644
--- a/nfs-utils.spec
+++ b/nfs-utils.spec
@@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
 Name: nfs-utils
 URL: http://sourceforge.net/projects/nfs
 Version: 1.2.6
-Release: 13%{?dist}
+Release: 14%{?dist}
 Epoch: 1
 
 # group all 32bit related archs
@@ -301,6 +301,9 @@ fi
 %attr(4755,root,root)   /sbin/umount.nfs4
 
 %changelog
+* Thu Nov  8 2012 Steve Dickson <steved at redhat.com> 1.2.6-14
+- Allow the service to start when RPCNFSDCOUNT is comment out. (bz 870143)
+
 * Mon Oct 15 2012 Steve Dickson <steved at redhat.com> 1.2.6-13
 - Added a Requires for the quota package (bz 866225)
 


More information about the scm-commits mailing list