diff options
author | Tad <tad@spotco.us> | 2018-07-31 00:48:37 -0400 |
---|---|---|
committer | Tad <tad@spotco.us> | 2018-07-31 00:54:55 -0400 |
commit | 3c2a7e4c91aa030218b5ad7fa6291d16f1d51b53 (patch) | |
tree | cdc43b9a5e257b19ff0839a83df84db90fa5d9fd /etc/xonotic.profile | |
parent | Add XDG variable support to blacklist and read-only. (diff) | |
download | firejail-3c2a7e4c91aa030218b5ad7fa6291d16f1d51b53.tar.gz firejail-3c2a7e4c91aa030218b5ad7fa6291d16f1d51b53.tar.zst firejail-3c2a7e4c91aa030218b5ad7fa6291d16f1d51b53.zip |
Sound fixes
- Adds machine-id to all profiles with 'private-etc *pulse*'
- This fixes sound under many profiles
- This is related to #2037, except this adds etc machine-id not spoofed machine-id
- Spoofed machine-id seems to break pulseaudio on some systems
- We already do this in profiles like firefox-common (see the note in it)
- pulseaudio's enable-shm set to yes or no doesn't fix this issue on systems where it occurs
- We can revert this in the future if we find a fix
- Command used:
grep -e music -e videos -e audio -e pulse -e asound -il $(grep "machine-id" -iL $(grep "private-etc" . -Rl))
Diffstat (limited to 'etc/xonotic.profile')
-rw-r--r-- | etc/xonotic.profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/xonotic.profile b/etc/xonotic.profile index 1d2493f36..30f5c735d 100644 --- a/etc/xonotic.profile +++ b/etc/xonotic.profile | |||
@@ -34,7 +34,7 @@ disable-mnt | |||
34 | private-bin bash,blind-id,darkplaces-glx,darkplaces-sdl,dirname,grep,ldd,netstat,ps,readlink,sh,uname,xonotic,xonotic-glx,xonotic-linux32-dedicated,xonotic-linux32-glx,xonotic-linux32-sdl,xonotic-linux64-dedicated,xonotic-linux64-glx,xonotic-linux64-sdl,xonotic-sdl | 34 | private-bin bash,blind-id,darkplaces-glx,darkplaces-sdl,dirname,grep,ldd,netstat,ps,readlink,sh,uname,xonotic,xonotic-glx,xonotic-linux32-dedicated,xonotic-linux32-glx,xonotic-linux32-sdl,xonotic-linux64-dedicated,xonotic-linux64-glx,xonotic-linux64-sdl,xonotic-sdl |
35 | private-dev | 35 | private-dev |
36 | # private-etc breaks audio on some distros | 36 | # private-etc breaks audio on some distros |
37 | #private-etc asound.conf,ca-certificates,drirc,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,nsswitch.conf,passwd,pulse,resolv.conf,ssl,pki,crypto-policies | 37 | #private-etc asound.conf,ca-certificates,drirc,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,nsswitch.conf,passwd,pulse,resolv.conf,ssl,pki,crypto-policies,machine-id |
38 | private-tmp | 38 | private-tmp |
39 | 39 | ||
40 | noexec ${HOME} | 40 | noexec ${HOME} |