Public bug reported: Permission prompting is not enabled by default. The purpose of this request is to use this release cycle to gather user feedback on the feature. When opted into, permission prompting mediates snap access to files, cameras. This change to WirePlumber introduces support for microphones.
The change introduces a new delta to the WirePlumber package. WirePlumber is a modular session manager daemon, and this delta adds a new module that will be loaded by default. If sudo snap set system experimental.apparmor-prompting=true has not been set, the module acts as a pass-through with no behavioural changes. When AppArmor prompting is enabled, all audio sources will be muted by default and the user must explicitly resolve a dialog to unmute them. Support in snapd for this feature will land in version 2.75. If snapd is older than this, or if prompting is disabled, the module will have no effect. There is some regression potential. While care has been taken to avoid interfering with audio streams, the module does process every stream connection made on the system. The other issue is that the module's code hasn't been reviewed by anyone other than myself yet. I have spoken about the *approach* with upstream[1], but due to lack of interest in maintaining support for snapd integrations, there hasn't been interest in landing it there. I have been running versions of these changes to WirePlumber personally for two weeks without observing any misbehaviours related to microphone access. The package builds cleanly: https://launchpad.net/~charles05/+archive/ubuntu/permission- prompting/+sourcepub/18178426/+listing-archive-extra Upstream changes: https://gitlab.freedesktop.org/charles05/wireplumber/-/commit/5f9a3db2937339548b4252b97451c4067e3491d8 Packaging changes: https://gitlab.freedesktop.org/charles05/wireplumber/-/commits/ubuntu/latest $ seeded-in-ubuntu wireplumber gir1.2-wp-0.5 (from wireplumber) is seeded in: ubuntu-budgie: supported ubuntu: supported libwireplumber-0.5-0 (from wireplumber) is seeded in: edubuntu: daily-live, daily-preinstalled kubuntu: daily-live lubuntu: daily-live ubuntu-budgie: daily-live ubuntu-mate: daily-live ubuntu: daily-dangerous, daily-live, daily-preinstalled ubuntucinnamon: daily-live ubuntukylin: daily-live ubuntustudio: daily-live xubuntu: daily-live, daily-minimal libwireplumber-0.5-dev (from wireplumber) is seeded in: ubuntu-budgie: supported ubuntu: supported wireplumber (from wireplumber) is seeded in: edubuntu: daily-live, daily-preinstalled kubuntu: daily-live lubuntu: daily-live ubuntu-budgie: daily-live ubuntu-mate: daily-live ubuntu: daily-dangerous, daily-live, daily-preinstalled ubuntucinnamon: daily-live ubuntukylin: daily-live ubuntustudio: daily-live xubuntu: daily-live, daily-minimal wireplumber-doc (from wireplumber) is seeded in: ubuntu-budgie: supported ubuntu: supported [1] https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/876 ** Affects: wireplumber (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2144988 Title: [FFE] Introduce permission prompting module for microphone access To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/wireplumber/+bug/2144988/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
