Disable nether.service temporarily 36/92836/1 accepted/tizen/3.0/common/20161114.110014 accepted/tizen/3.0/ivi/20161028.134047 accepted/tizen/3.0/mobile/20161028.133203 accepted/tizen/3.0/tv/20161028.133514 accepted/tizen/3.0/wearable/20161028.133803 accepted/tizen/common/20161019.145648 accepted/tizen/ivi/20161019.142009 accepted/tizen/mobile/20161019.141946 accepted/tizen/tv/20161019.141951 accepted/tizen/wearable/20161019.141955 submit/tizen/20161019.043044 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
authorjooseong lee <jooseong.lee@samsung.com>
Wed, 19 Oct 2016 04:16:07 +0000 (13:16 +0900)
committerjooseong lee <jooseong.lee@samsung.com>
Wed, 19 Oct 2016 04:16:07 +0000 (13:16 +0900)
When enabling CONFIG_SECURITY_SMACK_NETFILTER in Linux kernel,
we have unexpected behavior of Smack. Disable nether.service until
we find the proper solution.

Change-Id: I8d6a85962b5fcbacc57344d3f5453f98de018725
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
conf/CMakeLists.txt
packaging/nether.spec

index 26ddd727e098f373c78ab8866d9112e071eca2b0..8cabec6b7f33ded7b592826975d2ce121a5b4580 100644 (file)
 
 MESSAGE(STATUS "Installing config files")
 
-CONFIGURE_FILE(systemd/nether.service.in systemd/nether.service)
+#CONFIGURE_FILE(systemd/nether.service.in systemd/nether.service)
 
 INSTALL(FILES file.policy DESTINATION ${SYSCONF_INSTALL_DIR}/nether)
 INSTALL(FILES cynara.policy DESTINATION ${SYSCONF_INSTALL_DIR}/nether)
 INSTALL(FILES nether.rules DESTINATION ${SYSCONF_INSTALL_DIR}/nether)
-INSTALL(FILES systemd/nether.service DESTINATION ${SYSTEMD_UNIT_DIR})
-INSTALL(FILES systemd/nether.service DESTINATION ${SYSTEMD_UNIT_DIR}/multi-user.target.wants)
+#INSTALL(FILES systemd/nether.service DESTINATION ${SYSTEMD_UNIT_DIR})
+#INSTALL(FILES systemd/nether.service DESTINATION ${SYSTEMD_UNIT_DIR}/multi-user.target.wants)
index e19c081863547477c4963e385ec0fbe151157aa2..ed19788620e4b7cf180f3ceb3d476e3ac3bd7db2 100755 (executable)
@@ -20,8 +20,8 @@ This is a network privilege enforcing service.
 %config %{_sysconfdir}/nether/file.policy
 %config %{_sysconfdir}/nether/nether.rules
 %config %{_sysconfdir}/nether/cynara.policy
-%{_unitdir}/nether.service
-%{_unitdir}/multi-user.target.wants/nether.service
+#%{_unitdir}/nether.service
+#%{_unitdir}/multi-user.target.wants/nether.service
 %prep
 %setup -q
 
@@ -50,19 +50,19 @@ rm -rf %{buildroot}
 %post
 # Refresh systemd services list after installation
 systemctl daemon-reload || :
-if [ $1 == 1 ]; then
-       systemctl start nether.service || :
-fi
-if [ $1 == 2 ]; then
-       systemctl restart nether.service || :
-fi
+#if [ $1 == 1 ]; then
+#      systemctl start nether.service || :
+#fi
+#if [ $1 == 2 ]; then
+#      systemctl restart nether.service || :
+#fi
 
 %preun
 # Stop the service before uninstall
-if [ $1 == 0 ]; then
-       systemctl stop nether.service || :
-fi
+#if [ $1 == 0 ]; then
+#      systemctl stop nether.service || :
+#fi
 
 %postun
 # Refresh systemd services list after uninstall/upgrade
-systemctl daemon-reload || :
+#systemctl daemon-reload || :