Can i disable systemd-coredmp?

Is it possible to disable the systemd-coredmp ?
Because it records a lot of minor errors with a long verbose

Take a look here:
https://wiki.archlinux.org/title/Core_dump

I don’t see this as an issue:

The core dump files stored in /var/lib/systemd/coredump/ will be automatically cleaned by systemd-tmpfiles --clean, which is triggered daily with systemd-tmpfiles-clean.timer. 
1 Like

That’s Linux for you - verbose. It tells you of any possible problems. Since, as @jrichard326 mentioned, it gets cleaned daily, there shouldn’t be a problem.

1 Like

The errors of this service are too long. If necessary, yes, it must be activated

?
Are you saying you see a lot of core dumps?
Disabling the service won’t magically fix them - core dumps are generated when programs are not working correctly and crash.
Post exmaples of those “minor errors” please.

3 Likes

Like everyone above said, you shouldn’t worry about the verbosity unless you are concerned about ssd lifespan. If that’s the case, you can set Storage=none and ProcessSizeMax=0 which disables all coredump handling except for a log entry.

sudo mkdir -p /etc/systemd/coredump.conf.d
sudo nano /etc/systemd/coredump.conf.d/custom.conf
#/etc/systemd/coredump.conf.d/custom.conf
[Coredump]
Storage=none
ProcessSizeMax=0
3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.