Bug 574299 - automounter segfaults at startup when using LDAP
automounter segfaults at startup when using LDAP
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: autofs (Show other bugs)
13
All Linux
low Severity high
: ---
: ---
Assigned To: Ian Kent
Fedora Extras Quality Assurance
:
Depends On:
Blocks: F13Blocker/F13FinalBlocker
  Show dependency treegraph
 
Reported: 2010-03-17 00:52 EDT by Ian Kent
Modified: 2010-03-17 23:32 EDT (History)
2 users (show)

See Also:
Fixed In Version: autofs-5.0.5-22.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-03-17 23:23:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch - fix get query dn failure (1.07 KB, patch)
2010-03-17 01:00 EDT, Ian Kent
no flags Details | Diff

  None (edit)
Description Ian Kent 2010-03-17 00:52:56 EDT
Description of problem:

automount segfaults on first entry of first map.

The message is 

Mar  4 10:45:41 branch automount[3364]: syntax error in map near [
/export/home/zuluaga ]
Mar  4 10:45:41 branch kernel: automount[3364]: segfault at 0000000000000000
rip 00002abf3bd0c232 rsp 00007fffa79f89a8 error 4

How reproducible:
Always when conditions in patch description are met.
Comment 1 Ian Kent 2010-03-17 00:55:31 EDT
Example backtrace of problem.

(gdb) bt
#0  0x00002b1ebbcb4232 in strcmp () from /lib64/libc.so.6
#1  0x00002b1eba9f3b92 in master_find_mapent (master=<value optimized
out>, 
    path=0x0) at master.c:628
#2  0x00002b1eba9f8b24 in master_parse_entry (buffer=<value optimized
out>, 
    default_timeout=300, logging=0, age=1267722944) at master_parse.y:771
#3  0x00002aaaab58020e in lookup_read_master (master=<value optimized
out>, 
    age=1267722944, context=0x2b1ecf842760) at lookup_ldap.c:1522
#4  0x00002b1eba9e8782 in do_read_master (master=0x2b1ecf80b440, 
    type=<value optimized out>, age=1267722944) at lookup.c:97
#5  0x00002b1eba9e9fe4 in lookup_nss_read_master (master=0x2b1ecf80b440, 
    age=1267722944) at lookup.c:224
#6  0x00002aaaaaad6db7 in lookup_read_master (master=0x2b1ecf80b440, 
    age=1267722944, context=0x2b1ecf811090) at lookup_file.c:463
#7  0x00002b1eba9e8782 in do_read_master (master=0x2b1ecf80b440, 
    type=<value optimized out>, age=1267722944) at lookup.c:97
#8  0x00002b1eba9e88d6 in read_master_map (master=0x2b1ecf80b440, 
    type=0x2b1ecf810530 "files", age=1267722944) at lookup.c:136
#9  0x00002b1eba9e9fe4 in lookup_nss_read_master (master=0x2b1ecf80b440, 
    age=1267722944) at lookup.c:224
#10 0x00002b1eba9f4bd3 in master_read_master (master=0x2b1ecf80b440, 
    age=1267722944, readall=0) at master.c:827
#11 0x00002b1eba9de241 in main (argc=0, argv=0x7fff5df42d78)
    at automount.c:2124
Comment 2 Ian Kent 2010-03-17 01:00:22 EDT
Created attachment 400632 [details]
Patch - fix get query dn failure
Comment 4 Fedora Update System 2010-03-17 01:41:22 EDT
autofs-5.0.5-22.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/autofs-5.0.5-22.fc13
Comment 5 Fedora Update System 2010-03-17 01:59:03 EDT
autofs-5.0.5-22.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/autofs-5.0.5-22.fc12
Comment 6 Fedora Update System 2010-03-17 23:22:52 EDT
autofs-5.0.5-22.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2010-03-17 23:32:27 EDT
autofs-5.0.5-22.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.