Re: systemd and core dumps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Dec 10, 2012 at 11:24:17PM -0500, Olivier Langlois wrote:
> Apparently core dumps (if enabled) are stored in the systemd journal.
> 
>  ~ $ cat /proc/sys/kernel/core_pattern 
> |/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e
> 
> systemd-coredumpctl looks nice to use but I am not totally sure yet that
> collecting core dumps in the journal is something that I want
> systematically.
> 
> I am looking for a way to override this. I haven't found any mention of
> that option in systemd documentation.
> 
> Does anyone here would have an idea where I could search?
> 
> Olivier
> 
> 

It's configured via /lib/sysctl.d/coredump.conf, which is kind of
sneaky. If you want to disable coredump collection in the journal:

  ln -s /dev/null /etc/sysctl.d/coredump.conf

And then reapply sysctl settings:

  /lib/systemd/systemd-sysctl

d


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux