Bug 1839199

Summary: after the removal of rhsmd on RHEL-8.3, config and man page cleanup tasks remain
Product: Red Hat Enterprise Linux 8 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.3CC: arpandey, csnyder, jhnidek, redakkan, wpoteat
Target Milestone: rcKeywords: EasyFix, Triaged
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.27.15-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 01:39:09 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:

Comment 5 Archana Pandey 2020-08-10 10:30:01 UTC
Verifying on latest sub-man build 1.27.13-1.el8.x86_64

[root@ibm-x3650m4-01-vm-14 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.1.16-1
subscription management rules: 5.40
subscription-manager: 1.27.13-1.el8

[root@ibm-x3650m4-01-vm-14 ~]# rpm -ql subscription-manager | grep rhsmd
[root@ibm-x3650m4-01-vm-14 ~]# ls /etc/cron.daily/rhsmd
ls: cannot access '/etc/cron.daily/rhsmd': No such file or directory

[root@ibm-x3650m4-01-vm-14 ~]# ls /usr/libexec/rhsmd
ls: cannot access '/usr/libexec/rhsmd': No such file or directory

VERIFIED: rhsmd is no longer installed

[root@ibm-x3650m4-01-vm-14 ~]# man -P cat rhsm.conf | grep -A1 -i rhsmd
[root@ibm-x3650m4-01-vm-14 ~]#  man -P cat subscription-manager | grep -i rhsmd
[root@ibm-x3650m4-01-vm-14 ~]# subscription-manager config --help | grep -i rhsmd
[root@ibm-x3650m4-01-vm-14 ~]#

[root@ibm-x3650m4-01-vm-14 ~]# cat /etc/rhsm/rhsm.conf | grep rhsmd -A1
[rhsmd]
# The time in seconds we will allow the rhsmd cron job to run before terminating the process.
processTimeout = 300
--
# rhsm-app.rhsmd = DEBUG                           <<<----^^^^----- should be removed 

Moving Bug to NEW

Comment 7 Rehana 2020-08-24 08:51:38 UTC
# rpm -q subscription-manager
subscription-manager-1.27.15-1.el8.x86_64

# rpm -ql subscription-manager | grep rhsmd
# ls /etc/cron.daily/rhsmd
ls: cannot access '/etc/cron.daily/rhsmd': No such file or directory
# ls /usr/libexec/rhsmd
ls: cannot access '/usr/libexec/rhsmd': No such file or directory
# man -P cat rhsm.conf | grep -A1 -i rhsmd
# man -P cat subscription-manager | grep -i rhsmd
# subscription-manager config --help | grep -i rhsmd
# cat /etc/rhsm/rhsm.conf | grep rhsmd -A1

# rpm -q subscription-manager --changelog | egrep "1780028|1839199"
- 1839199: More rhsmd cleanup (wpoteat)
- 1780028: Remove man page entries for rhsmd (wpoteat)


There are no more references to the removed 'rhsmd' process. Hence moving the bug to verified.

Comment 10 errata-xmlrpc 2020-11-04 01:39:09 UTC
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 (subscription-manager bug fix and enhancement update), 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-2020:4460