Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/1 v2] rpcbind: handle rpcbind options
@ 2015-07-13  5:25 wenzong.fan
  2015-07-14 11:14 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: wenzong.fan @ 2015-07-13  5:25 UTC (permalink / raw)
  To: openembedded-core

From: Li Wang <li.wang@windriver.com>

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)

Don't pass -w to rpcbind on boot up, since the files won't be there
to be read, the patch refers to:
  https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833

Signed-off-by: Li Wang <li.wang@windriver.com>
---
 meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
index b3ae254..24836d4 100644
--- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
+++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
@@ -4,8 +4,8 @@ Requires=rpcbind.socket
 
 [Service]
 Type=forking
-EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf
-ExecStart=@SBINDIR@/rpcbind -w $RPCBIND_OPTS
+EnvironmentFile=@SYSCONFDIR@/rpcbind.conf
+ExecStart=@SBINDIR@/rpcbind $RPCBIND_OPTS
 SuccessExitStatus=2
 
 [Install]
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1 v2] rpcbind: handle rpcbind options
  2015-07-13  5:25 [PATCH 1/1 v2] rpcbind: handle rpcbind options wenzong.fan
@ 2015-07-14 11:14 ` Burton, Ross
  2015-07-15  6:28   ` wenzong fan
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2015-07-14 11:14 UTC (permalink / raw)
  To: wenzong fan; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

On 13 July 2015 at 06:25, <wenzong.fan@windriver.com> wrote:

> -EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf
> +EnvironmentFile=@SYSCONFDIR@/rpcbind.conf
>

Did you intend to drop the - from the EnvironmentFile statement?  I'm
guessing not.

Ross

[-- Attachment #2: Type: text/html, Size: 669 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1 v2] rpcbind: handle rpcbind options
  2015-07-14 11:14 ` Burton, Ross
@ 2015-07-15  6:28   ` wenzong fan
  0 siblings, 0 replies; 3+ messages in thread
From: wenzong fan @ 2015-07-15  6:28 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On 07/14/2015 07:14 PM, Burton, Ross wrote:
>
> On 13 July 2015 at 06:25, <wenzong.fan@windriver.com
> <mailto:wenzong.fan@windriver.com>> wrote:
>
>     -EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf
>     +EnvironmentFile=@SYSCONFDIR@/rpcbind.conf
>
>
> Did you intend to drop the - from the EnvironmentFile statement?  I'm
> guessing not.
>

No, I didn't.

I have sent V3 for clean this change.

Thanks
Wenzong

> Ross


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-15  6:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13  5:25 [PATCH 1/1 v2] rpcbind: handle rpcbind options wenzong.fan
2015-07-14 11:14 ` Burton, Ross
2015-07-15  6:28   ` wenzong fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox