[systemd-devel] [PATCH] Prevent daemon-reload from reaping service processes.

Lennart Poettering lennart at poettering.net
Thu Feb 2 10:11:55 PST 2012


On Thu, 02.02.12 17:32, Chris Paulson-Ellis (chris at edesix.com) wrote:

> The reaping of generator processes run as part of a daemon-reload should not
> call waitid(PID_ALL). The waitid() call in execute_directory() is intended only
> to reap the executed processes, but if a service process exits at about the
> same time as a daemon-reload, then that service process is reaped as well,
> preventing it from being reaped in the proper place in
> manager_dispatch_sigchld().

Thanks a lot for tracking this done!

Patch commited to git. Thanks!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list