[Pkg-nagios-devel] Bug#675040: icinga-cgi: postinst fails if /etc/icinga/apache2.conf doesn't exist

Christoph Anton Mitterer calestyo at scientia.net
Tue May 29 13:47:52 UTC 2012


Package: icinga-cgi
Version: 1.7.0-1
Severity: normal


Hi.

The postinst of icinga-cgi fails if /etc/icinga/apache2.conf doesn't exist with:
Setting up icinga-cgi (1.7.0-1) ...
Not replacing deleted config file /etc/icinga/apache2.conf
dpkg: error processing icinga-cgi (--configure):
 subprocess installed post-installation script returned error exit status 1

touching the file, and the postinst runs ok.

As noted in some previous ticket, I think that this file should rather go
to some /u/s/d/icinga-cgi/examples/ directory OR to /etc/apache2/sites-available/
... which is why I personally delete it, as it's never used in my systems.


Cheers,
Chris.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.18-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-nagios-devel mailing list