Public bug reported:

With the recent updates to the snap policy module, recording access is
denied to clients with a snap AppArmor label when that snap doesn't have
a connected plug for "pulseaudio" or "audio-record".

This is not appropriate for classic confinement snaps, which will have
an AppArmor label but should still have access to recording even when
there is no plug, as described by @jdstrand:

https://forum.snapcraft.io/t/pulseaudio-recording/6361/14?u=jamesh

This is broken with the 1:12.2-0ubuntu2 release, as can be seen with
e.g.:

    $ aa-exec -p snap.skype.skype /usr/bin/parecord foo.wav
    Stream error: Access denied

[note that the Skype app itself still functions because it bypasses
PulseAudio all together]

The above command should result in audio being recorded from the
microphone.

** Affects: pulseaudio (Ubuntu)
     Importance: High
     Assignee: James Henstridge (jamesh)
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1787324

Title:
  Snap policy module denies recording access to classic snaps

Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  With the recent updates to the snap policy module, recording access is
  denied to clients with a snap AppArmor label when that snap doesn't
  have a connected plug for "pulseaudio" or "audio-record".

  This is not appropriate for classic confinement snaps, which will have
  an AppArmor label but should still have access to recording even when
  there is no plug, as described by @jdstrand:

  https://forum.snapcraft.io/t/pulseaudio-recording/6361/14?u=jamesh

  This is broken with the 1:12.2-0ubuntu2 release, as can be seen with
  e.g.:

      $ aa-exec -p snap.skype.skype /usr/bin/parecord foo.wav
      Stream error: Access denied

  [note that the Skype app itself still functions because it bypasses
  PulseAudio all together]

  The above command should result in audio being recorded from the
  microphone.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1787324/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to