[Pkg-nagios-devel] Bug#732357: check-mk-config-icinga.postinst fails on upgrade
Matt Taggart
taggart at debian.org
Wed Jun 10 22:13:09 UTC 2015
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.
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.
--
Matt Taggart
taggart at debian.org
More information about the Pkg-nagios-devel
mailing list