Re: How to disable automatic core dumps in Debian 9?

2019-06-12 Thread Reco
Hi. On Wed, Jun 12, 2019 at 05:14:09PM +0300, Martin T wrote: > Reco, > > thanks for reply! > > > rgrep core /etc/security/limits* > > Would be more correct. Files at /etc/security/limits.d/ can override > > limits.conf. > > Indeed. Output of "rgrep core /etc/security/limits*" is

Re: How to disable automatic core dumps in Debian 9?

2019-06-12 Thread Martin T
Reco, thanks for reply! > rgrep core /etc/security/limits* > Would be more correct. Files at /etc/security/limits.d/ can override > limits.conf. Indeed. Output of "rgrep core /etc/security/limits*" is following: $ rgrep core /etc/security/limits* /etc/security/limits.conf:#- core -

Re: How to disable automatic core dumps in Debian 9?

2019-06-12 Thread Reco
Hi. On Wed, Jun 12, 2019 at 12:49:14PM +0300, Martin T wrote: > As Debian does not seem to use systemd-coredump, It's a feature, not a flaw. > then I set the "kernel.core_pattern=|/bin/false" kernel configuration > in sysctl.conf sysctl -w kernel.core_pattern=/dev/null There's no

How to disable automatic core dumps in Debian 9?

2019-06-12 Thread Martin T
Hi, how to disable all automatic core dumps upon the process termination in Debian 9? As Debian does not seem to use systemd-coredump, then I set the "kernel.core_pattern=|/bin/false" kernel configuration in sysctl.conf and following pam_limits.so module configuration: $ grep -w core