From d980629a0b7d3e11a4840b29b048a770ad8553af Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 12 Oct 2017 22:45:45 +0200 Subject: [PATCH] Avoid polkit and bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Accessing systemd/system with DBUS from a user not root make systemd use polkit. It doesn't work for us because: - at the end systemd crashes (sigsegv) - we don't want polkit here Change-Id: I206edd108b8b659c8c6a3a68f61500cb114995d4 Signed-off-by: José Bollo --- conf/afm-system-daemon.service.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/afm-system-daemon.service.in b/conf/afm-system-daemon.service.in index 0c0d71c..ca4ca1d 100644 --- a/conf/afm-system-daemon.service.in +++ b/conf/afm-system-daemon.service.in @@ -2,8 +2,8 @@ Description=Application Framework Master, system side [Service] -User=afm -Group=afm +#User=afm +#Group=afm SyslogIdentifier=afm-system-daemon ExecStart=/usr/bin/afb-daemon --name=afm-system-daemon --no-httpd --no-ldpaths --binding=@CMAKE_INSTALL_FULL_LIBEXECDIR@/afm/afm-binding.so --ws-server=sd:afm-main Restart=on-failure -- 2.16.6