Discussion:
Core files on Debian Trixie
(too old to reply)
Thomas Pircher
2024-05-30 10:40:01 UTC
Permalink
Hi,

I have noticed that started getting core files on Debian testing
recently. I'm running a fairly standard installation with my own kernel
build.

I'm fine with this as default setting, but my knowledge in this area is
probably outdated, so I wanted to ask what the recommended way is
nowadays to disable corefiles globally.
Should I change the settings in /etc/security/limits.d/ or set
kernel.core_pattern in /etc/sysctl.d/?

Just being curious, what package/change enabled this change?

Thanks,
Thomas
Thomas Pircher
2024-06-03 21:10:01 UTC
Permalink
Post by Thomas Pircher
I wanted to ask what the recommended way is
nowadays to disable corefiles globally.
The latest update for systemd has answered this:

| apt-listchanges: News
| ---------------------
|
| systemd (256~rc3-3) unstable; urgency=medium
|
| - coredumps are now disabled by default via configuration files rather than
| an out-of-tree patch (installing the optional systemd-coredump package
| will enable them as before). As always, overriding via local drop-ins is
| possible if desired. The configuration files that respectively affect
| the system systemd instance, the user systemd instances and PAM sessions
| are:
|
| /usr/lib/systemd/system.conf.d/10-coredump-debian.conf
| /usr/lib/systemd/user.conf.d/10-coredump-debian.conf
| /usr/lib/sysctl.d/10-coredump-debian.conf
| /etc/security/limits.d/10-coredump-debian.conf

Thomas

Loading...