Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autofs segfaults processing LDAP mount point [BUG ENTERED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dfelicia
Apprentice
Apprentice


Joined: 11 May 2005
Posts: 281
Location: Southwestern Connecticut

PostPosted: Wed Sep 27, 2006 2:01 am    Post subject: autofs segfaults processing LDAP mount point [BUG ENTERED] Reply with quote

Code:

cat /etc/autofs/auto.master

/nfshome ldap://ldap08.mydomain.com/automountMapName=auto_nfshome,ou=st,ou=ct,ou=na,dc=mydomain,dc=com --timeout=25


Code:

/etc/init.d/autofs start
* Starting automounter ...
 /net /nfshome * Failure on /nfshome


Code:

tail /var/log/messages
Sep 26 22:00:31 stweb automount[9687]: segfault at 000000005565faa8 rip 00002b45f5de9d20 rsp 00007fffb50139a0 error 4


Last edited by dfelicia on Thu Sep 28, 2006 3:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
dfelicia
Apprentice
Apprentice


Joined: 11 May 2005
Posts: 281
Location: Southwestern Connecticut

PostPosted: Thu Sep 28, 2006 3:55 pm    Post subject: Reply with quote

This turns out to be a bug in autofs-4.1.3. Fixed in 4.1.4. I was led to that conclusion by reading this post: http://www.openldap.org/lists/openldap-bugs/200511/msg00165.html

Note that, like the author of that post, I see this only on 64bit (Specifically EM64T using ~amd64).

I worked-around by downloading latest 4.1.4 from kernel.org (which includes an ebuild - kudos to authors of autofs!) and installing as an overlay.

Entered bug 149427 to get 4.1.4 added to portage.
Back to top
View user's profile Send private message
TequilaTR
n00b
n00b


Joined: 01 Feb 2005
Posts: 68

PostPosted: Tue Jun 12, 2007 8:05 pm    Post subject: Reply with quote

Hm... now quite some time has passed, and i still don't see the new autofs-version in portage :(

But there is another fix to that problem, which is posted on the bugzilla (worked for me, too):

CFLAGS="-DLDAP_DEPRECATED" emerge autofs

This worked with the current ~AMD64 version of autofs for me (net-fs/autofs-4.1.3-r7)

Cheers

Teq
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum