Bug 265969 - www/nginx-devel: 1.23.* exits w/ signal 10 and 11 with auth_ldap module enabled
Summary: www/nginx-devel: 1.23.* exits w/ signal 10 and 11 with auth_ldap module enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sergey A. Osokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-21 09:31 UTC by Raivo Hool
Modified: 2022-08-23 03:18 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (osa)


Attachments
Make ngx_http_auth_ldap_module.c work with 1.23.* (1.80 KB, patch)
2022-08-21 15:16 UTC, Raivo Hool
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raivo Hool 2022-08-21 09:31:28 UTC
www/nginx-devel version 1.23 and upwards keeps crashing and respawning with signal 10 and 11 if ngx_http_auth_ldap_module.so is loaded. Unloading the module rectifies the issue. There are no such issues with 1.22.* and below.

There have apparently been changes to the nginx API from 1.22 to 1.23. The module (GitHub: kvspb/nginx-auth-ldap) has not been updated in over two years, so it's pretty safe to say that the module has not been brought up to date with the API changes, and that's most likely the culprit here.

Perhaps changing to https://github.com/nginxinc/nginx-ldap-auth is in order?
Comment 1 Raivo Hool 2022-08-21 15:16:21 UTC
Created attachment 236043 [details]
Make ngx_http_auth_ldap_module.c work with 1.23.*
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-08-23 03:18:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7b8cbbf12a2c7eb993b6dcb08f6937880c3e5201

commit 7b8cbbf12a2c7eb993b6dcb08f6937880c3e5201
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2022-08-23 03:15:37 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2022-08-23 03:15:37 +0000

    www/nginx-devel: fix crash of the third-party http_auth_ldap module

    Bump PORTREVISION.

    PR:             265969

 www/nginx-devel/Makefile                                       |  2 +-
 www/nginx-devel/Makefile.extmod                                |  1 +
 .../files/extra-patch-ngx_http_auth_ldap_module.c (new)        | 10 ++++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
Comment 3 Sergey A. Osokin freebsd_committer freebsd_triage 2022-08-23 03:18:59 UTC
Committed with a small modification, thanks you!