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

Bug#38999: marked as done (apache: configuration check when upgrading)



Your message dated Sun, 7 Dec 2003 14:36:21 +0100 (CET)
with message-id <Pine.LNX.4.58.0312071431340.23863@trider-g7.ext.fabbione.net>
and subject line closing the bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Jun 1999 17:12:02 +0000
Received: (qmail 22461 invoked from network); 5 Jun 1999 17:12:00 -0000
Received: from pi.satimex.tvnet.hu (195.38.97.160)
  by master.debian.org with SMTP; 5 Jun 1999 17:12:00 -0000
Received: from mgyula@localhost by pi.satimex.tvnet.hu id <17989-233>; Sat, 5 Jun 1999 19:11:41 +0200
Sender: mgyula@pi.satimex.tvnet.hu
From:	<mgyula@pi.satimex.tvnet.hu>
Subject: apache: configuration check when upgrading
To:	submit@bugs.debian.org
X-Mailer: bug 3.2.0
Message-Id: <19990605171154Z17989-233+24@pi.satimex.tvnet.hu>
Date:	Sat, 5 Jun 1999 19:11:41 +0200

Package: apache
Version: 1.3.6-11
Severity: normal

Please ask if i wan't to modify the configuration files at all before asking
questions about configuration files. This way I don't have to answer questions
just to say don't save changes at the end :)

Or better just warn people that their configuration is non-standard, run
apacheconfig if they want to modify it.

thanks,
Gyula

-- System Information
Debian Release: potato
Kernel Version: Linux garfield 2.2.9 #1 Wed May 19 23:34:30 MET DST 1999 i586 unknown

Versions of the packages apache depends on:
ii  apache-common   1.3.6-11       Support files for all Apache webservers
ii  libc6           2.1.1-10       GNU C Library: Shared libraries and timezone
ii  libgdbmg1       1.7.3-26       GNU dbm database routines (runtime version).
ii  mime-support    3.5-1          MIME files 'mime.types' & 'mailcap', and sup
ii  perl            5.004.04-7     Larry Wall's Practical Extracting and Report

--- Begin /etc/init.d/apache (modified conffile)
#! /bin/sh
#
#
NAME=apache
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/apache
SUEXEC=/usr/lib/apache/suexec
PIDFILE=/var/run/$NAME.pid
CONF=/etc/apache/httpd.conf
APACHECTL=/usr/sbin/apachectl 
trap "" 1
trap "" 15
test -f $DAEMON || exit 0
test -f $APACHECTL || exit 0
if egrep -q -i "^[[:space:]]*ServerType[[:space:]]+inet" $CONF
then
    exit 0
fi
case "$1" in
  start)
    echo -n "Starting web server: $NAME"
    if $APACHECTL start > /dev/null 2>&1
    then
	echo "."
    else
	echo "... failed."
    fi
    ;;
  stop)
    echo -n "Stopping web server: $NAME"
    $APACHECTL stop > /dev/null
    echo "."
    ;;
  reload)
    echo -n "Reloading $NAME configuration... "
    if $APACHECTL graceful > /dev/null 2>&1
    then
	echo " done."
    else
	echo " failed."
    fi
    ;;
  reload-modules)
    echo -n "Restarting $NAME daemon."
    $APACHECTL stop > /dev/null
    start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE > /dev/null
    echo -n "."
    sleep 4
    echo -n "."
    test -u $SUEXEC && echo
    if $APACHECTL start > /dev/null 2>&1
    then
	echo " done."
    else
	echo " failed."
    fi
    ;;
  restart)
    $0 reload-modules
    ;;
  force-reload)
    $0 reload-modules
    ;;
  *)
    echo "Usage: /etc/init.d/$NAME {start|stop|reload|reload-modules|force-reload|restart}"
    exit 1
    ;;
esac
exit 0

--- End /etc/init.d/apache
---------------------------------------
Received: (at 38999-done) by bugs.debian.org; 7 Dec 2003 13:36:36 +0000
>From fabbione@fabbione.net Sun Dec 07 07:36:27 2003
Return-path: <fabbione@fabbione.net>
Received: from port5.ds1-sby.adsl.cybercity.dk (trider-g7.fabbione.net) [212.242.169.198] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ASz5E-0003J3-00; Sun, 07 Dec 2003 07:36:24 -0600
Received: from trider-g7.ext.fabbione.net (port5.ds1-sby.adsl.cybercity.dk [212.242.169.198])
	by trider-g7.fabbione.net (Postfix) with ESMTP id EBE3D16
	for <38999-done@bugs.debian.org>; Sun,  7 Dec 2003 14:36:21 +0100 (CET)
Date: Sun, 7 Dec 2003 14:36:21 +0100 (CET)
From: Fabio Massimo Di Nitto <fabbione@fabbione.net>
Sender: fabbione@trider-g7.ext.fabbione.net
To: 38999-done@bugs.debian.org
Subject: closing the bug
Message-ID: <Pine.LNX.4.58.0312071431340.23863@trider-g7.ext.fabbione.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 38999-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=1.0 required=4.0 tests=BAYES_99 autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: *


Hi,
	this bug is not relevant anymore with the actual way in which
apache handles configurations. With the new debconf based policy questions
are asked once at install time, never during upgrades and only when new
modules are installed (asking permission to the admin to be enabled).

Only important(*) changes to the configurations are handled automatically,
all the others are rather logged into /etc/apache/suggested_corrections
for admin review.

Thanks
Fabio

(*) we classify important changes as the ones that if not performed would
make apache not working, not compliant to policy or FHS and small kind of
changes that will never damage the user config in any possible way.

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html



Reply to: