mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
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
46 lines
842 B
Text
46 lines
842 B
Text
# Firejail profile for file
|
|
# Description: Recognize the type of data in a file using "magic" numbers
|
|
# This file is overwritten after every install/update
|
|
quiet
|
|
# Persistent local customizations
|
|
include file.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
blacklist ${RUNUSER}
|
|
|
|
include disable-common.inc
|
|
include disable-exec.inc
|
|
include disable-programs.inc
|
|
|
|
apparmor
|
|
caps.drop all
|
|
ipc-namespace
|
|
machine-id
|
|
net none
|
|
no3d
|
|
nodvd
|
|
nogroups
|
|
noinput
|
|
nonewprivs
|
|
nosound
|
|
notv
|
|
nou2f
|
|
novideo
|
|
protocol unix
|
|
seccomp
|
|
tracelog
|
|
x11 none
|
|
|
|
#private-bin bzip2,file,gzip,lrzip,lz4,lzip,xz,zstd
|
|
private-cache
|
|
private-dev
|
|
#private-etc alternatives,localtime,magic,magic.mgc
|
|
#private-lib file,libarchive.so.*,libfakeroot,libmagic.so.*,libseccomp.so.*
|
|
|
|
dbus-user none
|
|
dbus-system none
|
|
|
|
memory-deny-write-execute
|
|
read-only ${HOME}
|
|
restrict-namespaces
|