summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2022-06-29 17:00:10 +0200
committerŁukasz Stelmach <l.stelmach@samsung.com>2022-07-13 08:50:36 +0200
commitc3425854c66d0983ba79a2abc943493f4ba26f9d (patch)
tree0bc6c8a07a3b10594477641a7836c7a04878a87e
parentfef7d6e865d0dd89eb0d5aad79345a02c6adaba3 (diff)
downloadsystemd-c3425854c66d0983ba79a2abc943493f4ba26f9d.tar.gz
systemd-c3425854c66d0983ba79a2abc943493f4ba26f9d.tar.bz2
systemd-c3425854c66d0983ba79a2abc943493f4ba26f9d.zip
Change the SMACK label for systemd in the user session to System::Privileged to avoid problems with handling org.freedesktop.systemd1.Manager.GetUnitByPID method. Change-Id: If9f30e57050f01004c56b85235ad50d49710ac53 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r--units/user@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/user@.service.in b/units/user@.service.in
index a76f402381..fe54be4d01 100644
--- a/units/user@.service.in
+++ b/units/user@.service.in
@@ -20,7 +20,7 @@ Group=users
PAMName=systemd-user
Type=simple
ExecStart=-@rootlibexecdir@/systemd --user
-SmackProcessLabel=User
+SmackProcessLabel=System::Privileged
Slice=user-%i.slice
KillMode=mixed
Delegate=pids memory