From: Lennart Poettering Date: Thu, 7 Mar 2019 13:38:07 +0000 (+0100) Subject: man: document that ProtectHostname= disables hostname change notifications X-Git-Tag: v242-rc1~179^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8df87b4383b890192f88183d78e4d288e30443d6;p=thirdparty%2Fsystemd.git man: document that ProtectHostname= disables hostname change notifications --- diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index b8843f1ea0b..19c7b26bcee 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1135,9 +1135,13 @@ BindReadOnlyPaths=/var/lib/systemd Takes a boolean argument. When set, sets up a new UTS namespace for the executed processes. In addition, changing hostname or domainname is prevented. Defaults to off. - Note that the implementation of this setting might be impossible (for example if UTS namespaces are not - available), and the unit should be written in a way that does not solely rely on this setting for - security. + Note that the implementation of this setting might be impossible (for example if UTS namespaces + are not available), and the unit should be written in a way that does not solely rely on this setting + for security. + + Note that when this option is enabled for a service hostname changes no longer propagate from + the system into the service, it is hence not suitable for services that need to take notice of system + hostname changes dynamically.