You are not logged in.

#1 2015-11-19 09:45:15

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Stopping systemd to store coredumps

I have put

Storage=none

in /etc/systemd/coredump.conf. But I nevertheless find big coredump files in /var/lib/systemd/coredump

[xxxxxx@pcolivier /var/lib/systemd/coredump]$ ls -sha
total 1.1G
 16K ./
4.0K ../
528M .#core.chromium.1000.9d1496c070aa4e98956e50e172cbd7c1.551.14477661410000001236b4ce05c4e143
541M .#core.chromium.1000.f500f02578f24c159ce1ffc81e8dc4ff.538.14476899740000006acdd264b686712a

Is this a bug? Is there any possibility to completely get rid of coredumps files.

Offline

#2 2015-11-19 09:57:13

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: Stopping systemd to store coredumps

Parhaps that's just a tmpfs - what is the output of this?

mount | grep systemd

pkgshackscfgblag

Offline

#3 2015-11-19 10:23:58

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Stopping systemd to store coredumps

I have "DumpCore=no" in /etc/systemd/system.conf

Offline

#4 2015-11-19 11:54:51

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Stopping systemd to store coredumps

vacant wrote:

I have "DumpCore=no" in /etc/systemd/system.conf

I missed this option, thanks! I will see if that really works in the future. Or perhaps have a way to force crash a software and see what happen?

Offline

#5 2015-11-19 12:23:01

Knight
Member
From: ShenZhen/Asia
Registered: 2015-11-19
Posts: 18

Re: Stopping systemd to store coredumps

/*
 * filename: dump.c
 */
#include <stdio.h>

int
main (int argc, char *argv[])
{
  int *p = NULL;
  *p = 0;
  return 0;
}

Last edited by Knight (2015-11-19 12:23:16)

Offline

#6 2015-11-19 20:22:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Stopping systemd to store coredumps

Maybe the coredumps are from before you used 'Storage=none'?

Offline

Board footer

Powered by FluxBB