Your message dated Mon, 15 May 2023 14:20:36 +0000
with message-id <[email protected]>
and subject line Bug#1035926: fixed in lighttpd 1.4.70-1+exp1
has caused the Debian Bug report #1035926,
regarding lighttpd conf-enabled files cannot override IPV6 port number
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1035926: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035926
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lighttpd
Version: 1.4.69-1
Summary
===================
Setting a custom port in a config file does not get picked up by the IPV6
module because the custom conf files are included after including
use-ipv6.pl.
Thanks for your work on Debian and on lighttpd specifically. I just use it
for a little personal home server but I appreciate it being available.
To reproduce
===================
1 Note the port configured in lighttpd.conf
$ grep server.port lighttpd.conf
server.port = 80
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
2. Create a custom config and enable it, overriding the port in
lighttpd.conf
$ grep server.port conf-enabled/99-custom-port.conf
server.port := 8080
3. Restart lighttpd
4. Test curl on custom port, ipv4 - works as expected
$ curl -4 localhost:8080
lighttpd served this <---- My index.html file just has this text)
5. Test curl on custom port, ipv6 - unexpectedly fails
$ curl -6 localhost:8080
curl: (7) Failed to connect to localhost port 8080 after 0 ms: Couldn't
connect to server
6. Test curl on lighttd.conf port, ipv6 - unexpectedly works
$ curl -6 localhost:80
lighttpd served this
Issue and suggested fix:
===================
In lighttpd.conf the includes for conf-enabled/*.conf happens after passing
server.port to the use-ipv6.pl script. Re-ordering these lines so that the
conf files are included first allows the server.port value to be
overridden.
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
include "/etc/lighttpd/conf-enabled/*.conf"
System info
===================
x86-64
$lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
$ uname -r
6.1.0-8-amd64
Thanks,
Michael Moore
--- End Message ---
--- Begin Message ---
Source: lighttpd
Source-Version: 1.4.70-1+exp1
Done: Glenn Strauss <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lighttpd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Glenn Strauss <[email protected]> (supplier of updated lighttpd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 13 May 2023 03:11:33 -0500
Source: lighttpd
Architecture: source
Version: 1.4.70-1+exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian lighttpd maintainers <[email protected]>
Changed-By: Glenn Strauss <[email protected]>
Closes: 1035926
Changes:
lighttpd (1.4.70-1+exp1) experimental; urgency=medium
.
* New upstream version 1.4.70
* Install new module mod_h2 (separated out from lighttpd executable)
* Update debian/copyright for lighttpd 1.4.70
* lighttpd.conf: move use-ipv6.pl after include conf-enabled/*.conf
(closes: #1035926)
Checksums-Sha1:
bb66874e9019e5c98b94731ce4e52ede180dd083 4091 lighttpd_1.4.70-1+exp1.dsc
825da03b887c8e84f96cb3f8a6db44153fa01a47 1070048 lighttpd_1.4.70.orig.tar.xz
164f68a498ab6da38f551c8cdb100b657f28bafa 833 lighttpd_1.4.70.orig.tar.xz.asc
7b2d28e38d19718fae75e7e9959bd6245b22f2e8 46728
lighttpd_1.4.70-1+exp1.debian.tar.xz
6d98bbd02d65cb18252a5effa316b329548d05ea 8104
lighttpd_1.4.70-1+exp1_source.buildinfo
Checksums-Sha256:
f021a4ab0778fde5b7969859e62500da2619e5da89fa28c30b207a87c20ef68d 4091
lighttpd_1.4.70-1+exp1.dsc
921ebe1cf4b6b9897e03779ab7a23a31f4ba40a1abe2067525c33cd3ce61fe85 1070048
lighttpd_1.4.70.orig.tar.xz
74c064ee19694f280495eb8074c24a3f409a29fb33abce9443a47d162b168577 833
lighttpd_1.4.70.orig.tar.xz.asc
1913b2f91deecdabeb74538d383db1e7a61d70e9f0d53fd6c67540676ff6da9d 46728
lighttpd_1.4.70-1+exp1.debian.tar.xz
e7e9f0df24a55925e34faf540af7c6450a79189903a4fd53a746086d5f1344c6 8104
lighttpd_1.4.70-1+exp1_source.buildinfo
Files:
ed7378c2bf8eef1251489b4c5074833a 4091 httpd optional lighttpd_1.4.70-1+exp1.dsc
2d06846ec1ac6d1ea96f132a6ebf3296 1070048 httpd optional
lighttpd_1.4.70.orig.tar.xz
10ed2af9505add0ad84524f2cd372dd7 833 httpd optional
lighttpd_1.4.70.orig.tar.xz.asc
5b8cf3952e403e83c6b72c36aa5fde6b 46728 httpd optional
lighttpd_1.4.70-1+exp1.debian.tar.xz
d490ee649a3d21ad4b9e76ab3993f297 8104 httpd optional
lighttpd_1.4.70-1+exp1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmRiOZAACgkQweDZLphv
fH5Syw/+ISQBnJ+4WF+Yxr/sFFhTiHn6w8EUiHyuuz8JCLsa5i8sRA0oMmG5Ej+3
uigpKaFbP/Y8mPtVI+BfakxCZBfKKXlW/ZvlFwIDPzltI3Lb4gv8zqzLUwgddmk3
WtQ/saLACs26okO2vXKHTuZYBYttwODyAna3PuZiCrmtYUtR47oKB57BcY8UY3FG
RPMWxaxKexdXwbzE7xSIdm1keAu+q5Ay8bb3McYgAAQzcaw7dmSrqSjEo9VsXYFt
60t9bEndU035enCIcN5DxAfEgvrS3h6vYt0eg+1+YXCVvN6HS3tGkbgBIGD3lbqj
W4DWsvqB37m0YqJJf9Jq847+zrZcxN+pLQ1nhZoyFy02pt/9GbMiSaI8MYwCl7Ds
iY43gLYSIJTvJC78al2ESr0jdg2nCoLlL+Uyabs2kVvEvAqFIYuzHrqxSeHOg08l
Id1w5c1IhmJnahU49SAfZKYlpmoukNrAkDqx1pQtSOCJ0TFYShHknEHLTLnU/VyG
dYchUwpRkGoMnb3lhMQYKN7KqzdzIU0xNnkj4IUwzbCVqJkgQfFNThvtDO/y93/v
yZdm2Uwc/ROXRc6dwVDhkkzl0sxtpUb3P9S/pnvLqniHkk6Cav6D0M3ZW7G7g0ak
fwwIS0gOWkC9ng0XyINzvAhTVSPLE6FMblUhpP64bQvMDVyTwYM=
=IrlU
-----END PGP SIGNATURE-----
--- End Message ---