aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2017-12-08 00:50:52 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2017-12-08 00:50:52 +0100
commit5e3c526b4542911b08f99c861a231d58373d42c2 (patch)
treed7022cafcbd2dd59c3b1fc9f9e83a8e3b23b0f06
parent0.9.52 testing (diff)
downloadfirejail-5e3c526b4542911b08f99c861a231d58373d42c2.tar.gz
firejail-5e3c526b4542911b08f99c861a231d58373d42c2.tar.zst
firejail-5e3c526b4542911b08f99c861a231d58373d42c2.zip
fix sound in firefox started from thunderbird
and move disable-mnt from thunderbird to firefox profile, in alignment with recent commit from @Fred-Barclay
-rw-r--r--etc/firefox.profile5
-rw-r--r--etc/thunderbird.profile4
2 files changed, 4 insertions, 5 deletions
diff --git a/etc/firefox.profile b/etc/firefox.profile
index a8a9e014e..57a5bc7a7 100644
--- a/etc/firefox.profile
+++ b/etc/firefox.profile
@@ -70,7 +70,7 @@ include /etc/firejail/whitelist-common.inc
70include /etc/firejail/whitelist-var-common.inc 70include /etc/firejail/whitelist-var-common.inc
71 71
72caps.drop all 72caps.drop all
73# machine-id breaks pulse audio; if shoud work fine in setups where sound is not required 73# machine-id breaks pulse audio; if should work fine in setups where sound is not required
74#machine-id 74#machine-id
75netfilter 75netfilter
76nodvd 76nodvd
@@ -83,13 +83,12 @@ seccomp
83shell none 83shell none
84tracelog 84tracelog
85 85
86disable-mnt
86# firefox requires a shell to launch on Arch. 87# firefox requires a shell to launch on Arch.
87# private-bin firefox,which,sh,dbus-launch,dbus-send,env,bash 88# private-bin firefox,which,sh,dbus-launch,dbus-send,env,bash
88private-dev 89private-dev
89
90# private-etc below works fine on most distributions. There are some problems on CentOS. 90# private-etc below works fine on most distributions. There are some problems on CentOS.
91# private-etc iceweasel,ca-certificates,ssl,machine-id,dconf,selinux,passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,firefox,mime.types,mailcap,asound.conf,pulse 91# private-etc iceweasel,ca-certificates,ssl,machine-id,dconf,selinux,passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,firefox,mime.types,mailcap,asound.conf,pulse
92
93private-tmp 92private-tmp
94 93
95noexec ${HOME} 94noexec ${HOME}
diff --git a/etc/thunderbird.profile b/etc/thunderbird.profile
index 8af981d70..2d14342e0 100644
--- a/etc/thunderbird.profile
+++ b/etc/thunderbird.profile
@@ -26,8 +26,8 @@ include /etc/firejail/whitelist-var-common.inc
26 26
27# We need the real /tmp for data exchange when xdg-open handles email attachments on KDE 27# We need the real /tmp for data exchange when xdg-open handles email attachments on KDE
28ignore private-tmp 28ignore private-tmp
29machine-id 29# machine-id breaks pulse audio; if should work fine in setups where sound is not required
30disable-mnt 30#machine-id
31read-only ${HOME}/.config/mimeapps.list 31read-only ${HOME}/.config/mimeapps.list
32 32
33# allow browsers 33# allow browsers