On 11-may-09, at 14:18, Gunnar Wolf wrote:
Benjamin Gufler dijo [Mon, May 11, 2009 at 08:15:42AM +0200]:
Package: cherokee
Version: 0.99.14-1+b1
Severity: normal
After upgrading to 0.99.14-1+b1, cherokee fails to start again,
with error message
rule_extensions.c:70: Rule prio=99999 needs an 'extensions' property
Couldn't read the config file: /etc/cherokee/cherokee.conf
This error is however silently ignored by the startup script.
Adding a trailing newline to the config file solves the problem.
Hi,
I am forwarding this bug to the Cherokee upstream developers, so they
can consider modifying the parser if the last line does not end with a
newline. I will be adding a newline character unless one is present,
by adding this to the installation scripts:
# Make sure the configuration file has a trailing whiteline to
# avoid confusing the parser (see #528160)
CONFFILE=/etc/cherokee.conf
if [ -f $CONFFILE -a ! -z "$(tail -1 $CONFFILE)" ]
echo >> $CONFFILE
fi
I will be uploading a new version incorporating this fix right away,
as at least two people have been bitten by this bug (also #524958).
It's fixed upstream now (r3214), so the patch will be shipped with the
upcoming Cherokee 0.99.15.
Thanks for reporting Gunnar!
--
Octality
http://www.octality.com/
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org