Skip to content

Commit

Permalink
profiles: drop hostname option
Browse files Browse the repository at this point in the history
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] #5597 (comment)
  • Loading branch information
glitsj16 authored and kmk3 committed Mar 14, 2023
1 parent 55fb69f commit 18a110e
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion etc/profile-a-l/agetpkg.profile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ include whitelist-usr-share-common.inc
include whitelist-var-common.inc

caps.drop all
hostname agetpkg
ipc-namespace
machine-id
netfilter
Expand Down
1 change: 0 additions & 1 deletion etc/profile-a-l/archiver-common.profile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ include disable-shell.inc

apparmor
caps.drop all
hostname archiver
ipc-namespace
machine-id
net none
Expand Down
1 change: 0 additions & 1 deletion etc/profile-a-l/file.profile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ include disable-programs.inc

apparmor
caps.drop all
hostname file
ipc-namespace
machine-id
net none
Expand Down
1 change: 0 additions & 1 deletion etc/profile-a-l/galculator.profile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ include whitelist-var-common.inc

apparmor
caps.drop all
#hostname galculator - breaks Arch Linux
#ipc-namespace
net none
nodvd
Expand Down
1 change: 0 additions & 1 deletion etc/profile-a-l/geekbench.profile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ include whitelist-var-common.inc

apparmor
caps.drop all
hostname geekbench
ipc-namespace
machine-id
netfilter
Expand Down
1 change: 0 additions & 1 deletion etc/profile-m-z/mdr.profile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ include whitelist-var-common.inc

apparmor
caps.drop all
hostname mdr
ipc-namespace
machine-id
net none
Expand Down
1 change: 0 additions & 1 deletion etc/profile-m-z/qpdf.profile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ include whitelist-var-common.inc

apparmor
caps.drop all
hostname qpdf
ipc-namespace
machine-id
net none
Expand Down
1 change: 0 additions & 1 deletion etc/profile-m-z/tesseract.profile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ include whitelist-var-common.inc

apparmor
caps.drop all
hostname tesseract
ipc-namespace
machine-id
net none
Expand Down
1 change: 0 additions & 1 deletion etc/profile-m-z/unf.profile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ include whitelist-var-common.inc

apparmor
caps.drop all
hostname unf
ipc-namespace
machine-id
net none
Expand Down
1 change: 0 additions & 1 deletion etc/profile-m-z/uudeview.profile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion etc/profile-m-z/whois.profile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ include whitelist-var-common.inc

apparmor
caps.drop all
hostname whois
ipc-namespace
machine-id
netfilter
Expand Down

0 comments on commit 18a110e

Please sign in to comment.