Bug 2159665
| Summary: | Traceback in dbus-send (from dbus-tools package) when unknown method is used | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Robin Hack <rhack> |
| Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED DUPLICATE | QA Contact: | Robin Hack <rhack> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | jeder, jskarvad, jzerdik, tpelka |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| 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: | 2023-01-10 12:37:05 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: | |||
Ok. It's a tuned bug. For more info: https://bugzilla.redhat.com/show_bug.cgi?id=2159680 *** This bug has been marked as a duplicate of bug 2159680 *** |
Description of problem: Traceback exposed when nonsense is used during dbus-send call. Version-Release number of selected component (if applicable): dbus-tools-1.12.20-7.el9_1.x86_64 How reproducible: always Steps to Reproduce: # dbus-send --system --print-reply --type=method_call --dest='com.redhat.tuned' '/Tuned' com.redhat.tuned.control.list_profiles (list_profiles is nonsense here) Actual results: Error org.freedesktop.DBus.Error.UnknownMethod: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/dbus/service.py", line 662, in _message_cb (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name) File "/usr/lib64/python3.9/site-packages/dbus/service.py", line 252, in _method_lookup raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: list_profiles is not a valid method of interface com.redhat.tuned.control Expected results: Something nice and not raw traceback? :) Additional info: