]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: Add ProtectHostname=private (#35447)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 11 Dec 2024 01:17:25 +0000 (10:17 +0900)
committerGitHub <noreply@github.com>
Wed, 11 Dec 2024 01:17:25 +0000 (10:17 +0900)
This PR allows an option for systemd exec units to enable UTS namespaces
but not restrict changing hostname via seccomp. Thus, units can change
hostname without affecting the host. This is useful for OS-like
containers running as units where they should have freedom to change
their container hostname if they want, but not the host's hostname.

Fixes: #30348
1  2 
man/systemd.exec.xml
mkosi.conf

Simple merge
diff --cc mkosi.conf
Simple merge