Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lighttpd crashes with ldap enabled in docker image 4.4.0-9 #74

Open
wrightsonm opened this issue Mar 5, 2022 · 2 comments
Open

lighttpd crashes with ldap enabled in docker image 4.4.0-9 #74

wrightsonm opened this issue Mar 5, 2022 · 2 comments

Comments

@wrightsonm
Copy link

When upgrading from 4.4.0-8 to 4.4.0-9 I have found that lighttpd crashes when auth_method = ldap.

2022-03-05 15:53:30,931 INFO Set uid to user 0 succeeded
2022-03-05 15:53:30,956 INFO RPC interface 'supervisor' initialized
2022-03-05 15:53:30,958 INFO supervisord started with pid 1
2022-03-05 15:53:31,965 INFO spawned: 'backuppc' with pid 41
2022-03-05 15:53:31,972 INFO spawned: 'lighttpd' with pid 42
2022-03-05 15:53:31,982 INFO spawned: 'watchmails' with pid 43
2022-03-05 15:53:33,509 INFO success: backuppc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-03-05 15:53:33,510 INFO success: lighttpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-03-05 15:53:33,510 INFO success: watchmails entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Assertion failed: lr->lr_refcnt == 0 (request.c: ldap_find_request_by_msgid: 1672)
2022-03-05 15:53:38,812 INFO exited: lighttpd (terminated by SIGABRT (core dumped); not expected)
2022-03-05 15:53:39,819 INFO spawned: 'lighttpd' with pid 47
Assertion failed: lr->lr_refcnt == 0 (request.c: ldap_find_request_by_msgid: 1672)
2022-03-05 15:53:40,039 INFO exited: lighttpd (terminated by SIGABRT (core dumped); not expected)
2022-03-05 15:53:41,046 INFO spawned: 'lighttpd' with pid 48
2022-03-05 15:53:42,051 INFO success: lighttpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

I have tested versions 4.4.0-7, 4.4.0-8 and 4.4.0-9

versions 7 & 8 work, but unforatunely the latest version does not.

This is my sanitized docker command:

sudo docker run \
    --name backuppc4409 \
    --publish 32701:8080 \
    --volume /volume1/docker/backuppc/etc:/etc/backuppc \
    --volume /volume1/docker/backuppc/home:/home/backuppc \
    --volume /volume1/docker/backuppc/data:/data/backuppc \
    --env 'AUTH_METHOD=ldap' \
    --env 'LDAP_BACKUPPC_ADMIN=user1 user2' \
    --env 'LDAP_BIND_PW=myldappassword' \
    --env 'LDAP_BIND_DN=CN=SomeUser,OU=SomeOU,DC=SomeDomain,DC=LAN' \
    --env 'LDAP_FILTER=(&(objectClass=user)(sAMAccountName=$))' \
    --env 'LDAP_BASE_DN=DC=SomeDomain,DC=lan' \
    --env 'LDAP_HOSTNAME=hostname.domain.lan:389' \
    --env 'BACKUPPC_WEB_PASSWD=adminpassword' \
    --env 'BACKUPPC_WEB_USER =adminuser' \
    --env 'TZ=Europe/London' \
    --env 'BACKUPPC_GUID=65537' \
    --env 'BACKUPPC_UUID=1026' \
    adferrand/backuppc:4.4.0-9		
@northriverboats
Copy link

I have rebuilt with 4.4.0-9 locally and I do not have that problem. However if I pull the image from dockerhub, I get the same crash and restart.

@pmtek
Copy link

pmtek commented Oct 2, 2022

Same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants