My /var/lib/systemd/coredump directory keeps growing to unwanted proportions. Whenever systemd crashes or applications crashes coredumps are triggered. These compressed files are saved to this directory.
Now I don't usually look at these files for debugging. And they may be security risks since coredumps may contain sensitive information. So I want to disable it.
To disable coredumps, please see $man coredump.conf. Setting [Coredump] Storage=none instead of Storage=external which is the default, disables saving coredumps.
So I just opened my text editor to the file /etc/systemd/coredump.conf and edit the line above.
Comments