All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs-5.0.8 - get_exports: lookup(hosts): exports lookup failed for $(hostname)
@ 2013-12-23  6:41 Dennis Lan (dlan)
  2013-12-24  4:44 ` Ian Kent
  0 siblings, 1 reply; 5+ messages in thread
From: Dennis Lan (dlan) @ 2013-12-23  6:41 UTC (permalink / raw)
  To: autofs mailing list

Hi Ian:
  A user hit a bug[1] in autofs-5.0.8, while not in autofs-5.0.7,
even it works with commit [2]
  My best guess it could be introduced by commit[3] (but not sure),
also I've seen you queued a few patches after 5.0.8, is there any
relevant?
  most obvious log can be found here [4], or check [1] for more information.
  Thanks

Lan


[1] https://bugs.gentoo.org/show_bug.cgi?id=488886

[2] commit 3247f7cb7e779d2340bd673324045f7617e74ce4
Author: Ian Kent <raven@themaw.net>
Date:   Mon May 27 17:47:20 2013 +0800

    autofs-5.0.7 - fix spelling error in last commit

[3] commit 7acfa6cba07a3ad8cb7976046852ce2830bd2f7e
Author: Ian Kent <ikent@redhat.com>
Date:   Mon Sep 23 12:18:52 2013 +0800

    autofs-5.0.7 - fix portmap lookup

    The autofs RPC library has fallen behind some.

    When using IPv6 (rpbbind) version 3 or 4 is available whereas with IPv4
    (portmap) verions 2 and 3 are available.


[4] error message

Dec 21 09:10:43 impala automount[31374]: get_exports: lookup(hosts):
exports lookup failed for caiman
Dec 21 09:10:43 impala automount[31374]: key "caiman" not found in map
source(s).
Dec 21 09:13:06 impala automount[31374]: get_exports: lookup(hosts):
exports lookup failed for caiman
Dec 21 09:13:06 impala automount[31374]: key "caiman" not found in map
source(s).
Dec 21 09:13:35 impala automount[31374]: create_client: hostname lookup failed:

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

* Re: autofs-5.0.8 - get_exports: lookup(hosts): exports lookup failed for $(hostname)
  2013-12-23  6:41 autofs-5.0.8 - get_exports: lookup(hosts): exports lookup failed for $(hostname) Dennis Lan (dlan)
@ 2013-12-24  4:44 ` Ian Kent
  2013-12-24  4:54   ` Dennis Lan (dlan)
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Kent @ 2013-12-24  4:44 UTC (permalink / raw)
  To: Dennis Lan (dlan); +Cc: autofs mailing list

On Mon, 2013-12-23 at 14:41 +0800, Dennis Lan (dlan) wrote:
> Hi Ian:
>   A user hit a bug[1] in autofs-5.0.8, while not in autofs-5.0.7,
> even it works with commit [2]
>   My best guess it could be introduced by commit[3] (but not sure),
> also I've seen you queued a few patches after 5.0.8, is there any
> relevant?
>   most obvious log can be found here [4], or check [1] for more information.
>   Thanks

AFAICT the ongoing problem is, talking to newer NFS servers works with
the latest patches but breaks for older servers, and the reverse without
the patch.
  
> 
> Lan
> 
> 
> [1] https://bugs.gentoo.org/show_bug.cgi?id=488886
> 
> [2] commit 3247f7cb7e779d2340bd673324045f7617e74ce4
> Author: Ian Kent <raven@themaw.net>
> Date:   Mon May 27 17:47:20 2013 +0800
> 
>     autofs-5.0.7 - fix spelling error in last commit
> 
> [3] commit 7acfa6cba07a3ad8cb7976046852ce2830bd2f7e
> Author: Ian Kent <ikent@redhat.com>
> Date:   Mon Sep 23 12:18:52 2013 +0800
> 
>     autofs-5.0.7 - fix portmap lookup
> 
>     The autofs RPC library has fallen behind some.
> 
>     When using IPv6 (rpbbind) version 3 or 4 is available whereas with IPv4
>     (portmap) verions 2 and 3 are available.
> 
> 
> [4] error message
> 
> Dec 21 09:10:43 impala automount[31374]: get_exports: lookup(hosts):
> exports lookup failed for caiman
> Dec 21 09:10:43 impala automount[31374]: key "caiman" not found in map
> source(s).
> Dec 21 09:13:06 impala automount[31374]: get_exports: lookup(hosts):
> exports lookup failed for caiman
> Dec 21 09:13:06 impala automount[31374]: key "caiman" not found in map
> source(s).
> Dec 21 09:13:35 impala automount[31374]: create_client: hostname lookup failed:
> --
> To unsubscribe from this list: send the line "unsubscribe autofs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

* Re: autofs-5.0.8 - get_exports: lookup(hosts): exports lookup failed for $(hostname)
  2013-12-24  4:44 ` Ian Kent
@ 2013-12-24  4:54   ` Dennis Lan (dlan)
  2013-12-24  8:51     ` Ian Kent
  0 siblings, 1 reply; 5+ messages in thread
From: Dennis Lan (dlan) @ 2013-12-24  4:54 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs mailing list

On Tue, Dec 24, 2013 at 12:44 PM, Ian Kent <raven@themaw.net> wrote:
> On Mon, 2013-12-23 at 14:41 +0800, Dennis Lan (dlan) wrote:
>> Hi Ian:
>>   A user hit a bug[1] in autofs-5.0.8, while not in autofs-5.0.7,
>> even it works with commit [2]
>>   My best guess it could be introduced by commit[3] (but not sure),
>> also I've seen you queued a few patches after 5.0.8, is there any
>> relevant?
>>   most obvious log can be found here [4], or check [1] for more information.
>>   Thanks
>
> AFAICT the ongoing problem is, talking to newer NFS servers works with
> the latest patches but breaks for older servers, and the reverse without
> the patch.
sorry, I didn't follow here..
what do you mean of newer/older servers, do you mean the nfs server
using nfsv2,nfsv3(old protocol), nfsv4( new protocol)?
latest patches, do you mean those queued in git repository?

so, you know the problem? do you have any fix?

thanks

>
>>
>> Lan
>>
>>
>> [1] https://bugs.gentoo.org/show_bug.cgi?id=488886
>>
>> [2] commit 3247f7cb7e779d2340bd673324045f7617e74ce4
>> Author: Ian Kent <raven@themaw.net>
>> Date:   Mon May 27 17:47:20 2013 +0800
>>
>>     autofs-5.0.7 - fix spelling error in last commit
>>
>> [3] commit 7acfa6cba07a3ad8cb7976046852ce2830bd2f7e
>> Author: Ian Kent <ikent@redhat.com>
>> Date:   Mon Sep 23 12:18:52 2013 +0800
>>
>>     autofs-5.0.7 - fix portmap lookup
>>
>>     The autofs RPC library has fallen behind some.
>>
>>     When using IPv6 (rpbbind) version 3 or 4 is available whereas with IPv4
>>     (portmap) verions 2 and 3 are available.
>>
>>
>> [4] error message
>>
>> Dec 21 09:10:43 impala automount[31374]: get_exports: lookup(hosts):
>> exports lookup failed for caiman
>> Dec 21 09:10:43 impala automount[31374]: key "caiman" not found in map
>> source(s).
>> Dec 21 09:13:06 impala automount[31374]: get_exports: lookup(hosts):
>> exports lookup failed for caiman
>> Dec 21 09:13:06 impala automount[31374]: key "caiman" not found in map
>> source(s).
>> Dec 21 09:13:35 impala automount[31374]: create_client: hostname lookup failed:
>> --
>> To unsubscribe from this list: send the line "unsubscribe autofs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>

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

* Re: autofs-5.0.8 - get_exports: lookup(hosts): exports lookup failed for $(hostname)
  2013-12-24  4:54   ` Dennis Lan (dlan)
@ 2013-12-24  8:51     ` Ian Kent
  2013-12-24  9:14       ` Dennis Lan (dlan)
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Kent @ 2013-12-24  8:51 UTC (permalink / raw)
  To: Dennis Lan (dlan); +Cc: autofs mailing list

On Tue, 2013-12-24 at 12:54 +0800, Dennis Lan (dlan) wrote:
> On Tue, Dec 24, 2013 at 12:44 PM, Ian Kent <raven@themaw.net> wrote:
> > On Mon, 2013-12-23 at 14:41 +0800, Dennis Lan (dlan) wrote:
> >> Hi Ian:
> >>   A user hit a bug[1] in autofs-5.0.8, while not in autofs-5.0.7,
> >> even it works with commit [2]
> >>   My best guess it could be introduced by commit[3] (but not sure),
> >> also I've seen you queued a few patches after 5.0.8, is there any
> >> relevant?
> >>   most obvious log can be found here [4], or check [1] for more information.
> >>   Thanks
> >
> > AFAICT the ongoing problem is, talking to newer NFS servers works with
> > the latest patches but breaks for older servers, and the reverse without
> > the patch.
> sorry, I didn't follow here..
> what do you mean of newer/older servers, do you mean the nfs server
> using nfsv2,nfsv3(old protocol), nfsv4( new protocol)?
> latest patches, do you mean those queued in git repository?

That was a bit misleading.

What I'm talking about is portmap vs rpcbind as it relates portmap
protocol versions together with using libtirpc. To make autofs work with
later protocol versions using libtirpc I had to make a fairly large
change. That's already available on kernel.org. I posted the patches not
yet committed (that are in my notional "queue") to the list so you'll
know what they are.

> 
> so, you know the problem? do you have any fix?

I think I have one in the patch series I sent.
Assuming you have the current patches available on kernel.org then the
patch for the protocol not being set likely fixes the current problem.
 
> 
> thanks
> 
> >
> >>
> >> Lan
> >>
> >>
> >> [1] https://bugs.gentoo.org/show_bug.cgi?id=488886
> >>
> >> [2] commit 3247f7cb7e779d2340bd673324045f7617e74ce4
> >> Author: Ian Kent <raven@themaw.net>
> >> Date:   Mon May 27 17:47:20 2013 +0800
> >>
> >>     autofs-5.0.7 - fix spelling error in last commit
> >>
> >> [3] commit 7acfa6cba07a3ad8cb7976046852ce2830bd2f7e
> >> Author: Ian Kent <ikent@redhat.com>
> >> Date:   Mon Sep 23 12:18:52 2013 +0800
> >>
> >>     autofs-5.0.7 - fix portmap lookup
> >>
> >>     The autofs RPC library has fallen behind some.
> >>
> >>     When using IPv6 (rpbbind) version 3 or 4 is available whereas with IPv4
> >>     (portmap) verions 2 and 3 are available.
> >>
> >>
> >> [4] error message
> >>
> >> Dec 21 09:10:43 impala automount[31374]: get_exports: lookup(hosts):
> >> exports lookup failed for caiman
> >> Dec 21 09:10:43 impala automount[31374]: key "caiman" not found in map
> >> source(s).
> >> Dec 21 09:13:06 impala automount[31374]: get_exports: lookup(hosts):
> >> exports lookup failed for caiman
> >> Dec 21 09:13:06 impala automount[31374]: key "caiman" not found in map
> >> source(s).
> >> Dec 21 09:13:35 impala automount[31374]: create_client: hostname lookup failed:
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe autofs" in
> >> the body of a message to majordomo@vger.kernel.org
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> >



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

* Re: autofs-5.0.8 - get_exports: lookup(hosts): exports lookup failed for $(hostname)
  2013-12-24  8:51     ` Ian Kent
@ 2013-12-24  9:14       ` Dennis Lan (dlan)
  0 siblings, 0 replies; 5+ messages in thread
From: Dennis Lan (dlan) @ 2013-12-24  9:14 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs mailing list

On Tue, Dec 24, 2013 at 4:51 PM, Ian Kent <raven@themaw.net> wrote:
> What I'm talking about is portmap vs rpcbind as it relates portmap
> protocol versions together with using libtirpc. To make autofs work with
> later protocol versions using libtirpc I had to make a fairly large
> change. That's already available on kernel.org. I posted the patches not
> yet committed (that are in my notional "queue") to the list so you'll
> know what they are.
>
But the problem which user reported did *not* enable libtirpc..

>>
>> so, you know the problem? do you have any fix?
>
> I think I have one in the patch series I sent.
> Assuming you have the current patches available on kernel.org then the
> patch for the protocol not being set likely fixes the current problem.
>
>>
>> thanks
>>
>> >
>> >>
>> >> Lan
>> >>
>> >>
>> >> [1] https://bugs.gentoo.org/show_bug.cgi?id=488886
>> >>
>> >> [2] commit 3247f7cb7e779d2340bd673324045f7617e74ce4
>> >> Author: Ian Kent <raven@themaw.net>
>> >> Date:   Mon May 27 17:47:20 2013 +0800
>> >>
>> >>     autofs-5.0.7 - fix spelling error in last commit
>> >>
>> >> [3] commit 7acfa6cba07a3ad8cb7976046852ce2830bd2f7e
>> >> Author: Ian Kent <ikent@redhat.com>
>> >> Date:   Mon Sep 23 12:18:52 2013 +0800
>> >>
>> >>     autofs-5.0.7 - fix portmap lookup
>> >>
>> >>     The autofs RPC library has fallen behind some.
>> >>
>> >>     When using IPv6 (rpbbind) version 3 or 4 is available whereas with IPv4
>> >>     (portmap) verions 2 and 3 are available.
>> >>
>> >>
>> >> [4] error message
>> >>
>> >> Dec 21 09:10:43 impala automount[31374]: get_exports: lookup(hosts):
>> >> exports lookup failed for caiman
>> >> Dec 21 09:10:43 impala automount[31374]: key "caiman" not found in map
>> >> source(s).
>> >> Dec 21 09:13:06 impala automount[31374]: get_exports: lookup(hosts):
>> >> exports lookup failed for caiman
>> >> Dec 21 09:13:06 impala automount[31374]: key "caiman" not found in map
>> >> source(s).
>> >> Dec 21 09:13:35 impala automount[31374]: create_client: hostname lookup failed:
>> >> --
>> >> To unsubscribe from this list: send the line "unsubscribe autofs" in
>> >> the body of a message to majordomo@vger.kernel.org
>> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> >
>> >
>
>

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

end of thread, other threads:[~2013-12-24  9:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-23  6:41 autofs-5.0.8 - get_exports: lookup(hosts): exports lookup failed for $(hostname) Dennis Lan (dlan)
2013-12-24  4:44 ` Ian Kent
2013-12-24  4:54   ` Dennis Lan (dlan)
2013-12-24  8:51     ` Ian Kent
2013-12-24  9:14       ` Dennis Lan (dlan)

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.