Project

General

Profile

Actions

Bug #20431

closed

katello-service attempts to execute services in 'static' state, causing errors

Added by Eric Helms over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1462525

Description of problem:

If you run katello-remove on a system, it will set the postgres service to 'static' instead of removing it.

However, if you then install a capsule on the same system, katello-service checks to see whether or not to restart a service based on the result of 'systemctl is-enabled X'. This returns 0 for 'static' services, which causes katello-service to attempt to restart postgres, which no longer exists.

Version-Release number of selected component (if applicable): 6.2.9

How reproducible: every time

Steps to Reproduce:
1. install satellite to a system
2. katello-remove
3. install capsule

Actual results: katello-service start will raise an error about postgres

Expected results: no mention of postgres in katello-service start

Actions

Also available in: Atom PDF