Hi Ed,<div><br></div><div><div class="gmail_quote">On Wed, Dec 9, 2009 at 01:57, Ed Greshko <span dir="ltr">&lt;<a href="mailto:Ed.Greshko@greshko.com">Ed.Greshko@greshko.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Andre Costa wrote:<br>
&gt; Hi Rick, thks for the reply. Comments below:<br>
&gt;<br>
&gt; On Tue, Dec 8, 2009 at 23:12, Rick Stevens &lt;<a href="mailto:ricks@nerd.com">ricks@nerd.com</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:ricks@nerd.com">ricks@nerd.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     On 12/08/2009 03:44 PM, Andre Costa wrote:<br>
&gt;<br>
&gt;         Hi,<br>
&gt;<br>
&gt;         apps crashes are generating coredumps on /var/cache/abrt/* ;<br>
&gt;         since I<br>
&gt;         won&#39;t debug them myself and won&#39;t send them anywhere because<br>
&gt;         they&#39;re too<br>
&gt;         big, I would like to turn them off. I tried uncommenting<br>
&gt;<br>
&gt;         #*               soft    core            0<br>
&gt;<br>
&gt;         on /etc/security/limits.conf but it did not work, coredumps<br>
&gt;         were still<br>
&gt;         being generated.<br>
&gt;<br>
&gt;<br>
&gt;     I believe you need to reboot for that to take effect.<br>
&gt;<br>
&gt;<br>
&gt; I did that, to no avail :-(<br>
&gt;<br>
&gt;<br>
&gt;         Then I tried to set<br>
&gt;<br>
&gt;         MaxCrashReportsSize = 0<br>
&gt;<br>
&gt;         directly on /etc/abrt/abrt.conf, restarted abrtd but it didn&#39;t<br>
&gt;         work<br>
&gt;         either (oddly enough abrt-gui doesn&#39;t allow changing this<br>
&gt;         setting, &quot;ok&quot;<br>
&gt;         button is disabled -- not even if I run it as root).<br>
&gt;<br>
&gt;         So, as a last resource I created a script on /etc/cron.daily<br>
&gt;         to get rid<br>
&gt;         of the coredumps, but I&#39;d rather not create them in the first<br>
&gt;         place.<br>
&gt;<br>
&gt;         Anyone could give a hand?<br>
&gt;<br>
&gt;<br>
&gt;     Well, you should also, as root:<br>
&gt;<br>
&gt;            echo &#39;fs.suid_dumpable = 0&#39; &gt;&gt; /etc/sysctl.conf<br>
&gt;            sysctl -p<br>
&gt;<br>
&gt;     That prevents suid programs from creating core files.  You should<br>
&gt;     also make sure that there is a line to the effect:<br>
&gt;<br>
&gt;            ulimit -S -c 0 &gt;/dev/null 2&gt;&amp;1<br>
&gt;<br>
&gt;     is in /etc/profile so that all users have a core file dump limit size<br>
&gt;     of 0 bytes.<br>
&gt;<br>
&gt;<br>
&gt; Cool, nice tips, will implement them and see if they finally free me<br>
&gt; from these damned coredumps =/ (IMHO there should be an easier way of<br>
&gt; doing that, considering this is a &quot;new&quot; feature shipped with F12)<br>
&gt;<br>
</div></div>Have you tried simply turning off the abrtd service?</blockquote><div><br></div><div>That&#39;s definitely an option, and it already crossed my mind, but the thing is that I&#39;d really like to contribute with bug reports. My problem is not abrt per se, I actually like the idea, but I just can&#39;t understand why it is not easy to turn off coredumps generation since they&#39;re useless -- the smallest one I&#39;ve got was 15M, which AFAIK would never be accepted as a bugzilla attachment (and it can get worse: Firefox keeps generating 350-450M coredumps when it crashes...).</div>
<div><br></div><div>So, ideally I would keep abrt around, and just turn off coredumps generation. But, if worse comes to worst, I will end up disabling it completely -- which I think will be a step back, but...</div><div>
<br></div><div>Regards,</div><div><br></div><div>Andre</div></div></div>