[Pkg-nagios-devel] Bug#675046: icinga-core: retention.dat / sync.dat move seems to be not handled
Michael Friedrich
michael.friedrich at univie.ac.at
Tue May 29 18:58:02 UTC 2012
On 29.05.2012 16:35, Christoph Anton Mitterer wrote:
> Package: icinga-core
> Version: 1.7.0-1
> Severity: normal
>
>
> Hi.
>
> As far as I can see, in 1.7 you've moved the locations from retention.dat / sync.dat
> from /var/lib/icinga/ to /var/cache/icinga/ .
> While this is good by itslef :) ... could you please also handle this, i.e.:
> - move the files over (if they exist)
i would raise severity as such a change without copying the old retained
data will cause possible regression. you will lose state history,
retained states as well as the scheduling queue and other valuable
information you would expect to behave normally after an upgrade.
see my changes on the icinga.spec for the rpms on repoforge, where i've
added such an upgrade path in order to stay safe.
https://github.com/dnsmichi/rpms/commit/3ae5ce96b207c5adbc1e71f8cbd39ea81e2f4218#L0R191
(also within the tarball spec file)
>
> OR
> - delete them in the old locations
don't do that. this will break your history (except log archives).
i wasn't aware that the location changed in debian as well, otherwise i
would have alerted sooner. possibly a fix for backports is needed then
as well.
kind regards,
michael
>
>
>
> 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
>
>
>
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: michael.friedrich at univie.ac.at
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
http://www.aco.net
Lead Icinga Core Developer
http://www.icinga.org
More information about the Pkg-nagios-devel
mailing list