Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 180428
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Network Filesystems <net-fs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maurice Volaski <mvolaski@aecom.yu.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nfsmount.patch nfsmount.patch patch Gilles Dartiguelongue 2007-08-12 19:20 0000 537 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 180428 depends on: Show dependency tree
Bug 180428 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-31 09:38 0000
Even if the kerberos use flag for nfs-utils (v4) is set to off, the nfs client
init scripts ignore the setting and try to load it

 * Starting gssd ...
/etc/init.d/rpc.gssd: line 20: /usr/sbin/rpc.gssd: No such file or direc  [ !!
]
 * Starting svcgssd ...
/etc/init.d/rpc.gssd: line 20: /usr/sbin/rpc.svcgssd: No such file or di  [ !!
]

Thus, it appears that the kerberos use flag must be on and everything else
needed to use kerberos for nfs be setup in order for the nfs client v4 to work
at all.

------- Comment #1 From Marius Mauch (RETIRED) 2007-05-31 09:44:55 0000 -------
Well, I'm no expert on this, but to me it looks like the kerberos stuff is
required for the nfs4 protocol and optional for lower versions.

------- Comment #2 From Maurice Volaski 2007-05-31 19:58:06 0000 -------
A new security flavor called RPCSEC_GSS, has been added, but it's optional, not
required. Kerberos is one way to implement it, but it's entirely separate from
the  default security flavor, which doesn't require RPCSEC_GSS.

------- Comment #3 From Gilles Dartiguelongue 2007-08-12 19:19:06 0000 -------
nfs4 security features are not mandatory (krb5, spkmv3), as it can be seen on
ubuntu and debian, rpc.gssd should only be started if you have a mention of GSS
secured mounts in your fstab.

------- Comment #4 From Gilles Dartiguelongue 2007-08-12 19:20:53 0000 -------
Created an attachment (id=127898) [details]
nfsmount.patch

this patch against nfsmount init script makes it start rpc.gssd only if there
is mention of a krb5 secured mount in fstab. It matches the current behavior of
debian's init script and should apply on nfs init script as well.

------- Comment #5 From Gilles Dartiguelongue 2007-08-12 19:24:51 0000 -------
just read bug #186037, I'll need to update this patch to allow nfsv3+krb5 it
seems.

------- Comment #6 From SpanKY 2007-08-16 23:33:54 0000 -------
nfs-utils-1.0.12-r4 only forces kerb stuff when options contains 'sec=krb'

------- Comment #7 From SpanKY 2007-08-16 23:38:59 0000 -------
err, make that 1.1.0-r1

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug