aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-03-06 06:06:14 +0000
committerLibravatar GitHub <noreply@github.com>2019-03-06 06:06:14 +0000
commitd745b31d4e738a9f9c137bad7807a4b81505e65c (patch)
treef94a26e6f58eec6f71e6aadd73fbc87f9b27e47c
parentFix #2518 -- noexec HOME breaks discord (blank screen only) (diff)
downloadfirejail-d745b31d4e738a9f9c137bad7807a4b81505e65c.tar.gz
firejail-d745b31d4e738a9f9c137bad7807a4b81505e65c.tar.zst
firejail-d745b31d4e738a9f9c137bad7807a4b81505e65c.zip
Add gconf + redirect profiles (#2528)
* Create gconf.profile * Update gconf-editor.profile * Create gconf-merge-schema.profile * Create gconf-merge-tree.profile * Create gconfpkg.profile * Create gconftool-2.profile * Create gsettings-data-convert.profile * Create gsettings-schema-convert.profile * Allow python2 in gconf.profile
-rw-r--r--etc/gconf-editor.profile45
-rw-r--r--etc/gconf-merge-schema.profile12
-rw-r--r--etc/gconf-merge-tree.profile12
-rw-r--r--etc/gconf.profile57
-rw-r--r--etc/gconfpkg.profile12
-rw-r--r--etc/gconftool-2.profile12
-rw-r--r--etc/gsettings-data-convert.profile12
-rw-r--r--etc/gsettings-schema-convert.profile12
8 files changed, 133 insertions, 41 deletions
diff --git a/etc/gconf-editor.profile b/etc/gconf-editor.profile
index 20cc5c36f..e9756f8af 100644
--- a/etc/gconf-editor.profile
+++ b/etc/gconf-editor.profile
@@ -4,46 +4,9 @@
4# Persistent local customizations 4# Persistent local customizations
5include gconf-editor.local 5include gconf-editor.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7# added by included profile
8#include globals.local
8 9
9noblacklist ${HOME}/.config/gconf
10 10
11include disable-common.inc 11# Redirect
12include disable-devel.inc 12include gconf.profile
13include disable-interpreters.inc
14include disable-passwdmgr.inc
15include disable-programs.inc
16include disable-xdg.inc
17
18whitelist ${HOME}/.config/gconf
19include whitelist-common.inc
20
21apparmor
22caps.drop all
23machine-id
24net none
25no3d
26nodvd
27nogroups
28nonewprivs
29noroot
30nosound
31notv
32nou2f
33novideo
34protocol unix
35seccomp
36shell none
37tracelog
38
39disable-mnt
40private-bin gconf-editor
41private-cache
42private-dev
43private-etc alternatives,fonts
44private-lib
45private-tmp
46
47memory-deny-write-execute
48noexec ${HOME}
49noexec /tmp
diff --git a/etc/gconf-merge-schema.profile b/etc/gconf-merge-schema.profile
new file mode 100644
index 000000000..411b7b815
--- /dev/null
+++ b/etc/gconf-merge-schema.profile
@@ -0,0 +1,12 @@
1# Firejail profile for gconf-merge-schema
2# Description: An obsolete configuration database system (CLI utility)
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gconf-merge-schema.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10
11# Redirect
12include gconf.profile
diff --git a/etc/gconf-merge-tree.profile b/etc/gconf-merge-tree.profile
new file mode 100644
index 000000000..66a4226ca
--- /dev/null
+++ b/etc/gconf-merge-tree.profile
@@ -0,0 +1,12 @@
1# Firejail profile for gconf-merge-tree
2# Description: An obsolete configuration database system (CLI utility)
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gconf-merge-tree.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10
11# Redirect
12include gconf.profile
diff --git a/etc/gconf.profile b/etc/gconf.profile
new file mode 100644
index 000000000..94af21833
--- /dev/null
+++ b/etc/gconf.profile
@@ -0,0 +1,57 @@
1# Firejail profile for gconf
2# Description: An obsolete configuration database system
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gconf.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/gconf
10
11# Allow python2 (blacklisted by disable-interpreters.inc)
12noblacklist ${PATH}/python2*
13#noblacklist ${PATH}/python3*
14noblacklist /usr/lib/python2*
15#noblacklist /usr/lib/python3*
16
17include disable-common.inc
18include disable-devel.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22include disable-xdg.inc
23
24mkdir ${HOME}/.config/gconf
25whitelist ${HOME}/.config/gconf
26include whitelist-common.inc
27
28apparmor
29caps.drop all
30ipc-namespace
31machine-id
32net none
33no3d
34nodvd
35nogroups
36nonewprivs
37noroot
38nosound
39notv
40nou2f
41novideo
42protocol unix
43seccomp
44shell none
45tracelog
46
47disable-mnt
48private-bin gconf-editor,gconf-merge-*,gconfpkg,gconftool-2,gsettings-*-convert,python2*
49private-cache
50private-dev
51private-etc alternatives,fonts,gconf
52private-lib libpython*,python2*
53private-tmp
54
55memory-deny-write-execute
56noexec ${HOME}
57noexec /tmp
diff --git a/etc/gconfpkg.profile b/etc/gconfpkg.profile
new file mode 100644
index 000000000..1793ce072
--- /dev/null
+++ b/etc/gconfpkg.profile
@@ -0,0 +1,12 @@
1# Firejail profile for gconfpkg
2# Description: An obsolete configuration database system (CLI utility)
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gconfpkg.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10
11# Redirect
12include gconf.profile
diff --git a/etc/gconftool-2.profile b/etc/gconftool-2.profile
new file mode 100644
index 000000000..59a2242a7
--- /dev/null
+++ b/etc/gconftool-2.profile
@@ -0,0 +1,12 @@
1# Firejail profile for gconftool-2
2# Description: An obsolete configuration database system (CLI utility)
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gconftool-2.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10
11# Redirect
12include gconf.profile
diff --git a/etc/gsettings-data-convert.profile b/etc/gsettings-data-convert.profile
new file mode 100644
index 000000000..21a232440
--- /dev/null
+++ b/etc/gsettings-data-convert.profile
@@ -0,0 +1,12 @@
1# Firejail profile for gsettings-data-convert
2# Description: An obsolete configuration database system (CLI utility)
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gsettings-data-convert.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10
11# Redirect
12include gconf.profile
diff --git a/etc/gsettings-schema-convert.profile b/etc/gsettings-schema-convert.profile
new file mode 100644
index 000000000..2dbf4fb44
--- /dev/null
+++ b/etc/gsettings-schema-convert.profile
@@ -0,0 +1,12 @@
1# Firejail profile for gsettings-schema-convert
2# Description: An obsolete configuration database system (CLI utility)
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gsettings-schema-convert.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10
11# Redirect
12include gconf.profile