[systemd-devel] Does systemd launch gdb on an application that crashes now?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Jan 7 06:49:15 PST 2016


On Thu, Jan 07, 2016 at 09:26:15AM -0500, Daniel J Walsh wrote:
> I am seeing gdb run in the SELinux type of a few different crashed
> domains.  I am trying to figure out how this is happening, so we can
> figure out a secure solution.  I know that kde has some kind of hack to
> handle this, and abrt does it but it does it under the abrt_t process
> not in the same context as the crashed application.

No, systemd-coredump uses libdwfl from elfutils to generate the
stacktrace (in-process).

/bin/coredumpctl will launch gdb for you if you ask, but that's
a manual step.

Zbyszek


More information about the systemd-devel mailing list