#6977 Simple service uninstallers must be able to handle missing service files gracefully
Closed: fixed 6 years ago Opened 6 years ago by mbasti.

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

6 years ago

Metadata Update from @mbasti:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1455045

6 years ago

Metadata Update from @mbabinsk:
- Issue assigned to mbabinsk

6 years ago

Metadata Update from @mbabinsk:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/816

6 years ago

Metadata Update from @pvoborni:
- Issue priority set to: critical

6 years ago

ipa-4-5:

  • 6114150 only stop/disable simple service if it is installed

master:

  • 8b6f8ed only stop/disable simple service if it is installed

Metadata Update from @mbabinsk:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata