dbus TERMINATE signal doesn't terminate the process?
by Yixun Lan
hello,
we found that using dbus to send TERMINATE signal[1] doesn't
terminate the thermald process (it's still running at backgroud), is
this intentional?
calling g_main_loop_quit() will fix this (see attached patch), also
I found this function will be called at sig_int_handler()
or ask in another form, should I use "kill -9" to terminate the
process instead of sending dbus signal?
thanks
[1] /usr/bin/dbus-send --system --dest=org.freedesktop.thermald
/org/freedesktop/thermald org.freedesktop.thermald.Terminate
[2] thermald.init is the init script
[3] thermald_terminate.patch is prototype of proposal patch
[4] downstream bugs: https://bugs.gentoo.org/show_bug.cgi?id=550880
7 years