[systemd-devel] A way to debug machine shutdown

2020-04-26 Thread Dark Penguin
Very often I have encountered one problem: during shutdown, systemd has to wait for something. Of course, it is probably different things every time, and it is probably not systemd's fault, at least some of the cases. This leads to the question: how do we find out the root of the problem? Systemd

Re: [systemd-devel] Halt then reboot

2016-09-18 Thread Dark Penguin
Now that systemd manages the shutdown procedure, I don't know if it's possible to achieve the same behaviour (and thus make NUT work with systemd). As already mentioned, it is ouside of scope of OS actually. How you did it before systemd? It was actually a feature of NUT - and a default and

Re: [systemd-devel] Halt then reboot

2016-09-17 Thread Dark Penguin
Long version: Many UPS-es do not support cutting power at all, or ignore the command to cut the power in certain situations. There was a workaround for that: instead of powering the machines off, they had to halt, then wait a reasonable amount of time (during which the UPS should turn off), and

[systemd-devel] Halt then reboot

2016-09-16 Thread Dark Penguin
Greetings! Short version: is it possible with systemd to have the machine halt, wait for a few minutes and then reboot? Long version: Many UPS-es do not support cutting power at all, or ignore the command to cut the power in certain situations. There was a workaround for that: instead of