]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: do not soft-reboot before soft-reboot.target reached 32880/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 May 2024 02:38:16 +0000 (11:38 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 May 2024 03:31:00 +0000 (12:31 +0900)
commit4263d7617f0e6ea741e227db223ac6085479165f
treecadd6f585623c4978fe1549439db1a02f4e7c005
parent11a55b15bfb7e4c7e19a15f1d126ff5d6684df5f
units: do not soft-reboot before soft-reboot.target reached

Otherwise, at the time systemd-soft-reboot.service succeeds,
services which has Conflicts= and Before=soft-reboot.target may
not be stopped yet, and may be SIGKILLed.

Especially, systemd-journald.service has the dependencies, thus
journal may be corrupted. See #32223.

Follow-up for 13ffc60749df0ca7c76cfcac317b41a05679b364.

Fixes #32834.
units/soft-reboot.target
units/systemd-soft-reboot.service