dbus-daemon: Don't create /tmp/dbus_launch 52/204852/2 accepted/tizen/unified/20190430.113428 submit/tizen/20190429.043102
authorINSUN PYO <insun.pyo@samsung.com>
Mon, 29 Apr 2019 00:33:16 +0000 (09:33 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Mon, 29 Apr 2019 02:10:17 +0000 (11:10 +0900)
VD only uses /tmp/dbus_launch
- VD target: use /tmp/dbus_launch generated by systemd in kdbus
- VD emulator: use /tmp/dbus_launch generated by dbus-daemon that uses VD plugin drop-in

Change-Id: If2120a016015ee76c589416dab7cc6c96ee21b05

bus/dbus.service.in
packaging/dbus.spec

index 7840e61..b3b7167 100644 (file)
@@ -5,12 +5,10 @@ DefaultDependencies=no
 Requires=dbus.socket
 Wants=security-manager.socket
 After=security-manager.socket
-#dbus-daemon creates /tmp/dbus_launch
-RequiresMountsFor=/tmp
 
 [Service]
 Type=notify
-ExecStart=@EXPANDED_BINDIR@/dbus-daemon --system --address=systemd: --nofork --systemd-activation
+ExecStart=@EXPANDED_BINDIR@/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
 ExecReload=@EXPANDED_BINDIR@/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
 OOMScoreAdjust=-900
 User=dbus
index 7705c96..4f97865 100644 (file)
@@ -139,7 +139,6 @@ export V=1
 %endif
     --enable-kdbus-transport                                            \
     --enable-libdbuspolicy                                             \
-    --with-system-pid-file=/tmp/dbus_launch                            \
     --with-console-auth-dir=/var/run/dbus/at_console/                  \
     --with-systemdsystemunitdir=%{_unitdir}                            \
     --with-systemduserunitdir=%{_unitdir_user}                          \
@@ -177,7 +176,6 @@ popd
 %endif
     --enable-kdbus-transport                                            \
     --enable-libdbuspolicy                                             \
-    --with-system-pid-file=/tmp/dbus_launch                            \
     --with-console-auth-dir=/var/run/dbus/at_console/                  \
     --with-systemdsystemunitdir=%{_unitdir}                            \
     --with-systemduserunitdir=%{_unitdir_user}                          \
@@ -208,7 +206,6 @@ find dbus -name '*.gcno' -exec cp '{}' coverage-objects ';'
 %if %{with_systemd}
     --enable-systemd                                                   \
 %endif
-    --with-system-pid-file=/tmp/dbus_launch                            \
     --with-console-auth-dir=/var/run/dbus/at_console/                  \
     --with-systemdsystemunitdir=%{_unitdir}                            \
     --with-systemduserunitdir=%{_unitdir_user}                          \