docker-openldap icon indicating copy to clipboard operation
docker-openldap copied to clipboard

Missing libsasl2 in 2.6-7.6.8

Open luqmanrizal opened this issue 3 months ago • 8 comments

Summary

The container failed to run the latest commit 9b995549db020cc0029e088e3352622aa3985cbd with the default out-of-the-box configuration.

Steps to reproduce

  1. Pull the 2.6-7.6.8 image tag
docker pull tiredofit/openldap:2.6-7.6.8
  1. Run the docker image
docker run -it tiredofit/openldap:2.6-7.6.8

What is the expected correct behavior?

Expected the container to run normally with no additional configuration.

Relevant logs and/or screenshots

                                                                       ,---.
,--------.,--.                 ,--.            ,---.    ,--. ,--------.|   |
'--.  .--'`--',--.--. ,---.  ,-|  |     ,---. /  .-'    |  | '--.  .--'|  .'
   |  |   ,--.|  .--'| .-. :' .-. |    | .-. ||  `-,    |  |    |  |   |  |
   |  |   |  ||  |   \   --.\ `-' |    ' '-' '|  .-'    |  |.--.|  |   `--'
   `--'   `--'`--'    `----' `---'      `---' `--'      `--''--'`--'   .--.
                                                                       '--'
Image:  tiredofit/openldap | Version  2.6-7.6.8 Type 'image_changelog' for details
Repository/Documentation: https://github.com/tiredofit/docker-openldap/

If this image provides you value  - Consider sponsoring my work for continued
development, timely updates, and feature requests. Commercial support available.

                    More Info:  https://www.tiredofit.ca

2024-05-23.04:51:40 [NOTICE] ** [monitoring] Container configured for monitoring with 'zabbix modern'
2024-05-23.04:51:40 [NOTICE] ** [scheduling] Container configured for scheduled tasks with 'cron'
2024-05-23.04:51:40 [NOTICE] ** [messaging] Container configured to route mail via SMTP to 'postfix-relay'
2024-05-23.04:51:40 [NOTICE] ** [openldap] Setting up directories
2024-05-23.04:51:40 [NOTICE] ** [openldap] Configuring OpenLDAP server
ls: unrecognized option: I
BusyBox v1.36.1 (2024-05-21 13:38:37 UTC) multi-call binary.

Usage: ls [-1AaCxdLHRFplinshrSXvctu] [-w WIDTH] [FILE]...

List directory contents

        -1      One column output
        -a      Include names starting with .
        -A      Like -a, but exclude . and ..
        -x      List by lines
        -d      List directory names, not contents
        -L      Follow symlinks
        -H      Follow symlinks on command line
        -R      Recurse
        -p      Append / to directory names
        -F      Append indicator (one of */=@|) to names
        -l      Long format
        -i      List inode numbers
        -n      List numeric UIDs and GIDs instead of names
        -s      List allocated blocks
        -lc     List ctime
        -lu     List atime
        --full-time     List full date/time
        -h      Human readable sizes (1K 243M 2G)
        --group-directories-first
        -S      Sort by size
        -X      Sort by extension
        -v      Sort by version
        -t      Sort by mtime
        -tc     Sort by ctime
        -tu     Sort by atime
        -r      Reverse sort order
        -w N    Format N columns wide
        --color[={always,never,auto}]
ls: unrecognized option: I
BusyBox v1.36.1 (2024-05-21 13:38:37 UTC) multi-call binary.

Usage: ls [-1AaCxdLHRFplinshrSXvctu] [-w WIDTH] [FILE]...

List directory contents

        -1      One column output
        -a      Include names starting with .
        -A      Like -a, but exclude . and ..
        -x      List by lines
        -d      List directory names, not contents
        -L      Follow symlinks
        -H      Follow symlinks on command line
        -R      Recurse
        -p      Append / to directory names
        -F      Append indicator (one of */=@|) to names
        -l      Long format
        -i      List inode numbers
        -n      List numeric UIDs and GIDs instead of names
        -s      List allocated blocks
        -lc     List ctime
        -lu     List atime
        --full-time     List full date/time
        -h      Human readable sizes (1K 243M 2G)
        --group-directories-first
        -S      Sort by size
        -X      Sort by extension
        -v      Sort by version
        -t      Sort by mtime
        -tc     Sort by ctime
        -tu     Sort by atime
        -r      Reverse sort order
        -w N    Format N columns wide
        --color[={always,never,auto}]
2024-05-23.04:51:40 [WARN] ** [openldap] First time install detected
2024-05-23.04:51:40 [NOTICE] ** [openldap] Using NIS schema type
Error loading shared library libltdl.so.7: No such file or directory (needed by /usr/sbin/slappasswd)
Error loading shared library libsasl2.so.3: No such file or directory (needed by /usr/sbin/slappasswd)
Error loading shared library libuuid.so.1: No such file or directory (needed by /usr/sbin/slappasswd)
Error loading shared library libsasl2.so.3: No such file or directory (needed by /usr/lib/libldap.so.2)
Error relocating /usr/lib/libldap.so.2: sasl_set_mutex: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_client_step: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_version: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_decode: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_client_init: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_dispose: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_errstring: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_encode: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_errdetail: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_getprop: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_global_listmech: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_setprop: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_client_start: symbol not found
Error relocating /usr/lib/libldap.so.2: sasl_client_new: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_server_start: symbol not found
Error relocating /usr/sbin/slappasswd: prop_request: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_listmech: symbol not found
Error relocating /usr/sbin/slappasswd: uuid_generate: symbol not found
Error relocating /usr/sbin/slappasswd: uuid_unparse_lower: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_set_mutex: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_auxprop_getctx: symbol not found
Error relocating /usr/sbin/slappasswd: lt_dlopenext: symbol not found
Error relocating /usr/sbin/slappasswd: lt_dlexit: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_version: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_dispose: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_setpass: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_seterror: symbol not found
Error relocating /usr/sbin/slappasswd: prop_set: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_checkpass: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_done: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_errdetail: symbol not found
Error relocating /usr/sbin/slappasswd: lt_dlclose: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_getprop: symbol not found
Error relocating /usr/sbin/slappasswd: lt_dlerror: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_auxprop_add_plugin: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_server_new: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_server_step: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_setprop: symbol not found
Error relocating /usr/sbin/slappasswd: sasl_server_init: symbol not found
Error relocating /usr/sbin/slappasswd: prop_getnames: symbol not found
Error relocating /usr/sbin/slappasswd: lt_dlsym: symbol not found
Error relocating /usr/sbin/slappasswd: lt_dlinit: symbol not found
Error relocating /usr/sbin/slappasswd: lt_dlsetsearchpath: symbol not found

Environment

  • Image version / tag: 2.6-7.6.8
  • Host OS: ubuntu/linux/amd64

Possible fixes

Possible bash script failure in tiredofit/alpine:3.20. Reverting base image to tiredofit/alpine:3.19 as a temporary fix.

luqmanrizal avatar May 23 '24 05:05 luqmanrizal