nfs-export-root: add explict no_subtree-check to suppress warning
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
Signed-off-by Saul Wold <[email protected]>
--- .../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
@@ -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
@@ -1 +1 @@ -/ *(rw,no_root_squash,async) +/ *(rw,no_root_squash,async,no_subtree_check)
Signature · 1 line
1.7.9.5