cca6a29bd3
Our start-statd doesn't work in a systemd environment (bnc#852984) - use .xz from upstream, that is what kernel.org prefers and it is smaller OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=125
21 lines
558 B
Diff
21 lines
558 B
Diff
1/ use correct patch for systemctl
|
|
2/ use correct name for rpc-statd.service
|
|
|
|
---
|
|
utils/statd/start-statd | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- nfs-utils-1.3.0.orig/utils/statd/start-statd
|
|
+++ nfs-utils-1.3.0/utils/statd/start-statd
|
|
@@ -4,8 +4,8 @@
|
|
# /var/run/rpc.statd.pid).
|
|
# It should run statd with whatever flags are apropriate for this
|
|
# site.
|
|
-PATH=/sbin:/usr/sbin
|
|
-if systemctl start statd.service
|
|
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
+if systemctl start rpc-statd.service
|
|
then :
|
|
else
|
|
exec rpc.statd --no-notify
|