nfs-utils: fix rpc.statd path in initscript
PATCH 1/1 nfs-utils: fix rpc.statd path in initscript
The location of rpc.statd is /usr/sbin instead of /sbin.
--- meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon +1 -1
@@ -137,7 +137,7 @@ case "$1" in fi start-stop-daemon --start --oknodo --quiet \ --pidfile /run/rpc.statd.pid \ - --exec /sbin/rpc.statd + --exec /usr/sbin/rpc.statd RET=$? if [ $RET != 0 ]; then echo " failed" $RET
Signature · 1 line
2.25.1
Quoted 13 lines · Yi Zhao via lists.openembedded.org
The location of rpc.statd is
/usr/sbininstead of /sbin.Signed-off-by Yi Zhao <[email protected]>--- meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon +0
-0
meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon case "$1" in · line 140
Quoted 5 lines
meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon +1
-1@@ -137,7 +137,7 @@ case "$1" in fi start-stop-daemon --start --oknodo --quiet \ --pidfile /run/rpc.statd.pid \ - --exec /sbin/rpc.statd + --exec /usr/sbin/rpc.statd
Is this always the case or depends upon usrmerge distro feature
Quoted 18 lines
meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon +0
-1RET=$? if [ $RET != 0 ]; then echo " failed" $RET --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#211865):
https://lists.openembedded.org/g/openembedded-core/message/211865
Mute This Topic: https://lists.openembedded.org/mt/111373723/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 27 lines · Khem Raj
On Mon, Feb 24, 2025 at 11:04 PM Yi Zhao via lists.openembedded.org <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!YQpIhAuDuk9NODS4b584fgo2EjPOozFOsEHYqDnGZgh-d00DSYJWaXxc7JWZbumpVZQ2D10tDepFo3CAt-Y50g$> <[email protected]> wrote:
The location of rpc.statd is /usr/sbin instead of /sbin. Signed-off-by: Yi Zhao <[email protected]> --- meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon index 6c7b92bdb1..9b7fd17b41 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon @@ -137,7 +137,7 @@ case "$1" in fi start-stop-daemon --start --oknodo --quiet \ --pidfile /run/rpc.statd.pid <https://urldefense.com/v3/__http://rpc.statd.pid__;!!AjveYdw8EvQ!YQpIhAuDuk9NODS4b584fgo2EjPOozFOsEHYqDnGZgh-d00DSYJWaXxc7JWZbumpVZQ2D10tDepFo3AoB5EA6A$> \ - --exec /sbin/rpc.statd + --exec /usr/sbin/rpc.statd
Quoted 1 line
Is this always the case or depends upon usrmerge distro feature
This is always the case, because even without usrmerge feature, the default location for rpc.statd is in /usr/sbin.
//Yi
Quoted 25 lines
RET=$?
if [ $RET != 0 ]; then
echo " failed" $RET
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#211865):
https://lists.openembedded.org/g/openembedded-core/message/211865
<https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/211865__;!!AjveYdw8EvQ!YQpIhAuDuk9NODS4b584fgo2EjPOozFOsEHYqDnGZgh-d00DSYJWaXxc7JWZbumpVZQ2D10tDepFo3DaAZ3vDg$>
Mute This Topic:
https://lists.openembedded.org/mt/111373723/1997914
<https://urldefense.com/v3/__https://lists.openembedded.org/mt/111373723/1997914__;!!AjveYdw8EvQ!YQpIhAuDuk9NODS4b584fgo2EjPOozFOsEHYqDnGZgh-d00DSYJWaXxc7JWZbumpVZQ2D10tDepFo3Brq87FwA$>
Group Owner: [email protected]
<mailto:openembedded-core%[email protected]>
Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!AjveYdw8EvQ!YQpIhAuDuk9NODS4b584fgo2EjPOozFOsEHYqDnGZgh-d00DSYJWaXxc7JWZbumpVZQ2D10tDepFo3BUHuBdgg$>
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-