start-statd: rpc.statd's systemd unit changed names

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2014-05-01 10:49:42 -04:00
parent 93bdd9df9e
commit 2abd2dd759
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 9a36e0227c4dd8c3ebd1fbb313737c9b95fbd7e1 Mon Sep 17 00:00:00 2001
From: Steve Dickson <steved@redhat.com>
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 <steved@redhat.com>
---
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

View File

@ -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 <steved@redhat.com> 1.3.0-1.1
- start-statd: rpc.statd's systemd unit changed names
* Wed Apr 30 2014 Steve Dickson <steved@redhat.com> 1.3.0-1.0
- Updated to latest upstream RC release: nfs-utils-1-3-1-rc1