Public bug reported:

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_connect() call at module initialisation
time is not sufficient.

The specific snapd-glib calls that could be affected are:

 * snapd_client_list_one_async
 * snapd_client_get_interfaces_async

** Affects: snapd-glib (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to snapd-glib in Ubuntu.
https://bugs.launchpad.net/bugs/1793298

Title:
  snapd-glib changes needed for pulseaudio snap policy module xenial
  backport

Status in snapd-glib package in Ubuntu:
  New

Bug description:
  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_connect() call at
  module initialisation time is not sufficient.

  The specific snapd-glib calls that could be affected are:

   * snapd_client_list_one_async
   * snapd_client_get_interfaces_async

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd-glib/+bug/1793298/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to