Bug 1139152
Summary: | yum remove ruby193-rubygem-foreman-tasks produces preun errors on RHEL 7, causing katello-remove to not work properly | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ivan Necas <inecas> |
Component: | Installation | Assignee: | Ivan Necas <inecas> |
Status: | CLOSED ERRATA | QA Contact: | jcallaha |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.4 | CC: | achan, ahumbe, bbuckingham, bkearney, chrobert, cshao, cwelton, fdeutsch, inecas, jcallaha, jmontleo, leiwang, mtaru, pmoravec, rbarry, tkolhar, ycui |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/7373 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
katello-remove fails to remove the ruby193-rubygem-foreman-tasks package on a Red Hat Enterprise Linux 7 system because of preun script errors related to turning off services. The preun script used the chkconfig command to turn off tasks which is not compatible with Red Hat Enterprise Linux 7. This fix corrects the preun script to include the correct commands for different Red Hat Enterprise Linux versions. katello-remove should correctly remove the package.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-16 21:07:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ivan Necas
2014-09-08 08:56:01 UTC
*** Bug 1138600 has been marked as a duplicate of this bug. *** Created redmine issue http://projects.theforeman.org/issues/7373 from this bug A fix proposed in https://github.com/theforeman/foreman-tasks/pull/87 (In reply to Ivan Necas from comment #4) > A fix proposed in https://github.com/theforeman/foreman-tasks/pull/87 Is there a workaround how to repair a RHEL7 system after katello-remove finishes? (i.e. now I have a RHEL7 machine I can't install katello due to this) So far I manually installed packages: ruby193-rubygem-dynflow.noarch ruby193-rubygem-sequel ruby193-rubygem-sinatra but foreman_certs_config fails as well.. :( Thanks for hint. After: /bin/systemctl --no-reload disable foreman-proxy.service /bin/systemctl stop foreman-proxy.service rpm -e --nopreun ruby193-rubygem-foreman-tasks running yum install katello should give all the required packages back again and `katello-installer --reset` should reinitialize the configuration. Moving to POST since upstream bug http://projects.theforeman.org/issues/7373 has been closed ------------- Ivan Necas Applied in changeset commit:24e6f57301cbabc4621a873da23c4ec9dcd4bc67. temp move to MOD for ET *** This bug is verified in upstream. This fix should eventually land in future downstream builds *** Version Tested: # rpm -q foreman foreman-1.8.0-0.develop.201412181705git9e844ba.el7.noarch Removed: ruby193-rubygem-foreman-tasks.noarch 0:0.6.10-3.el7 Dependency Removed: katello.noarch 0:2.1.0-1.201411061509gitb0b8f43.el7 ruby193-rubygem-katello.noarch 0:2.2.0-1.201412291253git77d1e64.el7 Complete! verified in upstream,moving it back to ON_QA QE Verified for z-stream Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2015:0054 |