Testing on a VM, this isn't working correctly. I got the following trying to record when using a snap AppArmor label:
I: [pulseaudio] client.c: Created 4 "Native client (UNIX socket client)" I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1 I: [pulseaudio] module-snap-policy.c: Checking access for client 4 (skype) W: [snapd-glib] module-snap-policy.c: snapd_client_get_snap failed: Not connected to snapd I: [pulseaudio] module-snap-policy.c: Access check for client 4 (skype): 0 I: [pulseaudio] client.c: Freed 4 "parecord" I: [pulseaudio] protocol-native.c: Connection died.
This looks like it is due to version skew of snapd-glib. The old version requires a snapd_client_connect_sync() call.
« Back to merge proposal
Testing on a VM, this isn't working correctly. I got the following trying to record when using a snap AppArmor label:
I: [pulseaudio] client.c: Created 4 "Native client (UNIX socket client)" snap-policy. c: Checking access for client 4 (skype) snap-policy. c: snapd_client_ get_snap failed: Not connected to snapd snap-policy. c: Access check for client 4 (skype): 0
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: [pulseaudio] module-
W: [snapd-glib] module-
I: [pulseaudio] module-
I: [pulseaudio] client.c: Freed 4 "parecord"
I: [pulseaudio] protocol-native.c: Connection died.
This looks like it is due to version skew of snapd-glib. The old version requires a snapd_client_ connect_ sync() call.