All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange rpc.svcgssd behavior
@ 2010-11-15 17:39 Chuck Lever
  2010-11-16 15:58 ` Valentijn Sessink
  0 siblings, 1 reply; 16+ messages in thread
From: Chuck Lever @ 2010-11-15 17:39 UTC (permalink / raw)
  To: Linux NFS Mailing List

I've just set up a Linux KDC with a Linux NFS server (Fedora 13 with the latest updates).

rpc.svcgssd fails to start on the NFS server.

 ERROR: GSS-API: error in gss_acquire_cred(): Unspecified GSS failure.  Minor code may provide more information - Key table entry not found
 unable to obtain root (machine) credentials
 do you have a keytab entry for nfs/<your.host>@<YOUR.REALM> in /etc/krb5.keytab?

I do have an entry for nfs/<your.host>@<YOUR.REALM> in /etc/krb5.keytab.  The problem is that /etc/hosts looks like this:

 192.168.1.58	your.host	your	# Added by NetworkManager
 127.0.0.1	localhost.localdomain	localhost
 ::1		your.host your	localhost6.localdomain6 localhost6

Removing "your.host	your" from the "::1" entry makes this problem go away -- rpc.svcgssd starts up as expected.

Now I reboot, and NetworkManager happily adds "your.host	your" back to the "::1" entry, and rpc.svcgssd fails again.  I haven't tried this, but I suspect if the ::1 entry weren't there, NM would add "your.host.net	your" to the IPv4 loopback entry, and we'd have the same problem.

At a glance, it looks like the local hostname is determined in a library, and not in rpc.svcgssd.  This really needs to be more robust.

I see the "-p principal" option in the latest nfs-utils, but it doesn't seem to be supported in Fedora 13's rpc.svcgssd.  Is this the workaround?

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-11-17 18:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 17:39 Strange rpc.svcgssd behavior Chuck Lever
2010-11-16 15:58 ` Valentijn Sessink
2010-11-16 19:44   ` Valentijn Sessink
2010-11-16 20:17     ` Jim Rees
2010-11-16 20:22       ` Chuck Lever
2010-11-16 20:54         ` Jim Rees
2010-11-16 21:41           ` J. Bruce Fields
2010-11-16 21:42           ` Chuck Lever
2010-11-17 15:18             ` Steve Dickson
2010-11-17 15:30               ` Chuck Lever
2010-11-17 15:54                 ` Kevin Coffman
2010-11-17 16:05                   ` Chuck Lever
2010-11-17 16:26                     ` Kevin Coffman
2010-11-17 17:51                       ` Chuck Lever
2010-11-17 18:52                         ` Valentijn Sessink
2010-11-17 16:15                   ` Valentijn Sessink

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.