On Wed, 24.07.13 14:50, Cristian Rodríguez ([email protected]) wrote:

> 
> El 24/07/13 14:07, Gerardo Exequiel Pozzi escribió:
> >Hello
> >
> >I am using Arch Linux, and testing systemd-206 with linux-3.10.2 on
> >shutdown, sometimes randomly there is a long delay until [email protected]
> >timeouts then systemd kills it.
> >
> 
> I am seeing a similar behaviour here, but it hangs shutting down the
> session-1.scope unit.

So for this one I have an idea what happens. I figure inside that scope
unit you have a bash running? The bash ignores SIGTERM, and requires
SIGHUP instead for a clean termination. logind knew that and always sent
both. Since we moved everything to scope units it's now PID1's job to
kill the processes, and it doesn't explicitly send SIGHUP right now.

I figure we need to update the PID 1 scope kill logic to optionally send
both SIGTERM and SIGHUP to the cgroup members.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to