summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2016-06-30 08:31:39 (GMT)
committerhyunuktak <hyunuk.tak@samsung.com>2016-06-30 08:31:42 (GMT)
commitabf80432683584631f8ac5c3f507ea09bad8023b (patch)
treeb4ca1ae608a205c1e22933863e88ac754f809d65
parent7715d834e4be90b050c1b5d9421d6317894ddcae (diff)
downloadconnman-abf80432683584631f8ac5c3f507ea09bad8023b.zip
connman-abf80432683584631f8ac5c3f507ea09bad8023b.tar.gz
connman-abf80432683584631f8ac5c3f507ea09bad8023b.tar.bz2
Change-Id: I5e140d9ec4d3de94a429e97206045407461b59ae Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-xpackaging/connman.spec3
-rwxr-xr-xsrc/connman.service.in1
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index d0b2b2c..a0e2819 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,7 @@ cp vpn/vpn-dbus.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/connman-vpn-dbus
%endif
%post
+chsmack -a 'System' /%{_localstatedir}/lib/connman
%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