<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - org.bluez.MediaEndpoint1.Release should do nothing, not raise a DUS error"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104646">104646</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>org.bluez.MediaEndpoint1.Release should do nothing, not raise a DUS error
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>modules
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>faminebadger@googlemail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>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.:
<span class="quote">> 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 ")</span >
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
<a href="https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/media-api.txt">https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/media-api.txt</a>) 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>