Comment 6 for bug 1856054

Revision history for this message
James Henstridge (jamesh) wrote : Re: pulseaudio now depends on libsnapd-glib1 which recommends snapd

If you are worried about what the Pulse Audio change is actually doing, here's a description:

 1. there is a new "snap-policy" PA module that is loaded by default.

 2. when a client attempts to use the microphone and has a "snap.*" AppArmor label, it contacts snapd to check whether that app has permission to record audio (as opposed to simply playing sounds).

 3. if the client is not a snap application or it is a snap application with record access, then PA will create record stream.

So there should be no problem with removing snapd again. In fact the policy module should effectively be inert if no snaps are ever run, not even trying to talk to snapd.

The "Recommends: snapd" is definitely too strong for the way Pulse Audio is using libsnapd-glib. Once snapd-glib's dependency is relaxed, we should be able to push this update again.