Skip to contentSkip to conversation

nfs-utils: remove -f exports from nfsserver

PATCH Applied Saul Wold 3 participants 3 messages Dec 23, 2016 – Jan 6, 2017

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 nfs-utils: remove -f exports from nfsserver

The upstream project remove that option as it was quote:
It is completely ineffective.

[YOCTO #10843]

---
 meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver +1 -1
index 7ed93a5..d5e9c38 100644
@@ -40,7 +40,7 @@ test "$NFS_SERVERS" != "" && test "$NFS_SERVERS" -gt 0 && test "$NFS_SERVERS" -l
 #mountd
 start_mountd(){
 	echo -n 'starting mountd: '
-	start-stop-daemon --start --exec "$NFS_MOUNTD" -- "-f /etc/exports $@"
+	start-stop-daemon --start --exec "$NFS_MOUNTD" -- "$@"
 	echo done
 }
 stop_mountd(){
Signature · 1 line
2.7.4
#1 lore raw
Quoted 3 lines · Saul Wold

The upstream project remove that option as it was quote:
    It is completely ineffective.

Ross: Ping

Sau!

Quoted 26 lines

[YOCTO #10843]

---
 meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver +0 -1
index 7ed93a5..d5e9c38 100644
@@ -40,7 +40,7 @@ test "$NFS_SERVERS" != "" && test "$NFS_SERVERS"
-gt 0 && test "$NFS_SERVERS" -l
  #mountd
  start_mountd(){

  echo -n 'starting mountd: '

meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver +0 -1
-	start-stop-daemon --start --exec "$NFS_MOUNTD" -- "-f

/etc/exports $@"

meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver +1 -0
+	start-stop-daemon --start --exec "$NFS_MOUNTD" -- "$@"

  echo done
 }
 stop_mountd(){
--
2.7.4

Applied
#2 lore raw
Quoted 2 lines · Saul

Ross: Ping

Merged into ross/mut2 a few hours ago :)

Ross