Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v3] rpcbind: handle rpcbind options
@ 2015-07-15  6:19 wenzong.fan
  2015-07-24  8:04 ` wenzong fan
  2015-10-16  6:36 ` wenzong fan
  0 siblings, 2 replies; 4+ messages in thread
From: wenzong.fan @ 2015-07-15  6:19 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>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
index b3ae254..9cdade4 100644
--- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
+++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
@@ -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]
-- 
1.9.1



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

* Re: [PATCH v3] rpcbind: handle rpcbind options
  2015-07-15  6:19 [PATCH v3] rpcbind: handle rpcbind options wenzong.fan
@ 2015-07-24  8:04 ` wenzong fan
  2015-10-16  6:36 ` wenzong fan
  1 sibling, 0 replies; 4+ messages in thread
From: wenzong fan @ 2015-07-24  8:04 UTC (permalink / raw)
  To: openembedded-core

Ping ...

On 07/15/2015 02:19 PM, wenzong.fan@windriver.com wrote:
> 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>
> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> ---
>   meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
> index b3ae254..9cdade4 100644
> --- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
> +++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
> @@ -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]
>


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

* Re: [PATCH v3] rpcbind: handle rpcbind options
  2015-07-15  6:19 [PATCH v3] rpcbind: handle rpcbind options wenzong.fan
  2015-07-24  8:04 ` wenzong fan
@ 2015-10-16  6:36 ` wenzong fan
  2015-10-26 17:41   ` Burton, Ross
  1 sibling, 1 reply; 4+ messages in thread
From: wenzong fan @ 2015-10-16  6:36 UTC (permalink / raw)
  To: openembedded-core

Ping again ...

Thanks
Wenzong

On 07/15/2015 02:19 PM, wenzong.fan@windriver.com wrote:
> 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>
> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> ---
>   meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
> index b3ae254..9cdade4 100644
> --- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
> +++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
> @@ -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]
>


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

* Re: [PATCH v3] rpcbind: handle rpcbind options
  2015-10-16  6:36 ` wenzong fan
@ 2015-10-26 17:41   ` Burton, Ross
  0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2015-10-26 17:41 UTC (permalink / raw)
  To: wenzong fan; +Cc: OE-core

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

On 16 October 2015 at 07:36, wenzong fan <wenzong.fan@windriver.com> wrote:

> Ping again ...
>

Can the commit log please explain what is actually happening, instead of
"handle options".  I shouldn't have to read rpcbind documentation to
understand that -w means "warm start" and as such is only meant for
restarting, not startup.

Ross

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

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

end of thread, other threads:[~2015-10-26 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-15  6:19 [PATCH v3] rpcbind: handle rpcbind options wenzong.fan
2015-07-24  8:04 ` wenzong fan
2015-10-16  6:36 ` wenzong fan
2015-10-26 17:41   ` Burton, Ross

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