From 35c9f1fd385690bea3bc05641abc31372ab6afb3 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Tue, 14 Mar 2023 23:17:05 +0000 Subject: profiles: drop hostname option (#5702) Now that we have randomized UTS namespaces support[1] by default for every sandbox, there's no longer a need to set hostname to a fixed value. This commit removes such fixed hostname entries from all profiles that have it. [1] https://github.com/netblue30/firejail/discussions/5597#discussioncomment-4996357 --- etc/profile-m-z/mdr.profile | 1 - etc/profile-m-z/qpdf.profile | 1 - etc/profile-m-z/tesseract.profile | 1 - etc/profile-m-z/unf.profile | 1 - etc/profile-m-z/uudeview.profile | 1 - etc/profile-m-z/whois.profile | 1 - 6 files changed, 6 deletions(-) (limited to 'etc/profile-m-z') diff --git a/etc/profile-m-z/mdr.profile b/etc/profile-m-z/mdr.profile index d3b3c6d48..7b83d61e1 100644 --- a/etc/profile-m-z/mdr.profile +++ b/etc/profile-m-z/mdr.profile @@ -21,7 +21,6 @@ include whitelist-var-common.inc apparmor caps.drop all -hostname mdr ipc-namespace machine-id net none diff --git a/etc/profile-m-z/qpdf.profile b/etc/profile-m-z/qpdf.profile index 7234f2bc2..edec7cf0a 100644 --- a/etc/profile-m-z/qpdf.profile +++ b/etc/profile-m-z/qpdf.profile @@ -31,7 +31,6 @@ include whitelist-var-common.inc apparmor caps.drop all -hostname qpdf ipc-namespace machine-id net none diff --git a/etc/profile-m-z/tesseract.profile b/etc/profile-m-z/tesseract.profile index 54568b7d3..5babfb8d2 100644 --- a/etc/profile-m-z/tesseract.profile +++ b/etc/profile-m-z/tesseract.profile @@ -31,7 +31,6 @@ include whitelist-var-common.inc apparmor caps.drop all -hostname tesseract ipc-namespace machine-id net none diff --git a/etc/profile-m-z/unf.profile b/etc/profile-m-z/unf.profile index aac99aed5..cdfd72a5b 100644 --- a/etc/profile-m-z/unf.profile +++ b/etc/profile-m-z/unf.profile @@ -24,7 +24,6 @@ include whitelist-var-common.inc apparmor caps.drop all -hostname unf ipc-namespace machine-id net none diff --git a/etc/profile-m-z/uudeview.profile b/etc/profile-m-z/uudeview.profile index a6d2a65e9..9a9915669 100644 --- a/etc/profile-m-z/uudeview.profile +++ b/etc/profile-m-z/uudeview.profile @@ -19,7 +19,6 @@ include disable-shell.inc include whitelist-usr-share-common.inc caps.drop all -hostname uudeview ipc-namespace machine-id net none diff --git a/etc/profile-m-z/whois.profile b/etc/profile-m-z/whois.profile index 8958564ef..8265e1ff8 100644 --- a/etc/profile-m-z/whois.profile +++ b/etc/profile-m-z/whois.profile @@ -22,7 +22,6 @@ include whitelist-var-common.inc apparmor caps.drop all -hostname whois ipc-namespace machine-id netfilter -- cgit v1.2.3-70-g09d2