[systemd-devel] How does KillSignal interact with TimeoutStopSec in systemd?

2020-04-26 Thread Debraj Manna
Can someone let me know the following about systemd service shutdown sequence 1. If I have specified KillSignal=SIGTERM then how does this interact this TimeoutStopSec ? Does this mean that during shutdown of service, first SIGTERM will be sent and if the service is still running afte

[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

[systemd-devel] Crash and size problem with systemd-repart

2020-04-26 Thread Emmanuel Garette
Hi, I'm experimenting with the new tool systemd-repart and I think I have found a bug. Here is a simple repart.d file:     bash-5.0# cat /usr/lib/repart.d/70-home.conf     [Partition]     Type=home     SizeMinBytes=16M     SizeMaxBytes=32M If the disk is empty, systemd-repart ends with a seg