snapd-glib changes needed for pulseaudio snap policy module xenial backport
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
snapd-glib (Ubuntu) | ||||||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Older versions of Ubuntu are running older versions of snapd-glib. There have since been bug fixes and support for newer API that was added to snapd since release.
[Test Case]
1. Delete existing Snap credentials by deleting keys com.ubuntu.
2. Start GNOME Software
3. Install a snap (e.g. moon-buggy)
Expected result:
User is prompted for Ubuntu credentials and is able to install snap.
Observed result:
Works as expected (i.e. only looking for regressions).
[Regression Potential]
There is a risk of breaking existing use cases. This is reduced by the regression tests in the package and the newer versions of snapd-glib working in newer releases.
The xenial backport of the fix for 1781428 malfunctioned due to the use of snapd-glib behaviour introduced after the version included in xenial: namely auto-connection (and reconnection) to the snapd socket that was introduced in snapd-glib 1.24.
With the policy module loaded, Pulse Audio will contact snapd to check the interfaces plugged by a client in order to decide whether to provide access to the microphone. As the Pulse Audio daemon is long lived, it is not uncommon for the socket connection to be disconnected (either due to a timeout, or because snapd is upgraded while the user is logged in). So simply adding a snapd_client_
The specific snapd-glib calls that could be affected are:
* snapd_client_
* snapd_client_
Related branches
Changed in snapd-glib (Ubuntu): | |
importance: | Undecided → High |
status: | New → Fix Released |
no longer affects: | snapd-glib (Ubuntu) |
Changed in snapd-glib (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
1.33 was uploaded months ago (bug 1748289), we need someone to get it out of the unapproved queue.