]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: turn of ProtectHostname= again for services hat need to know about system... 11922/head
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Mar 2019 13:38:11 +0000 (14:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Mar 2019 14:49:10 +0000 (15:49 +0100)
commita18449b5bd72308062724e70b9528d989d1f52a1
treef84437eec6bfae173547d03ccf1c21752e6fc924
parent8df87b4383b890192f88183d78e4d288e30443d6
units: turn of ProtectHostname= again for services hat need to know about system hostname changes

ProtectHostname= turns off hostname change propagation from host to
service. This means for services that care about the hostname and need
to be able to notice changes to it it's not suitable (though it is
useful for most other cases still).

Let's turn it off hence for journald (which logs the current hostname)
for networkd (which optionally sends the current hostname to dhcp
servers) and resolved (which announces the current hostname via
llmnr/mdns).
units/systemd-journald.service.in
units/systemd-networkd.service.in
units/systemd-resolved.service.in