diff --git a/SOURCES/nfs-utils-1.3.0-mount-eacces.patch b/SOURCES/nfs-utils-1.3.0-mount-eacces.patch new file mode 100644 index 0000000..a9cfdb0 --- /dev/null +++ b/SOURCES/nfs-utils-1.3.0-mount-eacces.patch @@ -0,0 +1,13 @@ +diff -up nfs-utils-1.3.0/utils/mount/stropts.c.orig nfs-utils-1.3.0/utils/mount/stropts.c +--- nfs-utils-1.3.0/utils/mount/stropts.c.orig 2017-09-19 11:25:13.889948761 -0400 ++++ nfs-utils-1.3.0/utils/mount/stropts.c 2017-09-19 11:29:44.454636781 -0400 +@@ -851,6 +851,9 @@ check_result: + case EINVAL: + /* A less clear indication that our client + * does not support NFSv4 minor version. */ ++ case EACCES: ++ /* An unclear indication that the server ++ * may not support NFSv4 minor version. */ + if (mi->version.v_mode != V_SPECIFIC) { + if (mi->version.minor > 0) { + mi->version.minor--; diff --git a/SPECS/nfs-utils.spec b/SPECS/nfs-utils.spec index d198922..8becce8 100644 --- a/SPECS/nfs-utils.spec +++ b/SPECS/nfs-utils.spec @@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser Name: nfs-utils URL: http://sourceforge.net/projects/nfs Version: 1.3.0 -Release: 0.48%{?dist} +Release: 0.48%{?dist}.1 Epoch: 1 # group all 32bit related archs @@ -129,6 +129,7 @@ Patch097: nfs-utils-1.3.0-exportfs-path-comp.patch # RHEL7.4-Z # Patch098: nfs-utils-1.3.0-mount-addressfailed.patch +Patch099: nfs-utils-1.3.0-mount-eacces.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch @@ -382,6 +383,8 @@ This package also contains the mount.nfs and umount.nfs program. %patch097 -p1 # 1498959 - RHEL7.4: service nfs-server start fails the first time... %patch098 -p1 +# 1518718 - RHEL7.4: NFS mount to DELL/EMC Isilon servers fails... +%patch099 -p1 %patch100 -p1 %patch101 -p1 @@ -633,6 +636,9 @@ fi /sbin/umount.nfs4 %changelog +* Thu Nov 30 2017 Steve Dickson 1.3.0-0.48_4.1 +- mount: handle EACCES during version negotiation (bz 1518718) + * Fri Oct 6 2017 Steve Dickson 1.3.0-0.48_4 - rpc.nfsd: Do not fail when all address families are not support (bz 1450528)