aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md42
-rw-r--r--etc/firefox.profile6
-rw-r--r--firefox-whitelist.pngbin0 -> 53657 bytes
3 files changed, 27 insertions, 21 deletions
diff --git a/README.md b/README.md
index 37bf7af4d..d0cabc2c4 100644
--- a/README.md
+++ b/README.md
@@ -34,34 +34,34 @@ FAQ: https://l3net.wordpress.com/projects/firejail/firejail-faq/
34 34
35 35
36 36
37## Known Problems 37## New features in the development version
38 38
39### PulseAudio 7.0 39### Whitelisting in default Firefox profile
40 40
41The srbchannel IPC mechanism, introduced in PulseAudio 6.0, was enabled by default in release 7.0. 41The next release will bring in default whitelisting for Firefox files and folders under /home/user.
42Arch Linux users are reporting sound problems when running applications in Firejail sandbox. 42If you start the sandbox without any other options, this is what you'll get:
43A preliminary fix was introduced on master branch. The fix is available in release 0.9.32, and disables PulseAudio shared memory functionality
44inside the sandbox. If you are seeing any problems,
45please let us know here: https://github.com/netblue30/firejail/issues/69
46 43
47If you are unable to update Firejail, or if you want to continue using the latest released version, these are some workarounds: 44![Whitelisted home directory](firefox-whitelist.png?raw=true)
48 45
49* Running ALSA 46The code is located in etc/firefox.inc file:
50 47
51 By default, if Firefox fails to connect to PulseAudio, it will connect directly to ALSA.
52 Also by default, ALSA comes with the sound volume down. You would need to install *alsamixer*
53 (*alsa-utils* package) or *gnome-alsamixer*, run it, and crank up the volume (both Master and PCM).
54
55* Disable shm functionality in PulseAudio
56````` 48`````
57$ mkdir -p ~/.config/pulse 49whitelist ~/.mozilla
58$ cd ~/.config/pulse 50whitelist ~/Downloads
59$ cp /etc/pulse/client.conf . 51whitelist ~/dwhelper
60$ echo "enable-shm = no" >> client.conf 52whitelist ~/.zotero
53whitelist ~/.lastpass
61````` 54`````
62* Disable srbchannel IPC mechanism in version 7.0
63 55
64 Edit /etc/pulse/default.pa – change the line "load-module module-native-protocol-unix" 56I intend to bring in all files and directories used by Firefox addons and plugins. So far I have
65 to "load-module module-native-protocol-unix srbchannel=no" and restart PulseAudio daemon. 57[Video DownloadHelper](https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/),
58[Zotero](https://www.zotero.org/download/) and
59[LastPass](https://addons.mozilla.org/en-US/firefox/addon/lastpass-password-manager/).
60If you're using a anything else, please let me know.
66 61
62### --ignore option
67 63
64Ignore commands in profile files. Example:
65`````
66$ firejail --ignore=seccomp wine
67`````
diff --git a/etc/firefox.profile b/etc/firefox.profile
index ec95324c8..2e8081ad3 100644
--- a/etc/firefox.profile
+++ b/etc/firefox.profile
@@ -9,6 +9,12 @@ seccomp
9netfilter 9netfilter
10noroot 10noroot
11shell none 11shell none
12whitelist ~/.mozilla
13whitelist ~/Downloads
14whitelist ~/dwhelper
15whitelist ~/.zotero
16whitelist ~/.lastpass
17
12 18
13 19
14 20
diff --git a/firefox-whitelist.png b/firefox-whitelist.png
new file mode 100644
index 000000000..e98cb4b02
--- /dev/null
+++ b/firefox-whitelist.png
Binary files differ