From 2abd2dd759e959f9ec6b238398826e62f09426dc Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Thu, 1 May 2014 10:49:42 -0400 Subject: [PATCH] start-statd: rpc.statd's systemd unit changed names Signed-off-by: Steve Dickson --- nfs-utils-1.3.0-start-statd.patch | 26 ++++++++++++++++++++++++++ nfs-utils.spec | 7 ++++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 nfs-utils-1.3.0-start-statd.patch diff --git a/nfs-utils-1.3.0-start-statd.patch b/nfs-utils-1.3.0-start-statd.patch new file mode 100644 index 0000000..b86b137 --- /dev/null +++ b/nfs-utils-1.3.0-start-statd.patch @@ -0,0 +1,26 @@ +From 9a36e0227c4dd8c3ebd1fbb313737c9b95fbd7e1 Mon Sep 17 00:00:00 2001 +From: Steve Dickson +Date: Thu, 1 May 2014 10:35:12 -0400 +Subject: [PATCH] start-statd: rpc.statd's systemd unit changed names. + +Signed-off-by: Steve Dickson +--- + utils/statd/start-statd | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/statd/start-statd b/utils/statd/start-statd +index 8ac3798..dcdaf77 100644 +--- a/utils/statd/start-statd ++++ b/utils/statd/start-statd +@@ -5,7 +5,7 @@ + # It should run statd with whatever flags are apropriate for this + # site. + PATH="/sbin:/usr/sbin:/bin:/usr/bin" +-if systemctl start statd.service ++if systemctl start rpc-statd.service + then : + else + exec rpc.statd --no-notify +-- +1.9.0 + diff --git a/nfs-utils.spec b/nfs-utils.spec index 885eb46..371a364 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.3.0 -Release: 1.0%{?dist} +Release: 1.1%{?dist} Epoch: 1 # group all 32bit related archs @@ -15,6 +15,7 @@ Source2: nfs.sysconfig Source3: nfs-utils_env.sh Patch001: nfs-utils-1.3.1-rc1.patch +Patch002: nfs-utils-1.3.0-start-statd.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch @@ -73,6 +74,7 @@ This package also contains the mount.nfs and umount.nfs program. %setup -q %patch001 -p1 +%patch002 -p1 %patch100 -p1 %patch101 -p1 @@ -281,6 +283,9 @@ fi /sbin/umount.nfs4 %changelog +* Thu May 1 2014 Steve Dickson 1.3.0-1.1 +- start-statd: rpc.statd's systemd unit changed names + * Wed Apr 30 2014 Steve Dickson 1.3.0-1.0 - Updated to latest upstream RC release: nfs-utils-1-3-1-rc1