Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 693528

Summary: dbus messages don't get back to compliance icon
Product: Red Hat Enterprise Linux 5 Reporter: Chris Duryee <cduryee>
Component: subscription-managerAssignee: Chris Duryee <cduryee>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7CC: alikins, bkearney, jsefler
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 692242 Environment:
Last Closed: 2012-01-04 15:29:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 692242    
Bug Blocks: 675214    

Comment 1 Adrian Likins 2011-04-05 18:54:58 UTC
This seems to be working now with rpms from git 97855d37beebcc600aeb3c9b8627ae484c2f8f67.

Comment 2 John Sefler 2011-04-28 23:07:05 UTC
Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager
subscription-manager-0.95.5.8-1.git.4.6f97c81.el5

Here is how i tested it...
1. I put only the 37060.pem product cert into /etc/pki/product from my onpremises candlpin server.

2. I killed all rhsm* processes

3. in first terminal, run # /usr/libexec/rhsmd -k -d

^^^ note no output yet in first terminal

4. in second terminal, run # rhsm-icon -d
** (rhsm-icon:14938): DEBUG: Running entitlement status check
** (rhsm-icon:14938): DEBUG: in callback, received value: 1
** (rhsm-icon:14938): DEBUG: Icon already visible

^^^ VERIFIED this output in second terminal and the icon displays

System has one or more certificates that are not valid
['37060']
[]
Validity status changed, fire signal
signal fired! code is 1

^^^ also VERIFIED this output in first terminal

5. in third terminal, run # subscription-manager register --username=testuser1 --password=password --autosubscribe
68bfffa0-c5ba-4e6e-923b-e0e6ff6c8735 jsefler-onprem-5server.usersys.redhat.com
Installed Products:
   Awesome OS Server Bits - Subscribed
[root@jsefler-onprem-5server ~]# 

^^^ VERIFIED icon goes away

System entitlements appear valid
Validity status changed, fire signal
signal fired! code is 0

^^^ VERIFIED this output in first terminal

** (rhsm-icon:14996): DEBUG: in callback, received value: 0

^^^ VERIFIED this output in second terminal


6. in third terminal, run # subscription-manager unsubscribe --all

^^^ VERIFIED icon returns

System has one or more certificates that are not valid
['37060']
[]
Validity status changed, fire signal
signal fired! code is 1

^^^ VERIFIED this output in first terminal

** (rhsm-icon:14996): DEBUG: in callback, received value: 1

^^^ VERIFIED this output in second terminal



DBUS messages are now being sent by rhsmd and received by the rhsm-icon