[Buildroot] [git commit] package/rpcbind: fix rpcbind path

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Oct 5 21:34:36 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=aaf68256ab99862ad85ef99081f3df1a7c6543c8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at gmail.com>
Tested-by: Carlos Santos <unixmania at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.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


More information about the buildroot mailing list