From 96cf6074dc133f2b0561b83701c58fe2209ca347 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Wed, 29 Jun 2022 17:00:10 +0200 Subject: [PATCH] tizen: Change the SMACK label for systemd in the user session MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- units/user@.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/user@.service.in b/units/user@.service.in index 1ee46b6..40f8280 100644 --- a/units/user@.service.in +++ b/units/user@.service.in @@ -20,6 +20,7 @@ Group=users PAMName=systemd-user Type=simple ExecStart={{LIBEXECDIR}}/systemd --user +SmackProcessLabel=System::Privileged Slice=user-%i.slice KillMode=mixed Delegate=pids memory cpu -- 2.7.4