aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2023-03-14 23:17:05 +0000
committerLibravatar GitHub <noreply@github.com>2023-03-14 23:17:05 +0000
commit35c9f1fd385690bea3bc05641abc31372ab6afb3 (patch)
tree99d3419e866ae6496db1186467cb80e9450bc8b0
parentprofiles: streamline seccomp socket comment (#5735) (diff)
downloadfirejail-35c9f1fd385690bea3bc05641abc31372ab6afb3.tar.gz
firejail-35c9f1fd385690bea3bc05641abc31372ab6afb3.tar.zst
firejail-35c9f1fd385690bea3bc05641abc31372ab6afb3.zip
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
-rw-r--r--etc/profile-a-l/agetpkg.profile1
-rw-r--r--etc/profile-a-l/archiver-common.profile1
-rw-r--r--etc/profile-a-l/file.profile1
-rw-r--r--etc/profile-a-l/galculator.profile1
-rw-r--r--etc/profile-a-l/geekbench.profile1
-rw-r--r--etc/profile-m-z/mdr.profile1
-rw-r--r--etc/profile-m-z/qpdf.profile1
-rw-r--r--etc/profile-m-z/tesseract.profile1
-rw-r--r--etc/profile-m-z/unf.profile1
-rw-r--r--etc/profile-m-z/uudeview.profile1
-rw-r--r--etc/profile-m-z/whois.profile1
11 files changed, 0 insertions, 11 deletions
diff --git a/etc/profile-a-l/agetpkg.profile b/etc/profile-a-l/agetpkg.profile
index 7a36302f1..9ebbf1cb0 100644
--- a/etc/profile-a-l/agetpkg.profile
+++ b/etc/profile-a-l/agetpkg.profile
@@ -28,7 +28,6 @@ include whitelist-usr-share-common.inc
28include whitelist-var-common.inc 28include whitelist-var-common.inc
29 29
30caps.drop all 30caps.drop all
31hostname agetpkg
32ipc-namespace 31ipc-namespace
33machine-id 32machine-id
34netfilter 33netfilter
diff --git a/etc/profile-a-l/archiver-common.profile b/etc/profile-a-l/archiver-common.profile
index ef875c5b7..487e0c5f8 100644
--- a/etc/profile-a-l/archiver-common.profile
+++ b/etc/profile-a-l/archiver-common.profile
@@ -23,7 +23,6 @@ include disable-shell.inc
23 23
24apparmor 24apparmor
25caps.drop all 25caps.drop all
26hostname archiver
27ipc-namespace 26ipc-namespace
28machine-id 27machine-id
29net none 28net none
diff --git a/etc/profile-a-l/file.profile b/etc/profile-a-l/file.profile
index a5fd05bc7..78f1327c5 100644
--- a/etc/profile-a-l/file.profile
+++ b/etc/profile-a-l/file.profile
@@ -15,7 +15,6 @@ include disable-programs.inc
15 15
16apparmor 16apparmor
17caps.drop all 17caps.drop all
18hostname file
19ipc-namespace 18ipc-namespace
20machine-id 19machine-id
21net none 20net none
diff --git a/etc/profile-a-l/galculator.profile b/etc/profile-a-l/galculator.profile
index 96ded592d..44d62cc86 100644
--- a/etc/profile-a-l/galculator.profile
+++ b/etc/profile-a-l/galculator.profile
@@ -23,7 +23,6 @@ include whitelist-var-common.inc
23 23
24apparmor 24apparmor
25caps.drop all 25caps.drop all
26#hostname galculator - breaks Arch Linux
27#ipc-namespace 26#ipc-namespace
28net none 27net none
29nodvd 28nodvd
diff --git a/etc/profile-a-l/geekbench.profile b/etc/profile-a-l/geekbench.profile
index 3a929774a..e8d4c013f 100644
--- a/etc/profile-a-l/geekbench.profile
+++ b/etc/profile-a-l/geekbench.profile
@@ -25,7 +25,6 @@ include whitelist-var-common.inc
25 25
26apparmor 26apparmor
27caps.drop all 27caps.drop all
28hostname geekbench
29ipc-namespace 28ipc-namespace
30machine-id 29machine-id
31netfilter 30netfilter
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
21 21
22apparmor 22apparmor
23caps.drop all 23caps.drop all
24hostname mdr
25ipc-namespace 24ipc-namespace
26machine-id 25machine-id
27net none 26net 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
31 31
32apparmor 32apparmor
33caps.drop all 33caps.drop all
34hostname qpdf
35ipc-namespace 34ipc-namespace
36machine-id 35machine-id
37net none 36net 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
31 31
32apparmor 32apparmor
33caps.drop all 33caps.drop all
34hostname tesseract
35ipc-namespace 34ipc-namespace
36machine-id 35machine-id
37net none 36net 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
24 24
25apparmor 25apparmor
26caps.drop all 26caps.drop all
27hostname unf
28ipc-namespace 27ipc-namespace
29machine-id 28machine-id
30net none 29net 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
19include whitelist-usr-share-common.inc 19include whitelist-usr-share-common.inc
20 20
21caps.drop all 21caps.drop all
22hostname uudeview
23ipc-namespace 22ipc-namespace
24machine-id 23machine-id
25net none 24net 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
22 22
23apparmor 23apparmor
24caps.drop all 24caps.drop all
25hostname whois
26ipc-namespace 25ipc-namespace
27machine-id 26machine-id
28netfilter 27netfilter