The version of nfsd used in 3.4 kernels tries to upcall the new reboot-recovery daemon and gets stuck if it is not found. This causes client mounts to fail and prints the following error message during boot:
"NFSD: starting 90-second grace period NFSD: Unable to end grace period: -110" If the directory "/var/lib/nfs/v4recovery" exists, nfsd will revert back to the old method. Signed-off-by: Kevin Strasser <kevin.stras...@linux.intel.com> --- .../nfs-utils/nfs-utils_1.2.3.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend diff --git a/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend new file mode 100644 index 0000000..2c91a93 --- /dev/null +++ b/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bbappend @@ -0,0 +1,8 @@ +PR = "r5" + +# Work around linux 3.4 nfsd regression +do_install_prepend () { + install -d ${D}/var/lib/nfs/v4recovery +} + +FILES_${PN} += "/var/lib/nfs/v4recovery" -- 1.7.9.5 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto