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). Thanks -- Gunnar Wolf - gw...@gwolf.org - (+52-55)5623-0154 / 1451-2244 PGP key 1024D/8BB527AF 2001-10-23 Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org