From 83a4726236a17c9180bda1ff9f44a37a61e111c5bb1acdad96962d6ee3c0965d Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 3 Jun 2014 12:56:14 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=121 --- nfs-utils.changes | 6 ++++++ nfs.init | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/nfs-utils.changes b/nfs-utils.changes index 2cfda95..ba041ce 100644 --- a/nfs-utils.changes +++ b/nfs-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 3 12:55:16 UTC 2014 - werner@suse.de + +- Check if systemd is listen on local socket 111 to trigger the + start of the rpcbind.service on demand (bnc#860246) + ------------------------------------------------------------------- Wed May 14 02:40:01 UTC 2014 - nfbrown@suse.com diff --git a/nfs.init b/nfs.init index 2eecc40..190fadc 100644 --- a/nfs.init +++ b/nfs.init @@ -117,7 +117,9 @@ fi check_portmap() { # check if either portmap or rpcbind is running - if test -x /sbin/portmap && checkproc /sbin/portmap + if test -x /sbin/rpcinfo && /sbin/rpcinfo -a 0.0.0.0.0.111 -T tcp 100000 > /dev/null 2>&1 + then true + elif test -x /sbin/portmap && checkproc /sbin/portmap then true elif test -x /sbin/rpcbind && checkproc /sbin/rpcbind then true