<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - start-pulseaudio-{x11,kde}: should kill pulseaudio daemon if it started it"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77497">77497</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>start-pulseaudio-{x11,kde}: should kill pulseaudio daemon if it started it
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>fsateler@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>daemon
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=97424" name="attach_97424" title="Wait until x session ends and then kill pulseaudio">attachment 97424</a> <a href="attachment.cgi?id=97424&action=edit" title="Wait until x session ends and then kill pulseaudio">[details]</a></span>
Wait until x session ends and then kill pulseaudio
When start-pulseaudio-* starts pulseaudio, it doesn't kill it on x session end,
causing log annoyances and possibly race conditions with alsa shutdown (alsa
may mute devices before pulseaudio quits, so pulseaudio stores the wrong
volume).
Attached is a patch applied in debian to mitigate such issues. Unfortunately,
this adds a dependency on xprop.
PS: another extra improvement would be to avoid starting the daemon if it is
already running, and thus avoiding a "daemon already running" log message.</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>