linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Haiducek <jhaiduce@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: Re: Can't mount NFSv4 with kerberos on Debian Wheezy
Date: Sat, 15 Jun 2013 09:24:48 -0600	[thread overview]
Message-ID: <51BC8740.8010000@gmail.com> (raw)
In-Reply-To: <871BEFF7-33F4-4B34-9887-D5388951987E@oracle.com>

On 06/14/2013 02:13 PM, Chuck Lever wrote:
>
> On Jun 14, 2013, at 3:49 PM, John Haiducek <jhaiduce@gmail.com 
> <mailto:jhaiduce@gmail.com>> wrote:
>
>>
>> On Jun 14, 2013 11:05 AM, "Chuck Lever" <chuck.lever@oracle.com 
>> <mailto:chuck.lever@oracle.com>> wrote:
>> >
>> >
>> > On Jun 14, 2013, at 1:57 AM, John Haiducek <jhaiduce@gmail.com 
>> <mailto:jhaiduce@gmail.com>> wrote:
>> >
>> > > Jun 11 20:28:23 tbm rpc.gssd[8959]: Name or service not known 
>> while getting full hostname for 'tbm.enterprise.local'
>> >
>> > gssd thinks your client's hostname is "tbm.enterprise.local," which 
>> has no DNS entry.
>>
>> That is the correct client hostname, and according to the 'host' 
>> command it is in dns. What would cause the host command to find it 
>> when gssd can't?
>>
>
> The error message is from utils/gssd/krb5_util.c:get_full_hostname(). 
>  If get_full_hostname() fails, then gssd can't search your client's 
> keytab.
>
> Figure out why that getaddrinfo(3) call is failing to find a canonical 
> name for "tbm.enterprise.local" -- that could be a client system 
> configuration problem as much as a DNS misconfiguration.

Ok, I think I fixed the DNS problem. I was running avahi, and apparently 
you can't use avahi and also have a DNS server with a domain ending in 
.local. Shutting down avahi fixed it, although if I wanted to keep avahi 
working I could probably fix this by changing my domain to end in 
something other than .local.

But now the mount command hangs and never returns. I get this in 
/var/log/syslog:

Jun 15 09:19:36 tbm rpc.idmapd[16253]: New client: 24
Jun 15 09:19:36 tbm rpc.gssd[16258]: dir_notify_handler: sig 37 si 
0x7fffb0fb3330 data 0x7fffb0fb3200
Jun 15 09:19:37 tbm rpc.gssd[16258]: dir_notify_handler: sig 37 si 
0x7fffb0fb3330 data 0x7fffb0fb3200
Jun 15 09:19:37 tbm rpc.gssd[16258]: dir_notify_handler: sig 37 si 
0x7fffb0fb3330 data 0x7fffb0fb3200
Jun 15 09:19:37 tbm rpc.gssd[16258]: destroying client 
/var/lib/nfs/rpc_pipefs/nfs/clnt24
Jun 15 09:19:37 tbm rpc.idmapd[16253]: Stale client: 24
Jun 15 09:19:37 tbm rpc.idmapd[16253]: #011-> closed 
/var/lib/nfs/rpc_pipefs/nfs/clnt24/idmap
Jun 15 09:19:53 tbm rpc.gssd[16258]: dir_notify_handler: sig 37 si 
0x7fffb0fb3330 data 0x7fffb0fb3200
Jun 15 09:19:53 tbm rpc.idmapd[16253]: New client: 25

I might be missing something, but none of these entries look like 
errors. Where else should I look?

John Haiducek

  parent reply	other threads:[~2013-06-15 15:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <51BAAFFC.6060208@gmail.com>
2013-06-14  5:57 ` Can't mount NFSv4 with kerberos on Debian Wheezy John Haiducek
2013-06-14 17:05   ` Chuck Lever
     [not found]     ` <CAFYD6QXVKpLDS_cWiA2uasu+KXazcRuk-+BX39MdehSwiu35gw@mail.gmail.com>
     [not found]       ` <871BEFF7-33F4-4B34-9887-D5388951987E@oracle.com>
2013-06-15 15:24         ` John Haiducek [this message]
2013-06-15 16:27           ` Chuck Lever
2013-06-15 16:28             ` John Haiducek
2013-06-15 16:31               ` Chuck Lever
2013-06-15 16:38                 ` John Haiducek
2013-06-17 14:23                   ` Chuck Lever
     [not found] <51BF2014.2050809@gmail.com>
2013-06-17 14:42 ` John Haiducek
     [not found] <51BF21E0.8060805@gmail.com>
2013-06-17 14:58 ` John Haiducek
2013-06-17 15:30   ` Chuck Lever
     [not found]     ` <51BFBA5A.5050104@gmail.com>
     [not found]       ` <8565C805-9C6C-4C06-83C0-8574EA90DA53@oracle.com>
     [not found]         ` <51C0AB95.9060509@gmail.com>
     [not found]           ` <EB30924A-D9F1-49C5-A727-DF8B4B2AFDAC@oracle.com>
     [not found]             ` <CAFYD6QXKcNkAgmJV5KyMOpx-cXg35GnYzBg9mg+LFdW83NyQZQ@mail.gmail.com>
     [not found]               ` <A2112E2B-FA65-4FF2-BC21-B78BBDC75CB1@oracle.com>
2013-06-27  6:31                 ` John Haiducek
2013-06-27  7:41                   ` Sven Geggus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51BC8740.8010000@gmail.com \
    --to=jhaiduce@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).