Bug#284949: [Pkg-nagios-devel] upgrade problem: /etc/apache-ssl/httpd.conf

Brian C DeRocher Brian C DeRocher <brian.derocher@mitretek.org>, 284949@bugs.debian.org
Thu, 9 Dec 2004 14:30:05 -0500

Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 2004 December 09 14:04, sean finney wrote:
> the debconf question is in nagios-common.  take a look at the output
> of:
> debconf-show nagios-common
> i'll bet you see something like:
> * nagios/configapache: Apache-SSL
> or=20
> * nagios/configapache: Both

root@mahogany:/etc/nagios 8) debconf-show nagios-common
* nagios/adminpassword: (password omitted)
* nagios/wwwsuid: false
* nagios/configapache: Both

> assuming nagios-common is stll in a state that its debconf questions
> are present, anyway.  you could try changing that:
> echo set nagios/configapache none | debconf-communicate

echo set nagios/configapache Apache | debconf-communicate

After this apt-get -f install works.

> you could also try touching the file that it's complaining about (you
> might also need to write a /bin/sh script that returns 0 in
> /etc/init.d/apache-ssl), to see if that helps.

Didn't try.  It's better to put out the fire at it's source.

> i know exactly where in the postinst that is.  before you try anything
> else, can you try commenting out line 87 in
> /var/lib/dpkg/info/nagios-common.postinst
> which should look something like=20
>         webserver=3D"$RET"
> if that is not set, i believe the scripts will not do any
> configuration of apache for you--you'll then need to take
> care of this yourself, as well as reconfiguring the debconf
> answer after the package is installed.

I'd rather not do this, because i want the script to take care
of any Apache configuration needed.  I didn't travel down that
rabbit hole, so i have no idea what's needed to be done.

> hope this helps,


Brian C. DeRocher @ Mitretek Systems
This email was signed using OpenPGP.

Content-Type: application/pgp-signature

Version: GnuPG v1.2.5 (GNU/Linux)