Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1969944

Summary: pulseaudio error being logged when bluez module not present or active
Product: Red Hat Enterprise Linux 8 Reporter: Andrew Mike <amike>
Component: pulseaudioAssignee: Wim Taymans <wtaymans>
Status: CLOSED ERRATA QA Contact: Tomas Pelka <tpelka>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.4CC: alanm, brclark, casantos, jwright, mkolbas, ndegraef, pjasbuti, sbarcomb, tpelka, wtaymans
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulseaudio-14.0-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 09:43:12 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 Andrew Mike 2021-06-09 13:51:24 UTC
Description of problem: When pulseaudio is started without its bluez module being active, an error is logged in the syslog:

pulseaudio[$PID]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.

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

How reproducible: 100%

Steps to Reproduce:
1. Turn off the bluetooth service via systemd.
2. Reboot.

Actual results: Error above is logged.

Expected results: Error should not be logged if the bluetooth service is not active.

Additional info: This may also manifest as an bluez activation timeout error.

There is a procedure for suppressing this error (https://access.redhat.com/solutions/3715871) but the customer does not feel this is the proper way to handle this situation; instead, the pulseaudio service should check if the bluetooth service is active before trying to activate bluez via dbus.

Comment 1 Wim Taymans 2021-11-17 11:33:26 UTC
If I understand it correctly, we should not try to use the bluetooth service when it is not
already activated by something else first. Here is the upstream pull request for that:

upstream merge request: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/663

Comment 9 errata-xmlrpc 2022-11-08 09:43:12 UTC
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 (pulseaudio bug fix and enhancement update), 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-2022:7578