Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#40403 - Lighttpd will not start because of broken default config file. (Fix is included)
Attached to Project:
Arch Linux
Opened by Ryan Jacobs (ryanjacobs) - Friday, 16 May 2014, 23:35 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Tuesday, 20 May 2014, 16:47 GMT
Opened by Ryan Jacobs (ryanjacobs) - Friday, 16 May 2014, 23:35 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Tuesday, 20 May 2014, 16:47 GMT
|
DetailsDescription:
There's a simple typo in the config file /etc/lighttpd/lighttpd.conf causing lighttpd to crash when starting. The variable for index-file.names is not being set correctly. It is an array so the '+=' operator must be used. What it is now : index-file.names = ( "index.html" ) What it should be : index-file.names += ( "index.html" ) Additional info: * Package version: lighttpd 1.4.35-1 * The bug is on line 11 of /etc/lighttpd/lighttpd.conf Steps to reproduce: 1. Install lighttpd with 'pacman -S lighttpd' 2. Start an instance with 'systemctl start lighttpd' 3. See the error message with 'systemctl status lighttpd' |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Tuesday, 20 May 2014, 16:47 GMT
Reason for closing: Not a bug
Tuesday, 20 May 2014, 16:47 GMT
Reason for closing: Not a bug
lighttpd_ORIG.conf
http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names_Details
What is the error, exactly?
Duplicate config variable in conditional 0 global: index-file.names
May 19 22:47:47 delta lighttpd-angel[11281]: 2014-05-19 22:47:47: (configfile.c.957) source:
/etc/lighttpd/lighttpd.conf line: 20 pos: 16 parser failed somehow near here: (EOL)
I didn't notice before that it showed 'duplicate config variable'. I only have one other config file that's included in the main config, but it doesn't look like it adding the same variable to the array. It's this one https://wiki.archlinux.org/index.php/lighttpd#CGI at /etc/lighttpd/conf.d/cgi.conf.