Project

General

Profile

Actions

Bug #2754

closed

Debian Packaging: mod_auth broken

Added by ckreutzer over 7 years ago. Updated over 7 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_auth
Target version:
ASK QUESTIONS IN Forums:

Description

Hello,

I'm running the current nightly build (deb Package) on my build server: 1.4.42~snap-20160925-084809-ga66194-0.1~jessie

I tried to setup basic auth, but it fails to load:
lighttpd[15928]: 2016-09-29 23:06:12: (plugin.c.227) dlopen() failed for: /usr/lib/lighttpd/mod_authn_file.so /usr/lib/lighttpd/mod_authn_file.so: cannot open shared object file: No such file or directory
Sep 29 23:06:12 jen.ck-ws.net lighttpd[15928]: 2016-09-29 23:06:12: (server.c.923) loading plugins finally failed

contents of /usr/lib/lighttpd/:
root@jen:~# ls -al /usr/lib/lighttpd/
insgesamt 548
drwxr-xr-x 2 root root 4096 Sep 25 21:25 .
drwxr-xr-x 57 root root 4096 Sep 29 23:02 ..
-rw-r--r-- 1 root root 22232 Sep 25 10:54 mod_accesslog.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_access.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_alias.so
-rw-r--r-- 1 root root 22608 Sep 25 10:54 mod_auth.so
-rw-r--r-- 1 root root 30424 Sep 25 10:54 mod_cgi.so
-rw-r--r-- 1 root root 18136 Sep 25 10:54 mod_compress.so
-rw-r--r-- 1 root root 26768 Sep 25 10:54 mod_dirlisting.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_evasive.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_evhost.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_expire.so
-rw-r--r-- 1 root root 14040 Sep 25 10:54 mod_extforward.so
-rw-r--r-- 1 root root 55536 Sep 25 10:54 mod_fastcgi.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_flv_streaming.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_indexfile.so
-rw-r--r-- 1 root root 26328 Sep 25 10:54 mod_proxy.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_redirect.so
-rw-r--r-- 1 root root 14264 Sep 25 10:54 mod_rewrite.so
-rw-r--r-- 1 root root 14040 Sep 25 10:54 mod_rrdtool.so
-rw-r--r-- 1 root root 47296 Sep 25 10:54 mod_scgi.so
-rw-r--r-- 1 root root 14320 Sep 25 10:54 mod_secdownload.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_setenv.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_simple_vhost.so
-rw-r--r-- 1 root root 34976 Sep 25 10:54 mod_ssi.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_staticfile.so
-rw-r--r-- 1 root root 22232 Sep 25 10:54 mod_status.so
-rw-r--r-- 1 root root 10168 Sep 25 10:54 mod_userdir.so
-rw-r--r-- 1 root root 9944 Sep 25 10:54 mod_usertrack.so

It seems like the new modular mod_auth parts is missing (mod_authn_*.so).

Actions #1

Updated by gstrauss over 7 years ago

  • Status changed from New to Need Feedback
  • Target version changed from 1.4.x to 1.4.42

Thanks for the report.

lighttpd continuous integration (ci.lighttpd.net) builds snapshots of debian packages and I see that the new mod_authn_* modules are being built (click on Parsed Console Output) at https://ci.lighttpd.net/view/lighttpd1.4/job/lighttpd1.4-debian-packages/DISTRIBUTION=jessie/lastBuild/ and I see that the modules are part of the install target, but not part of the dh_install.

Maybe the debian scripts need to be updated to add the new modules to the package? I need to look further, but at the moment, this looks like a packaging issue.

Actions #2

Updated by gstrauss over 7 years ago

  • Status changed from Need Feedback to Invalid

The debian packaging files are not part of the lighttpd repository, so marking this ticket as Invalid here in the lighttpd bug tracker, but here's some info to provide on the Debian bug tracker:

==> The list in debian/lighttpd.install needs to be updated with new modules added in lighttpd 1.4.42. This currently includes the following required modules which, for compatibility with existing configs, are loaded automatically if mod_auth is specified in lighttpd.conf.

debian/tmp/usr/lib/lighttpd/mod_authn_file.so
debian/tmp/usr/lib/lighttpd/mod_authn_ldap.so
debian/tmp/usr/lib/lighttpd/mod_authn_mysql.so

(optionally, or in a supplemental debian package)

debian/tmp/usr/lib/lighttpd/mod_authn_gssapi.so

debian/tmp/usr/lib/lighttpd/mod_deflate.so

debian/tmp/usr/lib/lighttpd/mod_geoip.so

debian/tmp/usr/lib/lighttpd/mod_uploadprogress.so

Note: additional modules may be added in the next couple weeks before lighttpd 1.4.42 is prepared for release.

Actions #3

Updated by ckreutzer over 7 years ago

gstrauss wrote:

Maybe the debian scripts need to be updated to add the new modules to the package? I need to look further, but at the moment, this looks like a packaging issue.

Yes, I think it's only a packaging problem, too. Where do the packaging scripts come from? Debian upstream (their current version is 1.4.39 in sid :/ )? Or somewhere from Stefan Buehlers Repo? I thought they would be managed in the project somewhere (at least for the builds from ci.lighttpd.net).

Actions #4

Updated by gstrauss over 7 years ago

FYI: With the release of lighttpd 1.4.42, I contacted various package maintainers and asked them to update their package manifests.

Actions

Also available in: Atom