Icinga / icinga-core

Icinga 1.x, the old core (EOL 31.12.2018)
GNU General Public License v2.0
45 stars 27 forks source link

[dev.icinga.com #9020] Solaris package behaves badly upon uninstall #1548

Closed icinga-migration closed 9 years ago

icinga-migration commented 9 years ago

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9020

Created by crfriend on 2015-04-08 21:38:19 +00:00

Assignee: crfriend Status: Resolved (closed on 2015-05-01 12:22:53 +00:00) Target Version: 1.13.3 Last Update: 2015-05-01 12:24:16 +00:00 (in Redmine)

Icinga Version: 1.13.2
OS Version: Solaris

When uninstalling the Solaris package for Icinga 1.12 in preparation for an install of Icinga 1.13.2 this morning the package tools deleted the entire configuration hierarchy and the "icinga" user's home directory (set to /etc/icinga) causing a loss of my configuration backup (lovingly placed in icinga's home directory).

No changes are anticipated in anything else other than some of the packaging scripts and (possibly) Makefile.in.

Changesets

2015-05-01 12:20:06 +00:00 by crfriend de4234124d19c0d4336cc767d123415735f97b8c

Improve the behaviour of the Solaris package during installs and uninstalls - #9020

   Several items:

1) Do not delete the "icinga" user, nor his data, on uninstall.
2) DO not delete teh "icinga" group on uninstall.
3) Split smf scripts/services for Icinga and Ido2db.
4) Back up the configuration tree before uninstall.
5) If the "icinga" user exists on install, use it to set file ownership
  once the install completes.  Ditto the group.

fixes #9020

Relations:

icinga-migration commented 9 years ago

Updated by mfriedrich on 2015-04-09 07:44:29 +00:00

icinga-migration commented 9 years ago

Updated by crfriend on 2015-05-01 12:22:53 +00:00

Applied in changeset icinga-core:de4234124d19c0d4336cc767d123415735f97b8c.

icinga-migration commented 9 years ago

Updated by mfriedrich on 2015-05-01 12:23:23 +00:00

icinga-migration commented 9 years ago

Updated by mfriedrich on 2015-05-01 12:23:42 +00:00

icinga-migration commented 9 years ago

Updated by mfriedrich on 2015-05-01 12:24:16 +00:00