[pulseaudio-tickets] [Bug 104646] New: org.bluez.MediaEndpoint1.Release should do nothing, not raise a DUS error
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 15 19:38:31 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=104646
Bug ID: 104646
Summary: org.bluez.MediaEndpoint1.Release should do nothing,
not raise a DUS error
Product: PulseAudio
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: modules
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: faminebadger at googlemail.com
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
The endpoint_release function (bluez5-util.c) currently just returns an
Unimplemented error message, which on a standard DBUS setup gets blocked and
generates an unwanted entry in syslog - e.g.:
> Jan 14 04:51:32 gentoo dbus-daemon[2492]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.15" (uid=1000 pid=2864 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.1" (uid=0 pid=2670 comm="/usr/libexec/bluetooth/bluetoothd ")
> Jan 15 06:40:08 gentoo dbus-daemon[2512]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.16" (uid=1000 pid=2866 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.0" (uid=0 pid=2596 comm="/usr/libexec/bluetooth/bluetoothd ")
> Jan 15 06:40:08 gentoo dbus-daemon[2512]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.16" (uid=1000 pid=2866 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.0" (uid=0 pid=2596 comm="/usr/libexec/bluetooth/bluetoothd ")
> Jan 15 06:40:08 gentoo dbus-daemon[2512]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.16" (uid=1000 pid=2866 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.0" (uid=0 pid=2596 comm="/usr/libexec/bluetooth/bluetoothd ")
> Jan 15 06:40:08 gentoo dbus-daemon[2512]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.16" (uid=1000 pid=2866 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.0" (uid=0 pid=2596 comm="/usr/libexec/bluetooth/bluetoothd ")
And so on... I get this message multiple times per day, and it causes logcheck
to spam me with mail.
Given the documentation for this function (see
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/media-api.txt) says
this is just a cleanup call post unregister to notify the endpoint for cleanup,
if there is no cleanup required it seems more correct to do nothing and return
success than do nothing and return an error.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180115/015bb9ee/attachment.html>
More information about the pulseaudio-bugs
mailing list