Can't mount NFSv4 with kerberos on Debian Wheezy
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 16 lines · Chuck Lever
Quoted 13 lines · On Jun 14, 2013, at 3:49 PM, John Haiducek <[email protected]…
Quoted 3 lines · On Jun 14, 2013 11:05 AM, "Chuck Lever" <[email protected]…
On Jun 14, 2013, at 1:57 AM, John Haiducek <[email protected]
Quoted 2 lines · <mailto:[email protected]>> wrote:
Quoted 2 lines
Jun 11 20:28:23 tbm rpc.gssd[8959]: Name or service not knownwhile getting full hostname for 'tbm.enterprise.local'
Quoted 2 lines
gssd thinks your client's hostname is "tbm.enterprise.local," which
has no DNS entry.
Quoted 8 lines
Quoted 2 lines
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().
Ifget_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.
Incidentally, I have a dual-stack network (ipv4 and ipv6). My best guess is that ipv6 is not part of the problem; the client and server had missing AAAA records in DNS; when I added those the NFS mount switched automatically to using ipv6 for the connection but it hangs the same as before.
John
Quoted 15 lines · John Haiducek
Quoted 13 lines · Chuck Lever
Quoted 10 lines · On Jun 14, 2013, at 3:49 PM, John Haiducek <[email protected]…
Quoted 7 lines · On Jun 14, 2013 11:05 AM, "Chuck Lever" <[email protected]…
Quoted 1 line · On Jun 14, 2013, at 1:57 AM, John Haiducek <[email protected]…
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.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
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.
Incidentally, I have a dual-stack network (ipv4 and ipv6). My best guess is that ipv6 is not part of the problem; the client and server had missing AAAA records in DNS; when I added those the NFS mount switched automatically to using ipv6 for the connection but it hangs the same as before.
It looks to me like a network connectivity issue at this point. The next step is to capture a network trace.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CAFYD6QXKcNkAgmJV5KyMOpx-cXg35GnYzBg9mg+LFdW83NyQZQ@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
Chuck,
I upgraded my system to Debian experimental yesterday and that fixed my NFS problem. Downgraded again to Wheezy and NFS still works. (I had put NFS on the back burner; the upgrade and downgrade was part of an attempt to install Skype, which eventually proved successful.) So apparently the problem was a broken installation of one of the NFS packages or a dependency. Presumably I could have fixed it by re-installing the one or two offending packages, but the "reinstall almost everything on the system" approach seems to have worked too. Thank you again for all your help!
John
Quoted 2 lines · John Haiducek
I upgraded my system to Debian experimental yesterday and that fixed my NFS problem.
NFS userland is newer in testing/unstable 1.2.8 vs. 1.2.6 so did you downgrade those as well?
Sven
Signature · 4 lines
"Das ist halt der Unterschied: Unix ist ein Betriebssystem mit Tradition,
die anderen sind einfach von sich aus unlogisch."
(Anselm Lingnau in de.comp.os.unix.discussion)
/me ist giggls@ircnet, http://sven.gegg.us/ im WWW