rpms/nfs-utils/devel nfs-utils-1.2.1-mount-eperm.patch, NONE, 1.1 nfs-utils.spec, 1.254, 1.255
Steve Dickson
steved at fedoraproject.org
Mon Dec 7 22:45:32 UTC 2009
Author: steved
Update of /cvs/pkgs/rpms/nfs-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13733
Modified Files:
nfs-utils.spec
Added Files:
nfs-utils-1.2.1-mount-eperm.patch
Log Message:
- Updated to the latest pseudo root release (rel9) (bz 538609).
- mount.nfs: Retry v4 mounts with v3 on ENOENT errors
nfs-utils-1.2.1-mount-eperm.patch:
stropts.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- NEW FILE nfs-utils-1.2.1-mount-eperm.patch ---
commit 26a14b65991b79d317638f78dc6b4e5ac1ef712e
Author: Neil Brown <neilb at suse.de>
Date: Mon Dec 7 17:23:48 2009 -0500
mount.nfs: Retry v4 mounts with v3 on ENOENT errors
Retry v4 mounts with a v3 mount when the version
is not explicitly specified and the mount fails
with ENOENT. The will help deal with Linux servers
that do not automatically export a pseudo root
Signed-off-by: Steve Dickson <steved at redhat.com>
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c
index a0b9e7f..4007150 100644
--- a/utils/mount/stropts.c
+++ b/utils/mount/stropts.c
@@ -668,9 +668,10 @@ static int nfs_try_mount(struct nfsmount_info *mi)
/*
* To deal with legacy Linux servers that don't
* automatically export a pseudo root, retry
- * ENOENT errors using version 3
+ * ENOENT errors using version 3. And for
+ * Linux servers prior to 2.6.25, retry EPERM
*/
- if (errno != ENOENT)
+ if (errno != ENOENT && errno != EPERM)
break;
}
}
Index: nfs-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nfs-utils/devel/nfs-utils.spec,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -p -r1.254 -r1.255
--- nfs-utils.spec 7 Dec 2009 13:22:33 -0000 1.254
+++ nfs-utils.spec 7 Dec 2009 22:45:32 -0000 1.255
@@ -24,6 +24,7 @@ Patch02: nfs-utils-1.1.0-exp-subtree-war
Patch200: nfs-utils-1.2.0-v4root-rel9.patch
Patch201: nfs-utils-1.2.1-nfsd-bootfail.patch
+Patch202: nfs-utils-1.2.1-mount-eperm.patch
Group: System Environment/Daemons
Provides: exportfs = %{epoch}:%{version}-%{release}
@@ -77,6 +78,7 @@ This package also contains the mount.nfs
%patch200 -p1
%patch201 -p1
+%patch202 -p1
# Remove .orig files
find . -name "*.orig" | xargs rm -f
@@ -249,7 +251,8 @@ fi
%changelog
* Mon Dec 7 2009 Steve Dickson <steved at redhat.com> 1.2.1-4
-- Updated to the latest pseudo root release (rel9).
+- Updated to the latest pseudo root release (rel9) (bz 538609).
+- mount.nfs: Retry v4 mounts with v3 on ENOENT errors
* Thu Nov 12 2009 Steve Dickson <steved at redhat.com> 1.2.1-3
- Stop rpc.nfsd from failing to startup when the network
More information about the scm-commits
mailing list