Skip to content

vdagentd: fork early because of GLib

Jakub Janků requested to merge jjanku/vd_agent-linux:shutdown-fix into master

GMainLoop (or rather GMainContext) isn't apparently compatible with forking and causes issues -- in our case the handlers registered with g_unix_signal_add() weren't being called.

Fixes: #18 (closed)

Also see: https://gitlab.gnome.org/GNOME/glib/issues/2073

Signed-off-by: Jakub Janků jjanku@redhat.com

Merge request reports