From: Martin Pitt Date: Fri, 22 Feb 2019 07:04:37 +0000 (+0100) Subject: units: re-drop ProtectHostname from systemd-hostnamed.service (#11792) X-Git-Tag: v242-rc1~261 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95a32e9750124c0e5d84f5127a420af04d357e0b;p=thirdparty%2Fsystemd.git units: re-drop ProtectHostname from systemd-hostnamed.service (#11792) This was an overzealous setting from commit 99894b867f. Without this, `hostnamectl set-hostname` fails with Could not set property: Access denied as `sethostname()` fails with `EPERM`. --- diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index 62e9b28f5b7..9c925e80d9f 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -25,7 +25,6 @@ PrivateNetwork=yes PrivateTmp=yes ProtectControlGroups=yes ProtectHome=yes -ProtectHostname=yes ProtectKernelModules=yes ProtectKernelTunables=yes ProtectSystem=strict