[systemd-devel] [PATCH] gnome-ask-password-agent: do not double fork spawned process
Colin Walters
walters at verbum.org
Tue Aug 13 18:57:53 PDT 2013
On Tue, 2013-08-13 at 23:42 +0200, Michael Laß wrote:
> pkexec does not like being a lonely child:
> "Refusing to render service to dead parents."
>
> Do not double fork when spawning the process by using the DO_NOT_REAP_CHILD
> flag. Instead clean up manually by calling waitpid.
It's cleaner to use the GLib child watch functionality. See a similar
fix I did for gnome-shell:
https://git.gnome.org/browse/gnome-shell/commit/?id=02e4726ba62659b4cdeca5274d76ba8f14edb768
More information about the systemd-devel
mailing list