Bug 1504588

Summary: DBus service Config does not get an actual value when the value is changed
Product: Red Hat Enterprise Linux 7 Reporter: Jan Stavel <jstavel>
Component: subscription-managerAssignee: candlepin-bugs
Status: POST --- QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: medium    
Version: 7.5CC: bcourt, csnyder, redakkan, skallesh
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jan Stavel 2017-10-20 09:31:50 UTC
Description of problem:

   If I change some property in /etc/rhsm/rhsm.conf
   and I call DBus method /com/redhat/RHSM1/Config Get s rhsm.manage_repos
   Then I get the old value of the property.

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

How reproducible:

Steps to Reproduce:

Set a property [rhsm]/manage_repos to a new value
Call DBus method:

   busctl call com.redhat.RHSM1 /com/redhat/RHSM1/Config com.redhat.RHSM1.Config Get s rhsm.manage_repos

   You should get the new value of the property.

Actual results:

   The old value of the property is returned.

Expected results:

   You should get the new value of the property.

Comment 2 Kevin Howell 2018-02-08 15:25:10 UTC
*** Bug 1540937 has been marked as a duplicate of this bug. ***

Comment 3 Jan Stavel 2018-03-12 11:34:09 UTC
*** Bug 1489103 has been marked as a duplicate of this bug. ***

Comment 4 Chris Snyder 2018-07-23 20:57:27 UTC
The fix for this has been merged upstream in PR https://github.com/candlepin/subscription-manager/pull/1864

Will move to MODIFIED if and when there are appropriate ACKs to merge this into the 7.6 branch.