This is a regression due to recent (upstream?) refactoring of the lookup_ldap module's lookup_init function (modules/lookup_ldap.c).
Nothing has initialised the config cache in lib/defaults.c before the call to defaults_get_ldap_timeout on line 1668. Previously, this module's first call to defaults.c was defaults_get_searchdns(); that calls defaults_read_config to initialise the config cache, whereas defaults_get_ldap_timeout doesn't do this. Patch attached. Possibly, for completeness, more functions in defaults.c (e.g. defaults_get_ldap_network_timeout) should check that the config cache is initialised before reading from it (at the risk of opening the config file repeatedly). ** Patch added: "autofs_lookup_ldap_crash.diff" https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1503034/+attachment/4505873/+files/autofs_lookup_ldap_crash.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1503034 Title: Autofs 5.1.1-1ubuntu2 crashes with segfault on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1503034/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs