[systemd-devel] [PATCH] units: use KillMode=process for systemd-nspawn at .service

David Timothy Strauss david at davidstrauss.net
Tue May 27 21:06:52 PDT 2014


On Tue, May 27, 2014 at 10:55 PM, Jonathan Liu <net147 at gmail.com> wrote:
> I suspect one downside is that if the container takes longer than the
> timeout to shutdown then it will go on a SIGKILL-ing spree... which
> could be a problem if a container process was in the middle of saving
> to disk while shutting down.

Is it reasonable to have no timeout, though? The weight (in terms of
state and shutdown time) of what runs in most containers isn't more
substantial than what runs in most services. It's not hard to override
the instance if it's necessary to have a longer timeout or no timeout.


More information about the systemd-devel mailing list