mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 15:57:04 +00:00
6ec7dc2c38
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>
13 lines
220 B
Desktop File
13 lines
220 B
Desktop File
[Unit]
|
|
Description=RPC Bind Service
|
|
Requires=rpcbind.socket
|
|
|
|
[Service]
|
|
Type=forking
|
|
EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf
|
|
ExecStart=@SBINDIR@/rpcbind $RPCBIND_OPTS
|
|
SuccessExitStatus=2
|
|
|
|
[Install]
|
|
Also=rpcbind.socket
|