Hi Rick, thks for the reply. Comments below:<br><br><div class="gmail_quote">On Tue, Dec 8, 2009 at 23:12, Rick Stevens <span dir="ltr"><<a href="mailto:ricks@nerd.com">ricks@nerd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 12/08/2009 03:44 PM, Andre Costa wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
apps crashes are generating coredumps on /var/cache/abrt/* ; since I<br>
won't debug them myself and won't send them anywhere because they're too<br>
big, I would like to turn them off. I tried uncommenting<br>
<br>
#*               soft    core            0<br>
<br>
on /etc/security/limits.conf but it did not work, coredumps were still<br>
being generated.<br>
</blockquote>
<br></div>
I believe you need to reboot for that to take effect.</blockquote><div><br></div><div>I did that, to no avail :-(</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then I tried to set<br>
<br>
MaxCrashReportsSize = 0<br>
<br>
directly on /etc/abrt/abrt.conf, restarted abrtd but it didn't work<br>
either (oddly enough abrt-gui doesn't allow changing this setting, "ok"<br>
button is disabled -- not even if I run it as root).<br>
<br>
So, as a last resource I created a script on /etc/cron.daily to get rid<br>
of the coredumps, but I'd rather not create them in the first place.<br>
<br>
Anyone could give a hand?<br>
</blockquote>
<br></div>
Well, you should also, as root:<br>
<br>
        echo 'fs.suid_dumpable = 0' >> /etc/sysctl.conf<br>
        sysctl -p<br>
<br>
That prevents suid programs from creating core files.  You should<br>
also make sure that there is a line to the effect:<br>
<br>
        ulimit -S -c 0 >/dev/null 2>&1<br>
<br>
is in /etc/profile so that all users have a core file dump limit size<br>
of 0 bytes.<br></blockquote><div><br></div><div>Cool, nice tips, will implement them and see if they finally free me from these damned coredumps =/ (IMHO there should be an easier way of doing that, considering this is a "new" feature shipped with F12)</div>
<div><br></div><div>Regards,</div><div><br></div><div>Andre</div></div>