Bug#622989: pulseaudio: autospawn is evil
Scott Leggett
scott at sl.id.au
Thu May 19 15:54:44 UTC 2016
On Fri, 18 Apr 2014 18:14:35 -0300 Felipe Sateler <fsateler at debian.org> wrote:
> Control: tags -1 wontfix
>
> Hi Joss, waynr,
>
> On Sat, Apr 16, 2011 at 02:24:06PM +0200, Josselin Mouette wrote:
> >
> > ...
> >
> > The fix is simple: change the default client.conf to set autospawn=no.
>
> Unfortunately this doesn't seem very viable. If the pulseaudio daemon
> stops for any reason (a bug?), then the daemon will not be restarted,
> leaving the user with a possibly broken audio system.
>
> Unless we have a way to ensure that the daemon will be restarted if it
> crashes, then I don't see how disabling autospawn actually improves
> things.
It seems that the pulseaudio package 7+ includes a systemd user unit. I
installed the package from backports, disabled XDG autostart, and
enabled the systemd service:
$ ln -s /dev/null ~/.config/autostart/pulseaudio.desktop
$ systemctl --user enable pulseaudio
Logging out and back in again spawned the service as expected.
By doing this we could disable autospawn by default and rely on systemd
to handle the pulseaudio service.
Any thoughts on this solution?
--
Regards,
Scott.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20160520/c5c8551f/attachment.sig>
More information about the pkg-pulseaudio-devel
mailing list