[pulseaudio] 02/02: Fix PA being able to talk to clients
David Henningsson
diwic-guest at moszumanska.debian.org
Mon Feb 15 15:43:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
diwic-guest pushed a commit to branch ubuntu-snappy
in repository pulseaudio.
commit 58f22f40392ed1dfb9f0829a563630dcbae9ec4a
Author: David Henningsson <david.henningsson at canonical.com>
Date: Mon Feb 15 16:40:43 2016 +0100
Fix PA being able to talk to clients
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
snapcraft.yaml | 26 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 9dacf9d..4f91c73 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -9,18 +9,38 @@ description: Contains PulseAudio and its dependencies, to
# sudo snappy hw-assign pulseaudio.sideload /dev/snd/pcmC0D0c
# sudo snappy hw-assign pulseaudio.sideload /dev/snd/pcmC0D0p
# sudo snappy hw-assign pulseaudio.sideload /dev/snd/timer
-# export ALSA_RUNTIME_PATH=/snap/pulseaudio.sideload/current/usr/share/alsa/alsa.conf
+# export ALSA_CONFIG_PATH=/snaps/pulseaudio.sideload/current/usr/share/alsa/alsa.conf
apps:
pulseaudio:
- command: pulseaudio -vvvvnF $SNAP/etc/pulse/default.pa -p $SNAP/lib
+ command: pulseaudio --disable-shm=yes --exit-idle-time=-1 --disallow-exit=yes -vvvvnF $SNAP/etc/pulse/default.pa -p $SNAP/lib
uses: [paserver-permissions]
+ pactl:
+ command: pactl
+ uses: [paclient-permissions]
+ pacat:
+ command: pacat
+ uses: [paclient-permissions]
+ parecord:
+ command: parecord
+ uses: [paclient-permissions]
+ paplay:
+ command: paplay
+ uses: [paclient-permissions]
uses:
+ paclient-permissions:
+ type: migration-skill
+ security-override:
+ socket: [/run/user/*/pulse/native]
+ read-paths: [/run/user/*/pulse, /run/user/*/pulse/**]
+ write-paths: [/run/user/*/pulse/native]
+ syscalls: [sendto, recvfrom]
+
paserver-permissions:
type: migration-skill
security-override:
- syscalls: [setpriority, bind, listen]
+ syscalls: [setpriority, bind, listen, sendto, recvfrom, accept4]
# listen needed to listen for client connections
# /run/udev/data (and bind) needed for scanning for sound cards
# /dev/snd needed for accessing the sound cards
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-pulseaudio/pulseaudio.git
More information about the pkg-pulseaudio-devel
mailing list