[systemd-devel] How to generate core file in system service

Kai Krakow hurikhan77 at gmail.com
Tue Sep 26 23:36:54 UTC 2017


Am Mon, 25 Sep 2017 10:26:48 +0200
schrieb Miroslav Suchý <msuchy at redhat.com>:

> Dne 25.9.2017 v 08:47 Mantas Mikulėnas napsal(a):
> > But when I start the deamon by "teamd" directly, I could get core
> > file. When I start it by systemctl start teamd at team0.service, no
> > core file was generate when it crashed, but only get:
> >    "systemd: teamd at team0.service: main process exited, code=killed,
> > status=6/ABRT"
> > in /var/log/messages.  
> 
> I guess this crash has been caught by ABRT.
> 
> Try:
>   abrt-cli list

Also try "coredumpctl list". Maybe systemd-coredump did catch the dump.

This is the case if sysctl kernel.core_pattern pipes to
/lib/systemd/systemd-coredump.


-- 
Regards,
Kai

Replies to list-only preferred.




More information about the systemd-devel mailing list