From 3c2a7e4c91aa030218b5ad7fa6291d16f1d51b53 Mon Sep 17 00:00:00 2001 From: Tad Date: Tue, 31 Jul 2018 00:48:37 -0400 Subject: 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)) --- etc/Viber.profile | 2 +- etc/amarok.profile | 2 +- etc/ardour5.profile | 2 +- etc/cmus.profile | 2 +- etc/gnome-music.profile | 2 +- etc/goobox.profile | 2 +- etc/minetest.profile | 2 +- etc/musixmatch.profile | 2 +- etc/parole.profile | 2 +- etc/ppsspp.profile | 2 +- etc/qupzilla.profile | 2 +- etc/seamonkey.profile | 2 +- etc/slack.profile | 2 +- etc/totem.profile | 2 +- etc/xonotic.profile | 2 +- etc/xplayer.profile | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) (limited to 'etc') diff --git a/etc/Viber.profile b/etc/Viber.profile index 6a58da8c9..cb9d01e03 100644 --- a/etc/Viber.profile +++ b/etc/Viber.profile @@ -32,7 +32,7 @@ shell none disable-mnt private-bin sh,bash,dig,awk,Viber -private-etc hosts,fonts,mailcap,resolv.conf,X11,pulse,alternatives,localtime,nsswitch.conf,ssl,proxychains.conf,pki,ca-certificates,crypto-policies +private-etc hosts,fonts,mailcap,resolv.conf,X11,pulse,alternatives,localtime,nsswitch.conf,ssl,proxychains.conf,pki,ca-certificates,crypto-policies,machine-id,asound.conf private-tmp noexec ${HOME} diff --git a/etc/amarok.profile b/etc/amarok.profile index aff78e210..dab23c218 100644 --- a/etc/amarok.profile +++ b/etc/amarok.profile @@ -29,5 +29,5 @@ shell none # private-bin amarok private-dev -# private-etc none +# private-etc none,machine-id,pulse,asound.conf private-tmp diff --git a/etc/ardour5.profile b/etc/ardour5.profile index aaac62bc8..99649cc3f 100644 --- a/etc/ardour5.profile +++ b/etc/ardour5.profile @@ -35,7 +35,7 @@ shell none #private-bin sh,ardour4,ardour5,ardour5-copy-mixer,ardour5-export,ardour5-fix_bbtppq,grep,sed,ldd,nm private-cache private-dev -#private-etc pulse,X11,alternatives,ardour4,ardour5,fonts +#private-etc pulse,X11,alternatives,ardour4,ardour5,fonts,machine-id,asound.conf private-tmp noexec ${HOME} diff --git a/etc/cmus.profile b/etc/cmus.profile index 3331bde22..36478ef85 100644 --- a/etc/cmus.profile +++ b/etc/cmus.profile @@ -26,4 +26,4 @@ seccomp shell none private-bin cmus -private-etc group +private-etc group,machine-id,pulse,asound.conf diff --git a/etc/gnome-music.profile b/etc/gnome-music.profile index 90fb9814f..15710b363 100644 --- a/etc/gnome-music.profile +++ b/etc/gnome-music.profile @@ -38,7 +38,7 @@ tracelog private-bin gnome-music,python* private-dev -# private-etc fonts +# private-etc fonts,machine-id,pulse,asound.conf private-tmp noexec ${HOME} diff --git a/etc/goobox.profile b/etc/goobox.profile index 5e5aad95b..680e14a49 100644 --- a/etc/goobox.profile +++ b/etc/goobox.profile @@ -29,5 +29,5 @@ tracelog # private-bin goobox private-dev -# private-etc fonts +# private-etc fonts,machine-id,pulse,asound.conf # private-tmp diff --git a/etc/minetest.profile b/etc/minetest.profile index cdbf21935..6497fa9ba 100644 --- a/etc/minetest.profile +++ b/etc/minetest.profile @@ -34,7 +34,7 @@ disable-mnt private-bin minetest private-dev # private-etc needs to be updated, see #1702 -#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 +#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 private-tmp noexec ${HOME} diff --git a/etc/musixmatch.profile b/etc/musixmatch.profile index bc8965431..b572f13d2 100644 --- a/etc/musixmatch.profile +++ b/etc/musixmatch.profile @@ -30,7 +30,7 @@ seccomp disable-mnt private-dev -private-etc none +private-etc none,machine-id,pulse,asound.conf noexec ${HOME} noexec /tmp diff --git a/etc/parole.profile b/etc/parole.profile index f98703bd6..17d31af15 100644 --- a/etc/parole.profile +++ b/etc/parole.profile @@ -26,4 +26,4 @@ shell none private-bin parole,dbus-launch private-cache -private-etc passwd,group,fonts +private-etc passwd,group,fonts,machine-id,pulse,asound.conf diff --git a/etc/ppsspp.profile b/etc/ppsspp.profile index 073108464..3a40b6260 100644 --- a/etc/ppsspp.profile +++ b/etc/ppsspp.profile @@ -36,7 +36,7 @@ shell none # private-dev is disabled to allow controller support #private-dev -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 +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 private-opt ppsspp private-tmp diff --git a/etc/qupzilla.profile b/etc/qupzilla.profile index 947689d96..da1ca2281 100644 --- a/etc/qupzilla.profile +++ b/etc/qupzilla.profile @@ -33,7 +33,7 @@ seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@res # tracelog private-dev -# private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,adobe,mime.types,mailcap,asound.conf,pulse +# private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,adobe,mime.types,mailcap,asound.conf,pulse,machine-id # private-tmp - interferes with the opening of downloaded files noexec ${HOME} diff --git a/etc/seamonkey.profile b/etc/seamonkey.profile index 423863cc2..dc2fd8e30 100644 --- a/etc/seamonkey.profile +++ b/etc/seamonkey.profile @@ -47,4 +47,4 @@ seccomp tracelog disable-mnt -# private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse +# private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse,machine-id diff --git a/etc/slack.profile b/etc/slack.profile index 13106255b..91bf0a722 100644 --- a/etc/slack.profile +++ b/etc/slack.profile @@ -37,5 +37,5 @@ shell none disable-mnt private-bin slack,locale private-dev -private-etc asound.conf,ca-certificates,fonts,group,passwd,pulse,resolv.conf,ssl,ld.so.conf,ld.so.cache,localtime,pki,crypto-policies +private-etc asound.conf,ca-certificates,fonts,group,passwd,pulse,resolv.conf,ssl,ld.so.conf,ld.so.cache,localtime,pki,crypto-policies,machine-id private-tmp diff --git a/etc/totem.profile b/etc/totem.profile index 3ac25440b..911999665 100644 --- a/etc/totem.profile +++ b/etc/totem.profile @@ -33,7 +33,7 @@ shell none private-bin totem private-cache private-dev -# private-etc fonts +# private-etc fonts,machine-id,pulse,asound.conf private-tmp noexec ${HOME} 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 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 private-dev # private-etc breaks audio on some distros -#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 +#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 private-tmp noexec ${HOME} diff --git a/etc/xplayer.profile b/etc/xplayer.profile index 46579ead8..5873e2436 100644 --- a/etc/xplayer.profile +++ b/etc/xplayer.profile @@ -39,7 +39,7 @@ tracelog private-bin xplayer,xplayer-audio-preview,xplayer-video-thumbnailer private-dev -# private-etc fonts +# private-etc fonts,machine-id,pulse,asound.conf private-tmp noexec ${HOME} -- cgit v1.2.3-54-g00ecf