[systemd-devel] Detecting Systemd crash
Mantas Mikulėnas
grawity at gmail.com
Mon Feb 5 13:07:42 UTC 2024
On Mon, Feb 5, 2024, 14:54 Lennart Poettering <lennart at poettering.net>
wrote:
> On So, 04.02.24 00:06, David Timber (dxdt at dev.snart.me) wrote:
>
> > 2: How do I get Systemd to freeze to test such program? I mean, if I kill
> > Systemd, the kernel would crash so I have to somehow tell Systemd to
> freeze?
>
> Not really, the kernel blocks SIGSTOP for PID1.
>
Attaching gdb to pid1 should do the job.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240205/8a469216/attachment.htm>
More information about the systemd-devel
mailing list