Bug 1423013
Summary: | Can't make a dbus method call to the com.redhat.RHSM1.RegisterServer Start method until /etc/dbus-1/system.conf is edited | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Sean Toner <stoner> |
Component: | subscription-manager | Assignee: | Alex Wood <awood> |
Status: | CLOSED ERRATA | QA Contact: | Sean Toner <stoner> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 7.3 | CC: | awood, khowell, redakkan, skallesh |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 19:20:42 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: |
Description
Sean Toner
2017-02-16 21:00:56 UTC
Fix up for review with https://github.com/candlepin/subscription-manager/pull/1562 To verify this BZ I did not have to edit the /etc/dbus-1/system.conf file. The send_type did not have to be edited to get dbus to work and dbus.service did not need to be restarted: [root@stoner-rhel-74 subman1.9.7]# cat /etc/dbus-1/system.conf | grep send_type <deny send_type="method_call"/> <allow send_type="signal"/> <allow send_requested_reply="true" send_type="method_return"/> <allow send_requested_reply="true" send_type="error"/> And running the original command that got an access denied now works successfully: [root@stoner-rhel-74 subman1.9.7]# dbus-send --system --print-reply --dest='com.redhat.RHSM1' '/com/redhat/RHSM1/RegisterServer' com.redhat.RHSM1.RegisterServer.Start method return sender=:1.37865 -> dest=:1.37926 reply_serial=2 string "unix:abstract=/var/run/dbus-hFLSsUWi7q,guid=1cc8ab09c9c716d9f755819358f50415" Verified on: [root@stoner-rhel-74 ~]# rpm -qa | grep subscription subscription-manager-1.19.7-1.el7.x86_64 subscription-manager-plugin-container-1.19.7-1.el7.x86_64 subscription-manager-migration-data-2.0.35-1.el7.noarch subscription-manager-plugin-ostree-1.19.7-1.el7.x86_64 subscription-manager-migration-1.19.7-1.el7.x86_64 subscription-manager-initial-setup-addon-1.19.7-1.el7.x86_64 subscription-manager-gui-1.19.7-1.el7.x86_64 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, 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-2017:2083 |