[systemd-devel] [PATCH] core/manager.c: for switch-root wait for pending JOB_STOP

Lennart Poettering lennart at poettering.net
Fri Jul 13 05:54:47 PDT 2012


On Thu, 12.07.12 08:44, harald at redhat.com (harald at redhat.com) wrote:

> From: Harald Hoyer <harald at redhat.com>
> 
> if we don't wait for the pending stopping jobs, the following can
> happen:

Hmm, to avoid any further issues like this I have now changed systemd
git to kill all remaining processes (and wait for them, too) when
transitioning from the initrd to the main system. Processes that want to
exclude themselves from this should set argv[0][0]='@'.

This is not only cleaner but also relieves the initrd from doing any
special kill magic.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list