The problem seems to be caused by cherokee.preinst:

case "$action" in
    install)
        # 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)" ]
        then
            echo >> $CONFFILE
        fi
        ;;


Also, cherokee.conf as shipped by cherokee seems to not contain that
newline, so the modification is always done.

I think the sanest solution is to revert this change, modify
cherokee.conf at package build time and mention in cherokee.conf the
problem. Adding a comment to the end of the file plus the trailing
newline should do it.


-- 
Saludos,
Felipe Sateler

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to