Skip to contentSkip to conversation

nfs-export-root: add explict no_subtree-check to suppress warning

PATCH New Saul Wold 1 participant 1 message Oct 8, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 nfs-export-root: add explict no_subtree-check to suppress warning

exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x

---
 .../devel-config/nfs-export-root.bb                |    2 ++
 .../devel-config/nfs-export-root/exports           |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/devel-config/nfs-export-root.bb +2 -0
index 41259ac..fff60ca 100644
@@ -3,6 +3,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
+PR = "r1"
+
 SRC_URI = "file://exports"
 
 S = "${WORKDIR}"
meta/recipes-devtools/devel-config/nfs-export-root/exports +1 -1
index b7257aa..1353c5a 100644
@@ -1 +1 @@
-/ *(rw,no_root_squash,async)
+/ *(rw,no_root_squash,async,no_subtree_check)
Signature · 1 line
1.7.9.5