summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2022-05-21 10:34:19 +0200
committerDavid Runge <dvzrv@archlinux.org>2022-05-21 10:34:19 +0200
commit2b097a4899c9961fdca33d5a11da2f89f7659f81 (patch)
tree1f74fe01f7632e09fb04cd693edb977192010c3e
parent5455ffe08c181f64531967a71b9fb57b783e0af3 (diff)
Remove PrivateUsers=yes from paccache.service
src/paccache.service.in: As `PrivateUsers=yes` sets up a separate namespace (also for root), all files are therefore owned by `nobody` to the paccache script and it is not able to remove any files. See `PrivateUsers=` in https://man.archlinux.org/man/systemd.exec.5#SANDBOXING for further details.
-rw-r--r--src/paccache.service.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/paccache.service.in b/src/paccache.service.in
index f4b0c88..4e41a32 100644
--- a/src/paccache.service.in
+++ b/src/paccache.service.in
@@ -20,7 +20,6 @@ PrivateTmp=yes
PrivateDevices=yes
PrivateNetwork=yes
PrivateIPC=yes
-PrivateUsers=yes
ProtectHostname=yes
ProtectClock=yes
ProtectKernelTunables=yes