diff options
author | 2022-11-22 23:08:08 +0000 | |
---|---|---|
committer | 2022-11-22 23:08:08 +0000 | |
commit | 86eecba151372fb34f632219ff415f08dc1ec3eb (patch) | |
tree | fb2904b377945300a09f1a98efd63754fc367c01 | |
parent | Merge pull request #5473 from netblue30/dependabot/github_actions/step-securi... (diff) | |
download | firejail-86eecba151372fb34f632219ff415f08dc1ec3eb.tar.gz firejail-86eecba151372fb34f632219ff415f08dc1ec3eb.tar.zst firejail-86eecba151372fb34f632219ff415f08dc1ec3eb.zip |
Add python3 support/fixes to nicotine (#5459)
* Add python3 support to nicotine
* Revert private-bin changes
Adding shell and python3 support to private-bin kept breaking nicotine for the user who reported it on IRC. Let's revert it as suggested by @rusty-snake.
-rw-r--r-- | etc/profile-m-z/nicotine.profile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/profile-m-z/nicotine.profile b/etc/profile-m-z/nicotine.profile index bb2a41457..22c8b1782 100644 --- a/etc/profile-m-z/nicotine.profile +++ b/etc/profile-m-z/nicotine.profile | |||
@@ -8,8 +8,12 @@ include globals.local | |||
8 | 8 | ||
9 | noblacklist ${HOME}/.nicotine | 9 | noblacklist ${HOME}/.nicotine |
10 | 10 | ||
11 | # Allow /bin/sh (blacklisted by disable-shell.inc) | ||
12 | include allow-bin-sh.inc | ||
13 | |||
11 | # Allow python (blacklisted by disable-interpreters.inc) | 14 | # Allow python (blacklisted by disable-interpreters.inc) |
12 | include allow-python2.inc | 15 | include allow-python2.inc |
16 | include allow-python3.inc | ||
13 | 17 | ||
14 | include disable-common.inc | 18 | include disable-common.inc |
15 | include disable-devel.inc | 19 | include disable-devel.inc |
@@ -37,6 +41,7 @@ nodvd | |||
37 | nogroups | 41 | nogroups |
38 | noinput | 42 | noinput |
39 | nonewprivs | 43 | nonewprivs |
44 | noprinters | ||
40 | noroot | 45 | noroot |
41 | nosound | 46 | nosound |
42 | notv | 47 | notv |
@@ -47,7 +52,7 @@ seccomp | |||
47 | tracelog | 52 | tracelog |
48 | 53 | ||
49 | disable-mnt | 54 | disable-mnt |
50 | private-bin nicotine,python2* | 55 | #private-bin nicotine,python2* |
51 | private-cache | 56 | private-cache |
52 | private-dev | 57 | private-dev |
53 | private-tmp | 58 | private-tmp |