Chuck Lever wrote: > 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? Well it turns out bcwong's patch was rewritten by the following patch:
commit 603017f2c1587d760e2649b889b581ca267ffee7 Author: J. Bruce Fields <[EMAIL PROTECTED]> Date: Thu Aug 28 11:23:05 2008 -0400 Determine supported pseudoflavors from export Instead of using a static list of supported flavors, we should be taking the list from the export. Signed-off-by: J. Bruce Fields <[EMAIL PROTECTED]> So this might be the problem... but.... > >>> 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. I have tried a legacy FC-5 mount binary (util-linux 2.13-pre7) on both a 2.6.21 kernel (FC-7) and a 2.6.25.14 kernel (F-9) mounting a F-10 server running nfs-utils-1.1.3 with out a problem. One oddity the mount binary fails when I used the '-o sec=none' flag with: Warning: Unrecognized security flavor none. Bad nfs mount parameter: sec So something else has to be going on here.... steved. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]