[Pkg-nginx-maintainers] Bug#1025807: nginx-dev: Use absolute paths in /usr/share/nginx/modules-available/*.conf files

Jérémy Lal kapouer at melix.org
Fri Dec 9 14:37:43 GMT 2022


Package: nginx-dev
Version: 1.22.1-4
Severity: normal

When running nginx as user (with another root), one cannot include those conf files,
before they end up loading modules relative to current nginx root, which is clearly
not what is expected:

[emerg] dlopen() "/home/dev/Software/github/upcache/nginx/modules/ndk_http_module.so" failed (/home/dev/Software/github/upcache/nginx/modules/ndk_http_module.so: cannot open shared object file: No such file or directory) in /usr/share/nginx/modules-available/mod-http-ndk.conf:1


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nginx-dev depends on:
ii  debhelper [debhelper-compat]  13.11.1
ii  dpkg-dev                      1.21.12
ii  libgd-dev                     2.3.3-7
ii  libgeoip-dev                  1.6.12-9
ii  libpcre3-dev                  2:8.39-14
ii  libperl-dev                   5.36.0-5
ii  libssl-dev                    3.0.7-1
ii  libxslt1-dev                  1.1.35-1
ii  nginx-core                    1.22.1-4
ii  po-debconf                    1.0.21+nmu1
ii  quilt                         0.66-2.2
ii  zlib1g-dev                    1:1.2.13.dfsg-1

nginx-dev recommends no packages.

nginx-dev suggests no packages.

-- no debconf information



More information about the Pkg-nginx-maintainers mailing list