Red Hat Bugzilla – Bug 1462525
katello-service attempts to execute services in 'static' state, causing errors
Last modified: 2017-08-23 05:08:06 EDT
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
3. install capsule
Actual results: katello-service start will raise an error about postgres
Expected results: no mention of postgres in katello-service start
mv /etc/systemd/system/postgresql.service /root
Created redmine issue http://projects.theforeman.org/issues/20431 from this bug
Upstream bug assigned to firstname.lastname@example.org
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20431 has been resolved.
Version Tested: Satellite-6.3 Snap 11
I performed the following steps to verify this issue:
- satellite-installer (installing just a capsule)
- katello-service start works fine, the postgresql service doesn't exist anymore