From 5e9d5d240dae24a22a9760786932fa72ccdc77d3 Mon Sep 17 00:00:00 2001 From: Slava Monich Date: Wed, 8 Jul 2020 20:27:22 +0300 Subject: [PATCH] [mms-engine] Run mms-engine under radio account. JB#50312 ofono is running under radio, it must be guaranteed to be present. --- .../dbus-org.nemomobile.MmsEngine.service | 5 ++-- mms-engine/org.nemomobile.MmsEngine.dbus.conf | 28 ++++++++----------- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/mms-engine/dbus-org.nemomobile.MmsEngine.service b/mms-engine/dbus-org.nemomobile.MmsEngine.service index c5d3d9c..c11bf4f 100644 --- a/mms-engine/dbus-org.nemomobile.MmsEngine.service +++ b/mms-engine/dbus-org.nemomobile.MmsEngine.service @@ -5,5 +5,6 @@ Description=MMS engine service Type=dbus BusName=org.nemomobile.MmsEngine ExecStart=/usr/sbin/mms-engine -o syslog -User=nemo -Group=privileged +User=radio +Group=radio +SupplementaryGroups=privileged inet diff --git a/mms-engine/org.nemomobile.MmsEngine.dbus.conf b/mms-engine/org.nemomobile.MmsEngine.dbus.conf index cf906e3..7a96274 100644 --- a/mms-engine/org.nemomobile.MmsEngine.dbus.conf +++ b/mms-engine/org.nemomobile.MmsEngine.dbus.conf @@ -3,22 +3,18 @@ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> - + - - - - - - - - - - - - - - - + + + + + +