]> code.ossystems Code Review - openembedded-core.git/commit
rpcbind: don't use '-w' for starting rpcbind
authorLi Wang <li.wang@windriver.com>
Sat, 7 Nov 2015 06:43:19 +0000 (01:43 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Nov 2015 07:48:28 +0000 (07:48 +0000)
commit3d32a8a1fd90ca68b0d74d86165c8f3668faedcd
tree8846beba8f0ea695d0ea23f8b8175cf4e7c63d46
parentdc2c5a6a0316fa8d27b1b6884fb476403cf9b3e7
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

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>
meta/recipes-extended/rpcbind/rpcbind/rpcbind.service