[juneau-lug] Deb 7 - NFS nobody & nogroup

  • From: Jamie <jamie@xxxxxxxxxxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Wed, 10 Dec 2014 14:25:41 -1000

So my Debian 7 home server had been running NFS fine until last week.  
It now acts as if the "all_squash" option is set on.  It is not.   The 
"all_squash" removes the actual user authorization and treats it as 
nobody and nogroup.

My first guess was a faulty upgrade package, but can't find any 
suspects.  Second guess was I accidentally messed up some configuration 
file, but that doesn't seem to be the case either.

I've tried connecting to my NFS server from 3 different computers and 
they all show "nobody, nogroup" for all files & directories on the 
servers - so I'm pretty sure the error is on my server.  I re-installed 
NFS - no change.  My exports file has not changed.

Any guesses as to what went wrong or how to trouble shoot this? Thanks

contents of /var/lib/nfs/etab:
> /opt/DATA/www 
> 192.168.1.0/24(rw,sync,wdelay,nohide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)
> /mnt/MC4 
> *(rw,sync,wdelay,nohide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)
> /mnt/MC3 
> *(rw,sync,wdelay,nohide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)
> /mnt/MC2 
> *(rw,sync,wdelay,nohide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)
> /mnt/MC1 
> *(rw,sync,wdelay,nohide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)
> /opt/DATA/samba/archive 
> *(rw,sync,wdelay,nohide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)
> /home 
> *(rw,sync,wdelay,nohide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)

contents of /etc/exports:
/home   *(no_root_squash,rw,nohide)
/opt/DATA/www   192.168.1.0/24(no_root_squash,rw,nohide)
/opt/DATA/samba/archive *(no_subtree_check,no_root_squash,rw,nohide)
/mnt/MC1        *(no_root_squash,rw,nohide)
/mnt/MC2        *(no_root_squash,rw,nohide)
/mnt/MC3        *(no_root_squash,rw,nohide)
/mnt/MC4        *(no_root_squash,rw,nohide)

:~$ cat /etc/issue
Debian GNU/Linux 7

:~$ uname -a
Linux jb2.homelinux.net 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2 
x86_64 GNU/Linux

------------------------------------
The Juneau Linux Users Group -- http://www.juneau-lug.org
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: