Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #2923] icinga.spec: forced update on icinga.cfg change package locations #1054
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2923
Created by mfriedrich on 2012-07-31 18:24:36 +00:00
i forgot one thing when bumping the issue on repoforge for another icinga build - the icinga.cfg won't be overriden during an upgrade, so the overall procedure will continue, but icinga startup will fail heavily.
since it's mostly volatile data produced by the core, we can safely sed the original config entries to adapt to the new ones, as well as also update the historical ones where the data was already copied over.
this has been extensively tested on my test boxes, with pre-installed icinga 1.6.1 rpms, having old configs, upgrading this with a newly built 1.7.1-2 revision containing the fix.
it all works out, icinga is starting up fine.
2012-07-31 18:30:04 +00:00 by mfriedrich 06d42a9
2012-08-21 16:06:14 +00:00 by mfriedrich 4790f76