Re: jessie systemd shutdown sequence

2016-04-27 Thread Vladislav Kurz
Dne 2016-04-27 12:11, Andrew McGlashan napsal: Hi, On 27/04/2016 1:21 AM, Vladislav Kurz wrote: reason ignores the ACPI button, and does not shut down. Yeah systemd will kill it eventually (5 minutes or so), but I would prefer to log into such machine and issue correct shutdown. Unfortunately

Re: jessie systemd shutdown sequence

2016-04-27 Thread Václav Ovsík
Hello, On Tue, Apr 26, 2016 at 05:21:25PM +0200, Vladislav Kurz wrote: > ... > In my eyes it seems that systemd shuts down everything in parallel, including > networking. So it can stop network quite early, before other services. Thus > SSH connection just hangs, instead of proper disconnect. Th

Re: jessie systemd shutdown sequence

2016-04-27 Thread Andrew McGlashan
Hi, On 27/04/2016 1:21 AM, Vladislav Kurz wrote: > reason ignores the ACPI button, and does not shut down. Yeah systemd will > kill > it eventually (5 minutes or so), but I would prefer to log into such machine > and issue correct shutdown. Unfortunately the neworking was gone at that > moment

Re: jessie systemd shutdown sequence

2016-04-26 Thread Martin Read
On 26/04/16 16:21, Vladislav Kurz wrote: So what I would like to achieve is to set somehow the dependencies in systemd, so that networking is deconfigured only after all services are stopped, and that SSH is the last service to stop. Documentation starting point for your particular problem (sys

jessie systemd shutdown sequence

2016-04-26 Thread Vladislav Kurz
Hello all, I'd like to find out more about what the systemd does during shutdown/reboot. I knew pretty well what old sysVinit does, but my long experience is worthless with systemd, and I have to learn anything anew :(. I accept RTFM answers if they include links ;) The problem I have is parti