package/rpcbind: fix rpcbind path
authorJames Hilliard <james.hilliard1@gmail.com>
Thu, 3 Oct 2019 14:45:04 +0000 (08:45 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 5 Oct 2019 21:34:36 +0000 (23:34 +0200)
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>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rpcbind/S30rpcbind
package/rpcbind/rpcbind.service

index 532d3f8866ae6063e711a03ca6fa8c8c40cd1ad3..b224322e1f83b84c3ad41631608677347f222f08 100644 (file)
@@ -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() {
index b7a32a19d0ce0e73fcbf3e57b14540db25a0646f..e41931df4a33468600107fa3e3ae882aea7434b3 100644 (file)
@@ -4,7 +4,7 @@ Requires=rpcbind.socket
 
 [Service]
 Type=forking
-ExecStart=/usr/bin/rpcbind
+ExecStart=/usr/sbin/rpcbind
 
 [Install]
 Also=rpcbind.socket