Bug#805414: gdm3: disable pulseaudio to prevent capturing A2DP sink on session start

Antoine Beaupre anarcat at debian.org
Sat Jul 1 23:26:36 UTC 2017


On Sat, Jun 24, 2017 at 02:10:26AM +0200, Aurelien Jacobs wrote:
> Package: gdm3
> Version: 3.22.3-3
> Followup-For: Bug #805414
> 
> The workaround from https://wiki.debian.org/BluetoothUser/a2dp used to
> work, but starting with gdm3 3.22.3-2, it is not enough anymore.
> I found out that I now need the following additional step to really
> prevent gdm3 to start pulseaudio:
> 
> rm /var/lib/gdm3/.config/systemd/user/sockets.target.wants/pulseaudio.socket
> 
> This, along with the /var/lib/gdm3/.config/pulse/client.conf file, got
> my bluetooth headset working again.

Confirmed. Got the same thing here. This is the freshly released Debian
stretch and wasn't a problem when I was using lightdm.

I have edited the wiki to fix this workaround, but it seems to me
important to fix this in the long run.

Why does pulseaudio hold on to the device anyways? Shouldn't PA just go
away once the user is logged in in the first place? I understand the
reasoning behind GDM running PA on the login screen, but I fail to see
why it stays running afterwards.

With that logic, even regular "sound card" audio wouldn't work with that
setup. I guess the only reason that currently works (and may not be an
issue for most people) is because (1) most people don't have bluetooth
speakers (yet) and (2) this bug is bluetooth-specific.

If this was the case for ALSA, you would have a serious uproar and this
would be a RC bug which would have blocked stretch.

I think this should be fixed in a point release and it may be worth
bumping up the severity accordingly.

A.

-- 
Dr. King’s major assumption was that if you are nonviolent, if you
suffer, your opponent will see your suffering and will be moved to
change his heart. He only made one fallacious assumption: In order for
nonviolence to work, your opponent must have a conscience. The United
States has none.        - Stokely Carmichael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170701/61854764/attachment.sig>


More information about the pkg-gnome-maintainers mailing list