[nfs-utils] Fix nfs server reloads (bz 951247)

Steve Dickson steved at fedoraproject.org
Tue Jul 23 19:14:15 UTC 2013


commit ef189b2be5c3e13c71a17107ef53f0b29c42200f
Author: Steve Dickson <steved at redhat.com>
Date:   Tue Jul 23 14:21:54 2013 -0400

    Fix nfs server reloads (bz 951247)
    
    Signed-off-by: Steve Dickson <steved at redhat.com>

 nfs-server.service |    1 +
 nfs-utils.spec     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/nfs-server.service b/nfs-server.service
index 41a7b48..94be749 100644
--- a/nfs-server.service
+++ b/nfs-server.service
@@ -15,6 +15,7 @@ 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
+ExecReload=/usr/sbin/exportfs -r
 
 [Install]
 WantedBy=nfs.target
diff --git a/nfs-utils.spec b/nfs-utils.spec
index 6bb1384..5329d03 100644
--- a/nfs-utils.spec
+++ b/nfs-utils.spec
@@ -306,6 +306,7 @@ fi
 %changelog
 * Tue Jul 23 2013 Steve Dickson <steved at redhat.com> 1.2.8-2.1
 - Make sure nfs.target is enabled (bz 970595)
+- Fix nfs server reloads (bz 951247)
 
 * Fri May 31 2013 Steve Dickson <steved at redhat.com> 1.2.8-2.0
 - Update to latest upstream RC release: nfs-utils.1.2.9-rc1


More information about the scm-commits mailing list