[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#214695: apache.config bugginess



Package: apache
Version: 1.3.28-1
Severity: important

While trying to puzzle out why debconf showed me a low-priority question
upon configuring apache (which doesn't look like apache's fault), I
noticed a couple of things in the debconf config script:

#!/bin/sh -e

## Source debconf library.
. /usr/share/debconf/confmodule

if [ -e /usr/apache/suexec ]; then
    db_set apache/enable-suexec true
fi

db_input low apache/enable-suexec || true
db_go || true


First, I think '/usr/apache/suexec' is the wrong path, it should be
/usr/lib/apache/suexec; and second, this should actually say:

if [ -e /usr/lib/apache/suexec ]; then
    db_set apache/enable-suexec true
else
    db_set apache/enable-suexec false
fi

Otherwise, once set to true, debconf will never again check if the admin
has removed suexec by hand, resulting in a loss of local configuration
settings.

Cheers,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature


Reply to: