Bug #20431
closedkatello-service attempts to execute services in 'static' state, causing errors
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
Updated by The Foreman Bot over 7 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
Updated by Eric Helms over 7 years ago
- Translation missing: en.field_release set to 281
Updated by Eric Helms over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-packaging|f1a657a6ad9808a34a8ca51bbc5d7c47011ab169.
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/Katello/katello-packaging/pull/495 added