Project

General

Profile

Actions

Bug #20431

closed

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

Added by Eric Helms over 6 years ago. Updated almost 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 #1

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Eric Helms
  • Pull request https://github.com/Katello/katello-packaging/pull/490 added
Actions #2

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release set to 281
Actions #3

Updated by Eric Helms over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/Katello/katello-packaging/pull/495 added
Actions

Also available in: Atom PDF