Actions
Bug #12132
closedBug #3377: rudder-inventory-ldap package provides openldap libraries
Bug #12117: rudder-inventory-ldap can't be installed on centos (7 at least)
Missing depedency to use rudder-slapd on rpm systems
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
Since we do not have an automatic list of required packaged after #12117, we need to declare dependencies for rudder-slapd in rudder-inventory-ldap
This leads to the following error when restarting rudder-slapd:
service rudder-slapd restart rudder-slapd: [INFO] Using /etc/default/rudder-slapd for configuration rudder-slapd: [OK] virtual memory limit set to unlimited rudder-slapd: [INFO] Halting OpenLDAP... rudder-slapd: [INFO] can't read slapd PID file (/var/rudder/run/slapd.pid), to stop rudder-slapd try: /etc/init.d/rudder-slapd forcestop rudder-slapd: [INFO] Halting OpenLDAP replication... rudder-slapd: [INFO] no replica found in configuration, aborting stopping slurpd rudder-slapd: [INFO] Launching OpenLDAP configuration test... rudder-slapd[26838]: [INFO] Using /etc/default/rudder-slapd for configuration /opt/rudder/sbin/slaptest: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
libltdl is not installed and not linked to /opt/rudder/libexec/slapd
ldd /opt/rudder/libexec/slapd linux-vdso.so.1 => (0x00007ffeb5de1000) libldap_r-2.4.so.2 => /opt/rudder/lib/ldap/libldap_r-2.4.so.2 (0x00007f9c2bfd8000) liblber-2.4.so.2 => /opt/rudder/lib/ldap/liblber-2.4.so.2 (0x00007f9c2bdc8000) libltdl.so.7 => not found libssl.so.10 => /lib64/libssl.so.10 (0x00007f9c2bb4e000) libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f9c2b6ec000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f9c2b4d2000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9c2b2b6000) libc.so.6 => /lib64/libc.so.6 (0x00007f9c2aef2000) libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f9c2aca5000) libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f9c2a9bd000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f9c2a7b8000) libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f9c2a585000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f9c2a381000) libz.so.1 => /lib64/libz.so.1 (0x00007f9c2a16a000) /lib64/ld-linux-x86-64.so.2 (0x00007f9c2c22b000) libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f9c29f5c000) libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f9c29d58000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f9c29b30000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f9c298ce000)
installing libtool-ltdl fix the issue
We should add it as depedency of rudder-inventory-ldap (libltdl7 on sles systems)
Actions