Re: How do I disable coredumps on F12?

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

 



On 12/08/2009 03:44 PM, Andre Costa wrote:
Hi,

apps crashes are generating coredumps on /var/cache/abrt/* ; since I
won't debug them myself and won't send them anywhere because they're too
big, I would like to turn them off. I tried uncommenting

#*               soft    core            0

on /etc/security/limits.conf but it did not work, coredumps were still
being generated.

I believe you need to reboot for that to take effect.

Then I tried to set

MaxCrashReportsSize = 0

directly on /etc/abrt/abrt.conf, restarted abrtd but it didn't work
either (oddly enough abrt-gui doesn't allow changing this setting, "ok"
button is disabled -- not even if I run it as root).

So, as a last resource I created a script on /etc/cron.daily to get rid
of the coredumps, but I'd rather not create them in the first place.

Anyone could give a hand?

Well, you should also, as root:

	echo 'fs.suid_dumpable = 0' >> /etc/sysctl.conf
	sysctl -p

That prevents suid programs from creating core files.  You should
also make sure that there is a line to the effect:

	ulimit -S -c 0 >/dev/null 2>&1

is in /etc/profile so that all users have a core file dump limit size
of 0 bytes.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-                   To err is human, to moo bovine.                  -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux