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

Daniel J Walsh dwalsh at redhat.com
Thu Jan 7 07:11:33 PST 2016



On 01/07/2016 09:49 AM, Zbigniew Jędrzejewski-Szmek wrote:
> 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
Thanks.  The search continues...


More information about the systemd-devel mailing list