valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone
ff6046
From b61e8046ebcb28225423fc0073183d68d4c577c4 Mon Sep 17 00:00:00 2001
ff6046
From: Michal Sekletar <msekleta@redhat.com>
ff6046
Date: Thu, 9 Aug 2018 15:28:44 +0200
ff6046
Subject: [PATCH] units: drop DynamicUser=yes from systemd-resolved.service
ff6046
ff6046
We don't really need DynamicUser since we add systemd-resolve user
ff6046
from rpm script
ff6046
---
ff6046
 units/systemd-resolved.service.in | 1 -
ff6046
 1 file changed, 1 deletion(-)
ff6046
ff6046
diff --git a/units/systemd-resolved.service.in b/units/systemd-resolved.service.in
ff6046
index 9982ecebff..aaed406ab2 100644
ff6046
--- a/units/systemd-resolved.service.in
ff6046
+++ b/units/systemd-resolved.service.in
ff6046
@@ -26,7 +26,6 @@ RestartSec=0
ff6046
 ExecStart=!!@rootlibexecdir@/systemd-resolved
ff6046
 WatchdogSec=3min
ff6046
 User=systemd-resolve
ff6046
-DynamicUser=yes
ff6046
 CapabilityBoundingSet=CAP_SETPCAP CAP_NET_RAW CAP_NET_BIND_SERVICE
ff6046
 AmbientCapabilities=CAP_SETPCAP CAP_NET_RAW CAP_NET_BIND_SERVICE
ff6046
 PrivateDevices=yes