Unable to obtain proper PID from "systemd-coredump" when invoked in a new process namespace

Solution Verified - Updated -

Issue

  • Unable to specify both %P and %p as it seems to honor only 1 option in the kernel core pattern.

  • Whenever a coredump is triggered, the PID 1 namespace systemd-coredump dumps core but cannot enter the new process namespace to look up the new proc namespace PID of the application process.

Environment

  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • systemd-coredump

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content