From f8aa9c8ecf05194e1663609d9239e73c179d722c Mon Sep 17 00:00:00 2001 From: Hyuk Lee Date: Thu, 14 Apr 2016 14:27:54 +0900 Subject: [PATCH] Modify the daemon UID/GID Change-Id: Ieda43b4f14b0ccc9af7830dae9e028bf974b367c Signed-off-by: Hyuk Lee --- ag-agent/bluetooth-ag-agent.conf.in | 2 +- ag-agent/org.bluez.ag_agent.service | 4 ++-- packaging/bluetooth-agent.spec | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ag-agent/bluetooth-ag-agent.conf.in b/ag-agent/bluetooth-ag-agent.conf.in index 28edb95..eaa7ee8 100644 --- a/ag-agent/bluetooth-ag-agent.conf.in +++ b/ag-agent/bluetooth-ag-agent.conf.in @@ -1,7 +1,7 @@ - + diff --git a/ag-agent/org.bluez.ag_agent.service b/ag-agent/org.bluez.ag_agent.service index 5cd68b3..f32a3a2 100644 --- a/ag-agent/org.bluez.ag_agent.service +++ b/ag-agent/org.bluez.ag_agent.service @@ -1,5 +1,5 @@ [D-BUS Service] Name=org.bluez.ag_agent Exec=/usr/bin/bluetooth-ag-agent -User=system -Group=system +User=network_fw +Group=network_fw diff --git a/packaging/bluetooth-agent.spec b/packaging/bluetooth-agent.spec index 74f90bd..df33492 100644 --- a/packaging/bluetooth-agent.spec +++ b/packaging/bluetooth-agent.spec @@ -33,6 +33,7 @@ BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(capi-media-image-util) BuildRequires: pkgconfig(libexif) BuildRequires: cmake +Requires: security-config %description Bluetooth agent packages that support various external profiles -- 2.7.4