Bug 574299 - automounter segfaults at startup when using LDAP
Summary: automounter segfaults at startup when using LDAP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 13
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Ian Kent
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F13Blocker, F13FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2010-03-17 04:52 UTC by Ian Kent
Modified: 2010-03-18 03:32 UTC (History)
2 users (show)

Fixed In Version: autofs-5.0.5-22.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-18 03:23:21 UTC
Type: ---
Embargoed:


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

Description Ian Kent 2010-03-17 04:52:56 UTC
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 04:55:31 UTC
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 05:00:22 UTC
Created attachment 400632 [details]
Patch - fix get query dn failure

Comment 4 Fedora Update System 2010-03-17 05:41:22 UTC
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 05:59:03 UTC
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-18 03:22:52 UTC
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-18 03:32:27 UTC
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.