@@ -23,7 +23,8 @@ include firefox-common.local
23
23
#whitelist ${RUNUSER}/kpxc_server
24
24
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
25
25
26
- # Add the next line to your firefox-common.local to allow access to common programs/addons/plugins.
26
+ # Add the next line to firefox-common.local to allow access to common
27
+ # programs/addons/plugins.
27
28
#include firefox-common-addons.profile
28
29
29
30
noblacklist ${HOME}/.local/share/pki
@@ -59,31 +60,37 @@ apparmor
59
60
# Fixme!
60
61
apparmor-replace
61
62
caps.drop all
62
- # machine-id breaks pulse audio; add it to your firefox-common.local if sound is not required.
63
+ # Note: machine-id breaks pulseaudio; add it to firefox-common.local if sound
64
+ # is not required.
63
65
#machine-id
64
66
netfilter
65
67
nodvd
66
68
nogroups
67
69
noinput
68
70
nonewprivs
69
- # noroot breaks GTK_USE_PORTAL=1 usage, see https://github.com/netblue30/firejail/issues/2506.
71
+ # Note: noroot breaks GTK_USE_PORTAL=1 usage; see
72
+ # https://github.com/netblue30/firejail/issues/2506.
70
73
noroot
71
74
notv
72
75
?BROWSER_DISABLE_U2F: nou2f
73
76
protocol unix,inet,inet6,netlink
74
- # The below seccomp configuration still permits chroot syscall. See https://github.com/netblue30/firejail/issues/2506 for possible workarounds.
77
+ # Note: The seccomp line below still permits the chroot syscall; see
78
+ # https://github.com/netblue30/firejail/issues/2506 for possible workarounds.
75
79
seccomp !chroot
76
- # Disable tracelog, it breaks or causes major issues with many firefox based browsers, see https://github.com/netblue30/firejail/issues/1930.
80
+ # Note: tracelog may break or cause major issues with many Firefox-based
81
+ # browsers; see https://github.com/netblue30/firejail/issues/1930.
77
82
#tracelog
78
83
79
84
disable-mnt
80
85
?BROWSER_DISABLE_U2F: private-dev
81
- # private-etc below works fine on most distributions. There could be some problems on CentOS.
86
+ # Note: The private-etc line below works fine on most distributions but it
87
+ # could cause problems on CentOS.
82
88
private-etc @tls-ca,@x11,mailcap,mime.types,os-release
83
89
private-tmp
84
90
85
- # 'dbus-user none' breaks various desktop integration features like global menus, native notifications,
86
- # Gnome connector, KDE connect and power management on KDE Plasma.
91
+ # Note: `dbus-user none` breaks various desktop integration features like
92
+ # global menus, native notifications, Gnome connector, KDE Connect and power
93
+ # management on KDE Plasma.
87
94
dbus-user none
88
95
dbus-system none
89
96
0 commit comments