[Pkg-nagios-devel] Bug#732357: check-mk-config-icinga.postinst fails on upgrade

Thomas Köhler jean-luc at picard.franken.de
Thu Jun 11 08:42:34 UTC 2015

Hi Matt,

On Wed, Jun 10, 2015 at 03:13:09PM -0700, Matt Taggart <taggart at debian.org> wrote:
> Hi Thomas,
> RE: #732357...
> The check:
> [ -d /etc/apache2/conf.d/ ] && [ ! -L /etc/apache2/conf.d/$CONF.conf ]
>    && ln -s ../conf-available/$CONF.conf /etc/apache2/conf.d/$CONF.conf
> is actually checking to make sure it's _not_ a symlink already, and then it 
> tries to create the symlink. But if it already exists as a file, this fails 
> poorly.
> Maybe yours was a file and not a symlink? That's what I saw too.

Actually, I can't check that any more, I even don't have that
particular installation any more. So... I can't say what happened
exactly any more.

> Older versions of check-mk (1.1.12p7-1 at least) did deliver that as an 
> actual file, so it's likely most people upgrading from older releases would 
> hit this.
> I will figure out a way for the package to deal with it.




 Thomas Köhler       Email:       jean-luc at picard.franken.de
     <><             WWW:              http://gott-gehabt.de
                     IRC: tkoehler       Freenode: thkoehler
                     PGP public key available from Homepage!

More information about the Pkg-nagios-devel mailing list