Project

General

Profile

Bug #16388

Removing katello-ca-consumer rpm should revert rhsm.conf

Added by Sean O'Keeffe over 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Client/Agent
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
if you install the katello-ca-consumer rpm and them remove it /etc/rhsm/rhsm.conf, doesnt revert back.
During install there is a backup created /etc/rhsm/rhsm.conf-kat-backup, we should copy this file to /etc/rhsm/rhsm.conf on removal.

Version-Release number of selected component (if applicable):
6.X

How reproducible:
100%

Steps to Reproduce:
1. ms5sum /etc/rhsm/rhsm.conf
2. rpm -Uvh http://<SATELLITE6>/pub/katello-ca-consumer-latest.noarch.rpm
3. rpm -e katello-ca-consumer
4. ms5sum /etc/rhsm/rhsm.conf

md5sum's should match.

Actual results:
the rhsm.conf pointing to Satellite is left after removing it

Expected results:
rhsm.conf should be restored from rhsm.conf-kat-backup

Associated revisions

Revision 8d75e8c8 (diff)
Added by Sean O'Keeffe over 2 years ago

Fixes #16388 - rpm -e katello-ca-consumer rpm should revert rhsm.conf (#104)

History

#1 Updated by Justin Sherrill over 2 years ago

  • Status changed from New to Closed
  • Legacy Backlogs Release (now unused) set to 162
  • Difficulty set to medium
  • Pull request https://github.com/Katello/puppet-certs/pull/104 added

Also available in: Atom PDF