Hi, I recently BFU'd a system in my home lab from snv_106 to snv_111, and now I cannot access things as a user from my Linux NFS server using NFSv3 because Solaris NFS is sending my uid as 65534. The only workaround I've been able to find is to use an NFSv2 mount. The same machine worked fine for many Solaris versions (starting at snv_64) and still works fine when booting into other partitions (S10U1, FreeBSD 6.3, FreeBSD 7.0). Nor do I have problems from other clients including MacOSX 10.4, MacOSX 10.5, NetBSD, etc.
The Linux server runs Ubuntu 8.04 (Linux thunder 2.6.24-23-generic #1 SMP Mon Jan 26 01:04:16 UTC 2009 x86_64 GNU/Linux) and exports the filesystem like this: /home 172.31.193.0/255.255.255.0(rw,async,no_subtree_check,insecure,no_root_squash) The problem seems to be that the NFS client is sending my credentials as "nobody4". In a world-writable directory, a file created by me shows up as owned by "nobody4". Eg: > ls -ld /home/gallatin /home/gallatin/tmp /tmp drwxr-xr-x 157 gallatin root 12288 Apr 8 2009 /home/gallatin drwxrwxrwt 23 gallatin root 4096 Apr 8 2009 /home/gallatin/tmp drwxrwxrwt 4 root sys 452 Apr 8 03:34 /tmp > df /home/gallatin /home/gallatin/tmp /tmp /home (172.31.193.10:/home):47825704 blocks 95652420 files /home (172.31.193.10:/home):47825704 blocks 95652420 files /tmp (swap ): 1687056 blocks 69983 files > touch /home/gallatin/zot /home/gallatin/tmp/zot /tmp/zot touch: cannot create /home/gallatin/zot: Permission denied > ls -l /home/gallatin/zot /home/gallatin/tmp/zot /tmp/zot /home/gallatin/zot: No such file or directory -rw-r--r-- 1 nobody4 nogroup 0 Apr 8 2009 /home/gallatin/tmp/zot -rw-r--r-- 1 gallatin root 0 Apr 8 03:35 /tmp/zot If I snoop the creation of /home/gallatin/tmp/zot, I can see that the client is not setting my uid, etc, correctly: NFS: ----- Sun NFS ----- NFS: NFS: Proc = 8 (Create file) NFS: Status = 0 (OK) NFS: File handle = [A35C] NFS: 010006024AD046CC532E45E38E5FAAA304E35EDB4847950405000000960C8E04 NFS: 00000000 NFS: Post-operation attributes: NFS: File type = 1 (Regular File) NFS: Mode = 0100644 NFS: Setuid = 0, Setgid = 0, Sticky = 0 NFS: Owner's permissions = rw- NFS: Group's permissions = r-- NFS: Other's permissions = r-- NFS: Link count = 1, User ID = 65534, Group ID = 65534 NFS: File size = 0, Used = 0 NFS: Special: Major = 0, Minor = 0 NFS: File system id = 4043050865918775236, File id = 76891976 NFS: Last access time = 08-Apr-09 12:31:02.142519229 GMT NFS: Modification time = 08-Apr-09 12:31:02.142519229 GMT NFS: Attribute change time = 08-Apr-09 12:31:02.142519229 GMT NFS: NFS: Pre-operation attributes: NFS: Size = 4096 bytes NFS: Modification time = 08-Apr-09 12:30:16.342515644 GMT NFS: Attribute change time = 08-Apr-09 12:30:16.342515644 GMT NFS: NFS: Post-operation attributes: NFS: File type = 2 (Directory) NFS: Mode = 041777 NFS: Setuid = 0, Setgid = 0, Sticky = 1 NFS: Owner's permissions = rwx NFS: Group's permissions = rwx NFS: Other's permissions = rwx NFS: Link count = 23, User ID = 8107, Group ID = 0 NFS: File size = 4096, Used = 8192 NFS: Special: Major = 0, Minor = 0 NFS: File system id = 4043050865918775236, File id = 76418198 NFS: Last access time = 08-Apr-09 12:26:45.964579229 GMT NFS: Modification time = 08-Apr-09 12:31:02.142519229 GMT NFS: Attribute change time = 08-Apr-09 12:31:02.142519229 GMT NFS: NFS: I can make a full snoop (from mount on) available on request. Thanks for any help, Drew