一些快速的系统信息:我正在运行带有所有最新软件的 Arch linux,LDAP 已配置并且(或多或少)工作。 autofs 映射存储在 LDAP 服务器上,这些映射由数百个 Ubuntu 14.04 机器使用。
这是 /etc/autofs/autofs_ldap_auth.conf 配置:
<autofs_ldap_sasl_conf
usetls="yes"
tlsrequired="yes"
authrequired="yes"
authtype="EXTERNAL"
external_cert="etc/openldap/ca-cert.pem"
/>
跑步时
# systemctl start autofs
autofs 转储核心:
Jan 12 14:55:33 lizard systemd[1]: Starting Automounts filesystems on demand...
Jan 12 14:55:33 lizard systemd[1]: Started Process Core Dump (PID 16463/UID 0).
Jan 12 14:55:33 lizard systemd[1]: autofs.service: Control process exited, code=exited status=1
Jan 12 14:55:33 lizard systemd[1]: Failed to start Automounts filesystems on demand.
Jan 12 14:55:33 lizard systemd[1]: autofs.service: Unit entered failed state.
Jan 12 14:55:33 lizard systemd[1]: autofs.service: Failed with result 'exit-code'.
Jan 12 14:55:33 lizard systemd-coredump[16464]: Process 16458 (automount) of user 0 dumped core.
Stack trace of thread 16458:
#0 0x00007f547ac6804f raise (libc.so.6)
#1 0x00007f547ac6947a abort (libc.so.6)
#2 0x00007f547aca5c50 __libc_message (libc.so.6)
#3 0x00007f547acabfe6 malloc_printerr (libc.so.6)
#4 0x00007f547acac7de _int_free (libc.so.6)
#5 0x00007f5479a265c5 n/a (lookup_ldap.so)
#6 0x00007f5479a2ce78 lookup_done (lookup_ldap.so)
#7 0x000055b1ce49f050 close_lookup (automount)
#8 0x000055b1ce49f934 n/a (automount)
#9 0x000055b1ce4a0632 lookup_nss_read_master (automount)
#10 0x00007f547a2cf267 lookup_read_master (lookup_files.so)
....
显然应用程序不应该转储核心,但是对我可能做错了什么有什么想法吗?当/etc/autofs/autofs_ldap_auth.conf
设置为以下内容时,Autofs 启动没有问题:
<autofs_ldap_sasl_conf
usetls="no"
tlsrequired="no"
authrequired="no"
/>
(即包默认)。