Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1455045
Description of problem: Currently the code that upgrades/uninstall simple services (like ipa-otpd, ipa_memcached) assumes that the simple service in question is always fully installed and has a systemd service file available. This, however, is not always true (e.g. in containerized environments) and can cause problems during upgrades of ipa-server container (as reported in https://bugzilla.redhat.com/show_bug.cgi?id=1454719). The service installers/uninstallers must be able to gracefuly handle these situations and additionally check whether the component in question really is available on the system for management Version-Release number of selected component (if applicable): ipa-server 4.5.0-13.el7 Additional info: See https://bugzilla.redhat.com/show_bug.cgi?id=1454719 for a bug caused by this defect and a reproducer.
Metadata Update from @mbasti: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1455045
Metadata Update from @mbabinsk: - Issue assigned to mbabinsk
Metadata Update from @mbabinsk: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/816
Metadata Update from @pvoborni: - Issue priority set to: critical
ipa-4-5:
master:
Metadata Update from @mbabinsk: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.