Systemd-coredump Service
I am unable to locate systemd-coredump service on CentOS 7.5. It is not listed under “systemctl -a” and also I’m unable to locate the associated unit file (folder /usr/lib/systemd/system/ ). Am I missing any package which installs this service?
2 thoughts on - Systemd-coredump Service
I don’t really understand what you are looking for but don’t you have
/usr/lib/systemd/systemd-coredump and /usr/bin/systemd-coredumpctl on your system?
Regards, Simon
I do have both those files. But I was under the wrong assumption that there is a systemd service for the same as mentioned here
<https://manpages.debian.org/testing/systemd-coredump/systemd-coredump.8.en.html>. Thanks for the clarification.
Now how do I enable systemd to generate core files? I did try setting sysctl kernel.core_pattern=’| /usr/lib/systemd/systemd-coredump %p %u %g %s
%t %c %e’
But this does not generate core files consistently.