From: Yu Watanabe Date: Wed, 11 Dec 2024 01:17:25 +0000 (+0900) Subject: core: Add ProtectHostname=private (#35447) X-Git-Tag: v258-rc1~1924 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=627d1a9ac1078257e1d09dc6d2badb2801dd11ed;p=thirdparty%2Fsystemd.git core: Add ProtectHostname=private (#35447) 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 --- 627d1a9ac1078257e1d09dc6d2badb2801dd11ed