How to configure systemd-coredump to store core dumps in another directory than /var/lib/systemd/coredump

Solution Verified - Updated -

Issue

  • On RHEL8 and 9, core dump are handled by systemd-coredump and are stored in /var/lib/systemd/coredump, how may I change this path?

Environment

  • Red Hat Enterprise Linux 8 and 9
    • 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