When I run my click package on an UbuntuTouch tablet (image version 44), this is no audio because pulseaudio is not allowed :
in the application log : libust[5076/5079]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886) libust[5076/5079]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886) shm_open() failed: Permission denied Failed to create secure directory (/run/user/32011/pulse): Permission denied In syslog : ubuntu-phablet kernel: type=1400 audit(1400948116.479:557): apparmor="DENIED" operation="open" parent=994 profile="com.ubuntu.developer.name.appname_appname_1.00" name="/run/user/32011/pulse/" pid=5248 comm="main.out" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1224751 Title: pulseaudio should use app-specific directory for shm files Status in “pulseaudio” package in Ubuntu: Confirmed Bug description: Currently we have apparmor rules for pulseaudio like this: owner /{run,dev}/shm/pulse-shm* rk, deny /{run,dev}/shm/pulse-shm* w, # deny unless we have to have it The rules are this way because the shared memory files are not app specific and is possible for one app to access another app's shared memory file. It would be better if the files were app-specific to better isolation the apps (this is something we are doing elsewhere). A short-term option would be to put this shm file in an app-specific directory such as one of these: $XDG_RUNTIME_DIR/confined/$app_pkgname/ $XDG_RUNTIME_DIR/pulse/$appid/ A longer-term alternative would be to integrate this more directly within AppArmor and its policy language. I'm currently marking this bug as 'Medium' right now-- the policy currently doesn't allow write to these SHM files and audio works ok. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1224751/+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

