From dd5ae0d8f41cb7f054506c8cf373c8b609429d1b Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Fri, 25 Aug 2023 01:55:52 +0000 Subject: [PATCH] profiles: patch fixes (#5970) Commit 3077b2d1f blacklists `${PATH}/patch` in disable-devel.inc[1]. We need to noblacklist it in the profiles that need it. [1] https://github.com/netblue30/firejail/commit/3077b2d1ff6c6e26a83487ae460985157b5c61fd --- etc/profile-a-l/ani-cli.profile | 1 + etc/profile-a-l/lobster.profile | 1 + etc/profile-m-z/patch.profile | 1 + 3 files changed, 3 insertions(+) diff --git a/etc/profile-a-l/ani-cli.profile b/etc/profile-a-l/ani-cli.profile index f34f6270b27..afd76282c69 100644 --- a/etc/profile-a-l/ani-cli.profile +++ b/etc/profile-a-l/ani-cli.profile @@ -10,6 +10,7 @@ include ani-cli.local noblacklist ${HOME}/.cache/ani-cli noblacklist ${HOME}/.local/state/ani-cli +noblacklist ${PATH}/patch # Allow /bin/sh (blacklisted by disable-shell.inc) include allow-bin-sh.inc diff --git a/etc/profile-a-l/lobster.profile b/etc/profile-a-l/lobster.profile index 4daa1d010c3..f9dc4f60cbb 100644 --- a/etc/profile-a-l/lobster.profile +++ b/etc/profile-a-l/lobster.profile @@ -17,6 +17,7 @@ noblacklist ${HOME}/.config/ueberzugpp noblacklist ${HOME}/.local/share/applications/lobster noblacklist ${HOME}/.local/share/lobster noblacklist ${PATH}/openssl +noblacklist ${PATH}/patch # Allow /bin/sh (blacklisted by disable-shell.inc) include allow-bin-sh.inc diff --git a/etc/profile-m-z/patch.profile b/etc/profile-m-z/patch.profile index 5a0f69f7968..23e734b43fd 100644 --- a/etc/profile-m-z/patch.profile +++ b/etc/profile-m-z/patch.profile @@ -10,6 +10,7 @@ include globals.local blacklist ${RUNUSER} noblacklist ${DOCUMENTS} +noblacklist ${PATH}/patch include disable-common.inc include disable-devel.inc