All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path
@ 2019-10-03 14:45 James Hilliard
  2019-10-03 18:16 ` Carlos Santos
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: James Hilliard @ 2019-10-03 14:45 UTC (permalink / raw)
  To: buildroot

Per upstream commit 9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
https://git.linux-nfs.org/?p=steved/rpcbind.git;a=commit;h=9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0

The rpcbind binary was moved from bin to sbin.

As such we must update the path in our service/init files.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/rpcbind/S30rpcbind      | 2 +-
 package/rpcbind/rpcbind.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/rpcbind/S30rpcbind b/package/rpcbind/S30rpcbind
index 532d3f8866..b224322e1f 100644
--- a/package/rpcbind/S30rpcbind
+++ b/package/rpcbind/S30rpcbind
@@ -6,7 +6,7 @@
 start() {
 	printf "Starting rpcbind: "
 	umask 077
-	start-stop-daemon -S -q -p /var/run/rpcbind.pid --exec /usr/bin/rpcbind
+	start-stop-daemon -S -q -p /var/run/rpcbind.pid --exec /usr/sbin/rpcbind
 	echo "OK"
 }
 stop() {
diff --git a/package/rpcbind/rpcbind.service b/package/rpcbind/rpcbind.service
index b7a32a19d0..e41931df4a 100644
--- a/package/rpcbind/rpcbind.service
+++ b/package/rpcbind/rpcbind.service
@@ -4,7 +4,7 @@ Requires=rpcbind.socket
 
 [Service]
 Type=forking
-ExecStart=/usr/bin/rpcbind
+ExecStart=/usr/sbin/rpcbind
 
 [Install]
 Also=rpcbind.socket
-- 
2.20.1

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

* [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path
  2019-10-03 14:45 [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path James Hilliard
@ 2019-10-03 18:16 ` Carlos Santos
  2019-10-04  8:20 ` Thomas Petazzoni
  2019-10-05 21:34 ` Thomas Petazzoni
  2 siblings, 0 replies; 5+ messages in thread
From: Carlos Santos @ 2019-10-03 18:16 UTC (permalink / raw)
  To: buildroot

On Thu, Oct 3, 2019 at 11:45 AM James Hilliard
<james.hilliard1@gmail.com> wrote:
>
> Per upstream commit 9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
> https://git.linux-nfs.org/?p=steved/rpcbind.git;a=commit;h=9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
>
> The rpcbind binary was moved from bin to sbin.
>
> As such we must update the path in our service/init files.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/rpcbind/S30rpcbind      | 2 +-
>  package/rpcbind/rpcbind.service | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/rpcbind/S30rpcbind b/package/rpcbind/S30rpcbind
> index 532d3f8866..b224322e1f 100644
> --- a/package/rpcbind/S30rpcbind
> +++ b/package/rpcbind/S30rpcbind
> @@ -6,7 +6,7 @@
>  start() {
>         printf "Starting rpcbind: "
>         umask 077
> -       start-stop-daemon -S -q -p /var/run/rpcbind.pid --exec /usr/bin/rpcbind
> +       start-stop-daemon -S -q -p /var/run/rpcbind.pid --exec /usr/sbin/rpcbind
>         echo "OK"
>  }
>  stop() {
> diff --git a/package/rpcbind/rpcbind.service b/package/rpcbind/rpcbind.service
> index b7a32a19d0..e41931df4a 100644
> --- a/package/rpcbind/rpcbind.service
> +++ b/package/rpcbind/rpcbind.service
> @@ -4,7 +4,7 @@ Requires=rpcbind.socket
>
>  [Service]
>  Type=forking
> -ExecStart=/usr/bin/rpcbind
> +ExecStart=/usr/sbin/rpcbind
>
>  [Install]
>  Also=rpcbind.socket
> --
> 2.20.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

Tested-by: Carlos Santos <unixmania@gmail.com>

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

* [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path
  2019-10-03 14:45 [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path James Hilliard
  2019-10-03 18:16 ` Carlos Santos
@ 2019-10-04  8:20 ` Thomas Petazzoni
  2019-10-04 12:43   ` James Hilliard
  2019-10-05 21:34 ` Thomas Petazzoni
  2 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-10-04  8:20 UTC (permalink / raw)
  To: buildroot

On Thu,  3 Oct 2019 08:45:04 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> Per upstream commit 9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
> https://git.linux-nfs.org/?p=steved/rpcbind.git;a=commit;h=9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
> 
> The rpcbind binary was moved from bin to sbin.
> 
> As such we must update the path in our service/init files.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

$ git tag --contains 9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0 | cat
pcbind-0_2_5-rc4
rpcbind-0_2_5-rc3
rpcbind-1_2_5

Buildroot 2019.08.x has rpcbind 0.2.3, so the issue is only relevant on
master. Correct ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path
  2019-10-04  8:20 ` Thomas Petazzoni
@ 2019-10-04 12:43   ` James Hilliard
  0 siblings, 0 replies; 5+ messages in thread
From: James Hilliard @ 2019-10-04 12:43 UTC (permalink / raw)
  To: buildroot

On Fri, Oct 4, 2019 at 10:20 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Thu,  3 Oct 2019 08:45:04 -0600
> James Hilliard <james.hilliard1@gmail.com> wrote:
>
> > Per upstream commit 9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
> > https://git.linux-nfs.org/?p=steved/rpcbind.git;a=commit;h=9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
> >
> > The rpcbind binary was moved from bin to sbin.
> >
> > As such we must update the path in our service/init files.
> >
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
>
> $ git tag --contains 9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0 | cat
> pcbind-0_2_5-rc4
> rpcbind-0_2_5-rc3
> rpcbind-1_2_5
>
> Buildroot 2019.08.x has rpcbind 0.2.3, so the issue is only relevant on
> master. Correct ?
Yes, that's correct.
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

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

* [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path
  2019-10-03 14:45 [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path James Hilliard
  2019-10-03 18:16 ` Carlos Santos
  2019-10-04  8:20 ` Thomas Petazzoni
@ 2019-10-05 21:34 ` Thomas Petazzoni
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-10-05 21:34 UTC (permalink / raw)
  To: buildroot

On Thu,  3 Oct 2019 08:45:04 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> Per upstream commit 9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
> https://git.linux-nfs.org/?p=steved/rpcbind.git;a=commit;h=9afccfcd5ab350d6bc72622f3d1ccfb9e54652b0
> 
> The rpcbind binary was moved from bin to sbin.
> 
> As such we must update the path in our service/init files.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/rpcbind/S30rpcbind      | 2 +-
>  package/rpcbind/rpcbind.service | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2019-10-05 21:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03 14:45 [Buildroot] [PATCH 1/1] package/rpcbind: fix rpcbind path James Hilliard
2019-10-03 18:16 ` Carlos Santos
2019-10-04  8:20 ` Thomas Petazzoni
2019-10-04 12:43   ` James Hilliard
2019-10-05 21:34 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.