Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381315 - net-fs/autofs-5.0.6-r1 USE="ldap -sasl" - lookup_ldap.so: undefined symbol: parse_ldap_config
Summary: net-fs/autofs-5.0.6-r1 USE="ldap -sasl" - lookup_ldap.so: undefined symbol: p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 15:44 UTC by Martin Stockinger
Modified: 2011-09-15 09:19 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (emerge_info.txt,5.28 KB, text/plain)
2011-08-31 15:44 UTC, Martin Stockinger
Details
Revert upstream patch introducing this breakage (autofs-5.0.6-revert-fix-simple-bind-without-SASL-support.patch,511 bytes, patch)
2011-09-07 08:40 UTC, Dustin Polke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Stockinger 2011-08-31 15:44:22 UTC
Created attachment 285139 [details]
Output of emerge --info

I built autofs-5.0.6-r1 with USE="ldap -hesiod -sasl". When I start the automount daemon, I get the following error in messages:

automount[10812]: open_lookup:90: cannot open lookup module ldap (/usr/lib64/autofs/lookup_ldap.so: undefined symbol: parse_ldap_config)

The automounting of directories didn't work, as the mount information is located in an ldap repository.

I downgraded to autofs-5.0.5-r4 and everything worked again.
Comment 1 Martin Stockinger 2011-08-31 15:54:34 UTC
/etc/conf.d/autofs:
  TIMEOUT=300
  BROWSE_MODE="no"
  MOUNT_NFS_DEFAULT_PROTOCOL=3
  MAP_OBJECT_CLASS="automountMap"
  ENTRY_OBJECT_CLASS="automount"
  MAP_ATTRIBUTE="ou"
  ENTRY_ATTRIBUTE="cn"
  VALUE_ATTRIBUTE="automountInformation"
  AUTH_CONF_FILE="/etc/autofs/autofs_ldap_auth.conf"
  USE_MISC_DEVICE="yes"
  OPTIONS="-O vers=3,tcp"


/etc/autofs/autofs_ldap_auth.conf:
  <?xml version="1.0" ?>
  <autofs_ldap_sasl_conf
        usetls="no"
        tlsrequired="no"
        authrequired="no"
  />
Comment 2 Mathias Weigt 2011-09-02 12:32:36 UTC
I'm having the same problem here after updating to autofs-5.0.6-r1
After Downgrading to 5.0.5-r4 it works again.
Our autofs config file doesn't specify _CLASSes, instead it lets automount auto-detect the format (autmountMap too)
Comment 3 Dustin Polke 2011-09-06 15:27:52 UTC
(In reply to comment #2)
> I'm having the same problem here after updating to autofs-5.0.6-r1
> After Downgrading to 5.0.5-r4 it works again.
> Our autofs config file doesn't specify _CLASSes, instead it lets automount
> auto-detect the format (autmountMap too)

I have not access to a LDAP system, so I cannot test this myself. I am sorry that you got hit by this. Would you please test whether autofs-5.0.5-r5 is still working or wheter this version is already broken and report back?
Comment 4 Dustin Polke 2011-09-06 15:57:13 UTC
(In reply to comment #3)
> (In reply to comment #2)
>  
> I have not access to a LDAP system, so I cannot test this myself. I am sorry
> that you got hit by this. Would you please test whether autofs-5.0.5-r5 is
> still working or wheter this version is already broken and report back?
I have found the cause for this so you do not need to test autofs-5.0.5-r5. If I have made a patch, Iwill attach it here to be tested.
Comment 5 Dustin Polke 2011-09-07 08:40:59 UTC
Created attachment 285765 [details, diff]
Revert upstream patch introducing this breakage

I've sent an email to upstream's mailing list about this.

@Peter: please let me know about how to proceed with this.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-09-09 19:02:40 UTC
This just bit one of my old contacts too.

dustin:
Does your patch still allow it to work for the SASL users as well as the non-SASL users?

stefaan:
can we get this into the tree meanwhile?
Comment 7 Dustin Polke 2011-09-12 07:32:22 UTC
(In reply to comment #6)
> This just bit one of my old contacts too.
> 
> dustin:
> Does your patch still allow it to work for the SASL users as well as the
> non-SASL users?
SASL users are not affected by this because then no code is excluded by #ifdef WITH_SASL wrappings. The patch does only revert an upstream patch applied later than 5.0.5-r4, which has been reported to be working.

I think reverting this patch is a "hotfix" until upstream comes up with a full patch for this.
My email to upstream seems to got lost (it was to kernel.org which was down soon after sending), I will resend it today.
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2011-09-14 18:30:23 UTC
Ok, I've commited fix. Martin could you check 5.0.6-r2 and if it works for you we'll start fast stabilization. Thanks.
Comment 9 upendra 2011-09-14 18:39:04 UTC
Hello,

This may not be adding anything useful to dicussion but I am having the issue with autofs on gentoo amd64,

 Installed versions:  5.0.6-r1(11:39:10 09/14/11)(ldap -hesiod -sasl)

If you are waiting for someone to test this patch, I will be happy to test it but I am not aware how to do it. If you can give me exact instructions I promise I will get back to you as soon as possible.
Comment 10 Dustin Polke 2011-09-14 19:11:57 UTC
(In reply to comment #9)
> Hello,
> 
> This may not be adding anything useful to dicussion but I am having the issue
> with autofs on gentoo amd64,
> 
>  Installed versions:  5.0.6-r1(11:39:10 09/14/11)(ldap -hesiod -sasl)
> 
> If you are waiting for someone to test this patch, I will be happy to test it
> but I am not aware how to do it. If you can give me exact instructions I
> promise I will get back to you as soon as possible.
Wait one hour until autofs-5.0.6-r2 hits the rsync servers and then sync. Just install autofs-5.0.6 afterwards and see whether this issue is gone and report back.
Thank you for your help.
Comment 11 upendra 2011-09-14 23:10:28 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > Hello,
> > 
> > This may not be adding anything useful to dicussion but I am having the issue
> > with autofs on gentoo amd64,
> > 
> >  Installed versions:  5.0.6-r1(11:39:10 09/14/11)(ldap -hesiod -sasl)
> > 
> > If you are waiting for someone to test this patch, I will be happy to test it
> > but I am not aware how to do it. If you can give me exact instructions I
> > promise I will get back to you as soon as possible.
> Wait one hour until autofs-5.0.6-r2 hits the rsync servers and then sync. Just
> install autofs-5.0.6 afterwards and see whether this issue is gone and report
> back.
> Thank you for your help.

Thanks. You said one hour but it still isn't there.
Comment 12 Peter Volkov (RETIRED) gentoo-dev 2011-09-15 06:12:49 UTC
(In reply to comment #11)
> Thanks. You said one hour but it still isn't there.

It should be now. Remote console hanged due to networking and I've noticed this morning.
Comment 13 Mathias Weigt 2011-09-15 06:56:03 UTC
(In reply to comment #8)
> Ok, I've commited fix. Martin could you check 5.0.6-r2 and if it works for you
> we'll start fast stabilization. Thanks.

It works here. Thanks!
Comment 14 Peter Volkov (RETIRED) gentoo-dev 2011-09-15 09:19:09 UTC
Thank you! Resolved. Stabilization will be handled in bug 379569.