[systemd-devel] ExecReload-spawned process getting SIGKILLed

Sam Varshavchik mrsam at courier-mta.com
Thu Jun 7 16:36:35 PDT 2012


Dave Reisner writes:

> On Thu, Jun 07, 2012 at 08:41:54AM -0400, Sam Varshavchik wrote:
>
> This is wrong. ExecReload should not cause the process to change PIDs.
> Not that this was ever allowed, but the below commit is was causes the
> SIGKILL behavior you're seeing:
>
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=8f53a7b8ea9b

Thanks for confirming that this SIGKILL comes from systemd.

This, however, blocks re-exec()ing of a secure, non-root daemon that runs in  
a chroot jail. The workaround that's needed to work around this obstacle, is  
messy.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120607/5db16724/attachment.pgp>


More information about the systemd-devel mailing list