Project

General

Profile

Actions

Bug #16388

closed

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

Added by Sean O'Keeffe over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Client/Agent
Target version:
Difficulty:
medium
Triaged:
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

Actions #1

Updated by Justin Sherrill over 7 years ago

  • Status changed from New to Closed
  • translation missing: en.field_release set to 162
  • Difficulty set to medium
  • Pull request https://github.com/Katello/puppet-certs/pull/104 added
Actions

Also available in: Atom PDF