[systemd-devel] Antw: [EXT] Re: Help required for configuring a blocking service during shutdown

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed Aug 31 06:40:54 UTC 2022


>>> Henning Moll <newsScott at gmx.de> schrieb am 31.08.2022 um 08:13 in
Nachricht
<trinity-bf9e5622-edcd-4c68-822b-d9ff91d4e28b-1661926433018 at 3c-app-gmx-bs58>:
> Just tried "shutdown -r now" and unfortunately it also doesn't care about 
> systemd-inhibit.

Is the systemd shutdown target triggered anyway? I guess it is. If so, the
problem must be deeper "under the hood".

> Gesendet: Mittwoch, 31. August 2022 um 08:07 UhrVon: "Ulrich Windl" 
> <Ulrich.Windl at rz.uni-regensburg.de>An: "Michael Biebl" <mbiebl at gmail.com>, 
> newsScott at gmx.deCc: "systemd-devel at lists.freedesktop.org" 
> <systemd-devel at lists.freedesktop.org>Betreff: Antw: [EXT] Re:
[systemd-devel] 
> Help required for configuring a blocking service during shutdown
>>>> Henning Moll <newsScott at gmx.de> schrieb am 30.08.2022 um 16:24 
>
inNachricht<trinity-f47b7230-3ed8-4fa0-acbd-9c89b0e05b33-1661869465209 at 3c-app
> -gmx-bs58>:> Hi,>> This is an interesting mechanism, but unfortunately it is
to 
> weak for my use> case: It does only delay reboots which are initiated via 
> "systemctl ...". A> "sudo reboot" is not delayedAt least in the past there
was 
> a difference between "reboot" and "shutdown -rnow":The former wouldn't care

> much about how the reboot is done, while the latterwould try an orderly 
> shutdown before reboot.>> Best regards> Henning> Gesendet: Dienstag, 30.
August 
> 2022 um 10:14 UhrVon: "Michael Biebl"> <mbiebl at gmail.com>An: "Mantas
Mikulėnas" 
> <grawity at gmail.com>Cc: "HenningMoll"> <newsScott at gmx.de>, "Systemd" 
> <systemd-devel at lists.freedesktop.org>Betreff:Re:> [systemd-devel] Help
required 
> for configuring a blocking service during> shutdown> Would the systemd
inhibit 
> interface be an> 
> option?https://www.freedesktop.org/wiki/Software/systemd/inhibit/It was> 
> designed for that use case after all. 




More information about the systemd-devel mailing list