Revert "tizen: notify service readyness after successful config file parsing" 85/240285/1 accepted/tizen/unified/20200806.062507 submit/tizen/20200805.062948
authorINSUN PYO <insun.pyo@samsung.com>
Wed, 5 Aug 2020 05:33:19 +0000 (14:33 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 5 Aug 2020 05:33:19 +0000 (14:33 +0900)
This reverts commit bbacc6024e474f4e7dd1387618209cab9524a95c.

 - security-manager's nss plugin removed the dependency with security-manager service.
 - So, deadlock is removed.

Change-Id: I047da2ae670f59a6dcac9f58877c49f77bb25c7f

bus/dbus.service.in
bus/main.c

index 21ea676..f03a743 100644 (file)
@@ -5,7 +5,6 @@ DefaultDependencies=no
 Requires=dbus.socket
 
 [Service]
-Type=notify
 ExecStart=@EXPANDED_BINDIR@/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
 ExecReload=@EXPANDED_BINDIR@/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
 OOMScoreAdjust=-900
index d5d6510..676147e 100644 (file)
@@ -42,9 +42,6 @@
 #include "apparmor.h"
 #include "audit.h"
 
-#ifdef HAVE_SYSTEMD
-#include <systemd/sd-daemon.h>
-#endif
 #ifdef DBUS_UNIX
 #include <dbus/dbus-sysdeps-unix.h>
 #endif
@@ -721,10 +718,6 @@ main (int argc, char **argv)
 
   dbus_set_protocol_version (DBUS_MAJOR_PROTOCOL_VERSION);
 
-#ifdef HAVE_SYSTEMD
-  sd_notify(0, "READY=1");
-#endif
-
   _dbus_verbose ("We are on D-Bus...\n");
   _dbus_loop_run (bus_context_get_loop (context));