On Oct 9, 2008, at Oct 9, 2008, 11:48 AM, Steve Dickson wrote:
Unfortunately, I'm failing miserably on reproducing this... Here is what I've done:

Chuck Lever wrote:
Hi Steve-

As I understand it, the documented bug refers to running nfs-utils 1.1.3
on kernels older than 2.6.22.
I created a Fedora 7 KVM guest that runs a 2.6.21 kernel. I installed the nfs-utils-1.1.3 (F-10) package along with supporting packages (libgssglue, librpcsecgss and libnfsidmap). I did both mount commands

   mount -o sec=none madhat:/home /mnt/home
   mount -o sec=sys madhat:/home /mnt/home

and was able to write to both mount points.

bcwong's patch changes the server side too. Have you tried mounting a server running an old version of nfs-utils?

To reproduce this you need to force the use of the legacy mount command
that parses mount options in user space and passes a binary data
structure to the kernel via mount(2).
If this the case, we need a legacy mount command, then how can it be a bug in nfs-utils-1.1.3?

Easy... the mount.nfs subcommand in nfs-utils-1.1.3 switches to legacy mode on old kernels (pre 2.6.23). What I meant by "you need to force the use of the legacy mount command" is that you need to force the use of the legacy binary mount interface.

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to