Bug 673484

Summary: NFS idmapd, gssd not running for automounted shares
Product: [openSUSE] openSUSE 11.4 Reporter: Hein Osenberg <osenberg>
Component: NetworkAssignee: Leonardo Chiquitto <lchiquitto>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P3 - Medium CC: mvidner, osenberg
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hein Osenberg 2011-02-18 21:30:27 UTC
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4

When upgrading from 10.3 with NFS automounts, nfs shares are not useable (uid is not translated) because idmapd is not running by default.

openSUSE 10.3 seems to mount automounted shares using nfsv3 by default, whereas 10.4 uses nfsv4. It seems that nfs services (idmapd, gssd) are started only if nfsv4 shares are mounted explicidly in fstab and not when they are mounted with automount. This error probably only occurs when you upgrade an existing 10.3 installation.

Fix: set NFS_START_SERVICES to YES by default in /etc/sysconfig/nfs. 

Reproducible: Always

Steps to Reproduce:
1. upgrade from an existing installation with opensuse 10.3
2. try to access an automounted nfs share (no nfs mounts in fstab)
3. uid is mapped to some unusable value
Actual Results:  
In my case nfs mounted home directories were not accessible properly, because uid and gid were different from the expected values (uid and gid of the logged in user)

Expected Results:  
Start nfs services by default (set NFS_START_SERVICES to YES in /etc/sysconfig/nfs

See also bug 626515 - idmapd/sm-notify is disabled in automounter environment if fstab does not have any nfs entries for openSUSE 10.3
Comment 2 Martin Vidner 2011-02-21 16:07:50 UTC
First off, I assume you mean 11.3 and 11.4.

I haven't checked whether the default has changed, but if it has, then in the same place it should take care of the NFS daemons, IMHO.
Comment 3 Leonardo Chiquitto 2011-02-22 13:26:16 UTC
Let's concentrate the efforts in one bug only.

*** This bug has been marked as a duplicate of bug 626516 ***