summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2016-07-04 02:28:07 (GMT)
committerhyunuktak <hyunuk.tak@samsung.com>2016-07-04 02:28:10 (GMT)
commitc05244f7516f69a9b3d25ec79277408f6045be6a (patch)
treefcad14a4899bc66c04ef138e9330663637585d70
parent339667a208a0bd79e6a49f283110271b5dd5c976 (diff)
downloadconnman-c05244f7516f69a9b3d25ec79277408f6045be6a.zip
connman-c05244f7516f69a9b3d25ec79277408f6045be6a.tar.gz
connman-c05244f7516f69a9b3d25ec79277408f6045be6a.tar.bz2
Removed cap for mac override and change the label for connman dirrefs/changes/11/78011/1
Change-Id: I070677e1e3197ec0076483078b7bbdb8fd253023 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-xpackaging/connman.spec4
-rwxr-xr-xsrc/connman.service.in1
2 files changed, 4 insertions, 1 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index d0b2b2c..3e7c99c 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -4,7 +4,7 @@
Name: connman
Version: 1.29
-Release: 13
+Release: 14
License: GPL-2.0+
Summary: Connection Manager
Url: http://connman.net
@@ -174,6 +174,8 @@ cp vpn/vpn-dbus.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/connman-vpn-dbus
%endif
%post
+chsmack -a 'System' /%{_localstatedir}/lib/connman
+chsmack -a 'System' /%{_localstatedir}/lib/connman/settings
%preun
diff --git a/src/connman.service.in b/src/connman.service.in
index ae7cbea..503ec45 100755
--- a/src/connman.service.in
+++ b/src/connman.service.in
@@ -10,6 +10,7 @@ Restart=on-failure
ExecStart=@sbindir@/connmand -n --noplugin vpn
StandardOutput=null
CapabilityBoundingSet=~CAP_MAC_ADMIN
+CapabilityBoundingSet=~CAP_MAC_OVERRIDE
[Install]
WantedBy=multi-user.target