projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772afb7
)
units: re-drop ProtectHostname from systemd-hostnamed.service (#11792)
author
Martin Pitt
<martinpitt@users.noreply.github.com>
Fri, 22 Feb 2019 07:04:37 +0000
(08:04 +0100)
committer
GitHub
<noreply@github.com>
Fri, 22 Feb 2019 07:04:37 +0000
(08:04 +0100)
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`.
units/systemd-hostnamed.service.in
patch
|
blob
|
history
diff --git
a/units/systemd-hostnamed.service.in
b/units/systemd-hostnamed.service.in
index
62e9b28
..
9c925e8
100644
(file)
--- 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