Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-80479

End gracefully when the request to own DBus name fails

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-10.0
    • tuned
    • None
    • No
    • Moderate
    • rhel-net-perf
    • ssg_core_services
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      I just run test:
      Regression/Expose-TuneD-API-to-the-Unix-Domain-Socket 

      What is the impact of this issue to you?

      image mode is not covered by this test

      Please provide the package NVR for which the bug is seen:

      tuned-2.25.1-1.el10.noarch

      How reproducible is this bug?:

      always

      Steps to reproduce

      1.  run test Regression/Expose-TuneD-API-to-the-Unix-Domain-Socket  in image mode
      2.  
      3.  

      Expected results

      no traceback

      Actual results

      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 09:58:34 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm tuned[5790]: File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 299, in request_name
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 09:58:34 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm tuned[5790]: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 09:58:34 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm tuned[5790]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 09:58:34 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm tuned[5790]: File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 09:58:34 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm tuned[5790]: reply_message = self.send_message_with_reply_and_block(
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 09:58:34 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm tuned[5790]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 09:58:34 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm tuned[5790]: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Request to own name refused by policy
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 10:00:04 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm systemd[1]: tuned.service: start operation timed out. Terminating.
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 10:00:04 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm systemd[1]: tuned.service: Failed with result 'timeout'.
      :: [ 10:00:04 ] :: [ LOG ] :: Feb 19 10:00:04 8889b966-22b3-4dfc-aa7e-258be3f91a94.testing-farm systemd[1]: Failed to start tuned.service - Dynamic System Tuning Daemon.
      :: [ 10:00:04 ] :: [ INFO ] :: rlImport: Found 'tuned/basic' during upwards traversal

              jskarvad Jaroslav Škarvada
              rhack@redhat.com Robin Hack
              Jaroslav Škarvada Jaroslav Škarvada
              Robin Hack Robin Hack
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: