• Core files on Debian Trixie

    From Thomas Pircher@21:1/5 to All on Thu May 30 12:40:01 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Pircher@21:1/5 to Thomas Pircher on Mon Jun 3 23:10:01 2024
    Thomas Pircher wrote:
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)