Revert "resolve: enable DynamicUser= for systemd-resolved.service"

This reverts commit 0187368cad.
(systemd.conf.m4 part was already reverted in 5b5d82615011b9827466b7cd5756da35627a1608.)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-09-20 16:52:02 +02:00
parent 162e0b75f9
commit 62fb7e80fc
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -67,6 +67,7 @@ def setUpModule():
tmpmounts.append(d)
if os.path.isdir('/run/systemd/resolve'):
os.chmod('/run/systemd/resolve', 0o755)
shutil.chown('/run/systemd/resolve', 'systemd-resolve', 'systemd-resolve')
# Avoid "Failed to open /dev/tty" errors in containers.
os.environ['SYSTEMD_LOG_TARGET'] = 'journal'