Removed cap for mac override and change the label for resolv configuration 10/78010/1
authorhyunuktak <hyunuk.tak@samsung.com>
Mon, 4 Jul 2016 02:27:23 +0000 (11:27 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Mon, 4 Jul 2016 02:27:27 +0000 (11:27 +0900)
Change-Id: I04f15f895c189f94cd1e0828c1cac2b33dfee5eb
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/net-config.spec
resources/usr/lib/systemd/system/net-config.service

index 44c2e85..f86e329 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          net-config
 Summary:       TIZEN Network Configuration service
-Version:       1.1.80
+Version:       1.1.81
 Release:       2
 Group:         System/Network
 License:       Apache-2.0
@@ -125,6 +125,7 @@ mkdir -p %{buildroot}%{_datadir}/license
 cp LICENSE %{buildroot}%{_datadir}/license/net-config
 
 %post
+chsmack -a 'System::Shared' %{_sysconfdir}/resolv.conf
 
 #Network logs
 mkdir -p /opt/usr/data/network
index 8ef8b66..000ca9a 100755 (executable)
@@ -9,6 +9,7 @@ ExecStartPre=-/usr/sbin/net-config.service
 ExecStart=/usr/sbin/net-config
 Restart=always
 CapabilityBoundingSet=~CAP_MAC_ADMIN
+CapabilityBoundingSet=~CAP_MAC_OVERRIDE
 
 [Install]
 WantedBy=multi-user.target