2007-12-04 01:09:48

by NeilBrown

[permalink] [raw]
Subject: Re: [NFS] nfs-utils crossmnt/fsid bug

On Monday December 3, [email protected] wrote:
> On Fri, 2007-11-23 at 13:50 +1100, Neil Brown wrote:
> > Does this (untested, but it compiles) patch seem right?
> In testing security negotiation, I ran into this problem. I've tried
> this patch and it doesn't seem to be working right. My exports file is:
> /export/home gss/krb5i(nohide,insecure,no_subtree_check,no_root_squash,async,rw)
> /export/home gss/krb5p(nohide,insecure,no_subtree_check,no_root_squash,async,rw)
> /export gss/krb5(fsid=0,insecure,no_subtree_check,no_root_squash,async,rw,crossmnt)
> /export gss/krb5i(fsid=0,insecure,no_subtree_check,no_root_squash,async,rw,crossmnt)

You don't need the patch for this exports file. It is only relevant
when the underlying filesystem is not explicitly exported, so the
export flags a deduced implicitly.

So - this is a separate issue.

> From the client I execute:
> mount -overs=4,sec=krb5 elm3a19.beaverton.ibm.com:/ /mnt
> ls -l /mnt/home

... and what happens?


SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
NFS maillist - [email protected]
Please note that [email protected] is being discontinued.
Please subscribe to [email protected] instead.