summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Wang <li.wang@windriver.com>2015-11-07 01:43:19 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 07:50:32 +0000
commit6ec7dc2c388da0b12a5d894e2abf57ff1b3d90ac (patch)
treefdc86ac8a5c3f426aa8a5a01c10b2d08c861bf28
parenteddd88fadc84a4108df72639cc720a9a69c9f9d1 (diff)
downloadpoky-6ec7dc2c388da0b12a5d894e2abf57ff1b3d90ac.tar.gz
rpcbind: don't use '-w' for starting rpcbind
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 (From OE-Core rev: 3d32a8a1fd90ca68b0d74d86165c8f3668faedcd) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind/rpcbind.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
index b3ae2541a0..9cdade4959 100644
--- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
+++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
@@ -5,7 +5,7 @@ Requires=rpcbind.socket
5[Service] 5[Service]
6Type=forking 6Type=forking
7EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf 7EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf
8ExecStart=@SBINDIR@/rpcbind -w $RPCBIND_OPTS 8ExecStart=@SBINDIR@/rpcbind $RPCBIND_OPTS
9SuccessExitStatus=2 9SuccessExitStatus=2
10 10
11[Install] 11[Install]