rpcbind: don't use '-w' for starting rpcbind
v4 cover rpcbind: don't use '-w' for starting rpcbind
From: Wenzong Fan <[email protected]>
V4 changes:
* update commit logs
The following changes since commit fc45deac89ef63ca1c44e763c38ced7dfd72cbe1:
build-appliance-image: Update to jethro head revision (2015-11-03 14:03:03 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib wenzong/rpcbind
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/rpcbind
Li Wang (1):
rpcbind: don't use '-w' for starting rpcbind
meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH v4 1/1 rpcbind: don't use '-w' for starting rpcbind
From: Li Wang <[email protected]>
While runing:
$ systemctl restart rpcbind $ systemctl status rpcbind
There are errors like below:
rpcbind[1722]: Cannot open '/tmp/rpcbind.xdr' file for reading, \
errno 2 (No such file or directory)
rpcbind[1722]: Cannot open '/tmp/portmap.xdr' file for reading, \
errno 2 (No such file or directory)
'-w' causes rpcbind to do a "warm start" by read a state file when rpcbind starts up. The state file is created when rpcbind terminates.
The state file is not always there, the patch refers to:
https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833
--- meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/rpcbind/rpcbind/rpcbind.service +1 -1
@@ -5,7 +5,7 @@ Requires=rpcbind.socket [Service] Type=forking EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf -ExecStart=@SBINDIR@/rpcbind -w $RPCBIND_OPTS +ExecStart=@SBINDIR@/rpcbind $RPCBIND_OPTS SuccessExitStatus=2 [Install]
Signature · 1 line
1.9.1