write error with krb5p
Kumar V Thangavelu
kumar.valendhar at gmail.com
Fri Mar 9 14:32:28 EST 2007
Hi,
I am trying to setup nfs with krb5p support and ran into a bug which
seems related to the post "read error with krb5p".
http://linux-nfs.org/pipermail/nfsv4/2007-February/005722.html
On the client, it is not possible to write files of size less than 4
bytes when using sec=krb5p. Atempting to write a file of less than 4
bytes in the client results in a zero length file. Is this a known
issue? Please let me know if there is a patch available? I also see
the read problem mentioned in the earlier post "read error with
krb5p".
Client is : dhcp161
Server is : dhcp253
[root at dhcp253 export]# exportfs -v
/mnt/export dhcp161.fsl.cs.sunysb.edu(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0,anonuid=65534,anongid=65534)
/mnt/export gss/krb5(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0,anonuid=65534,anongid=65534)
/mnt/export gss/krb5i(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0,anonuid=65534,anongid=65534)
/mnt/export gss/krb5p(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0,anonuid=65534,anongid=65534)
[kvthanga at dhcp161 ~]$ mount -t nfs4 -o sec=krb5p dhcp253:/ /mnt/nfs4/
[kvthanga at dhcp161 ~]$ cd /mnt/nfs4
[kvthanga at dhcp161 nfs4]$ echo a > a
[kvthanga at dhcp161 nfs4]$ ls -ld a
-rw-r--r-- 1 kvthanga fsl 0 Mar 9 14:14 a
I am using the kernel verion 2.6.20 patched with the mm2 patch from
http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/2.6.20-mm2.bz2.
The patch was required to fix the bug
http://bugzilla.kernel.org/show_bug.cgi?id=7560
Thanks
Kumar
More information about the NFSv4
mailing list