On Aug 22, 2009, at 1:34 PM, Trond Myklebust wrote:
On Fri, 2009-08-21 at 17:50 -0400, Chuck Lever wrote:
Some releases of Linux rpc.mountd (nfs-utils 1.1.4 and later)
return an
empty auth flavor list if no sec= was specified for the export.
This is
notably broken server behavior.
The new auth flavor list checking added in a recent commit rejects
this
case. The OpenSolaris client does too.
The broken mountd implementation is already widely deployed. To
avoid
a behavioral regression, the kernel's mount client skips flavor
checking
(ie reverts to the pre-2.6.32 behavior) if mountd returns an empty
flavor list.
Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
---
Trond-
First proposal to address the empty flavor list regression.
Looks alright. Do we know that it fixes the problem for Fengguang?
Nope, posted only here on linux-nfs for discussion and review first.
Thanks for forwarding.
If this was an issue in 2.6.31-rc, the patch description should
probably read "pre-2.6.31" not "pre-2.6.32".
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html