Hi Ed,<div><br></div><div><div class="gmail_quote">On Wed, Dec 9, 2009 at 01:57, Ed Greshko <span dir="ltr"><<a href="mailto:Ed.Greshko@greshko.com">Ed.Greshko@greshko.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">Andre Costa wrote:<br>
> Hi Rick, thks for the reply. Comments below:<br>
><br>
> On Tue, Dec 8, 2009 at 23:12, Rick Stevens <<a href="mailto:ricks@nerd.com">ricks@nerd.com</a><br>
</div><div><div></div><div class="h5">> <mailto:<a href="mailto:ricks@nerd.com">ricks@nerd.com</a>>> wrote:<br>
><br>
> On 12/08/2009 03:44 PM, Andre Costa wrote:<br>
><br>
> Hi,<br>
><br>
> apps crashes are generating coredumps on /var/cache/abrt/* ;<br>
> since I<br>
> won't debug them myself and won't send them anywhere because<br>
> 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<br>
> were still<br>
> being generated.<br>
><br>
><br>
> I believe you need to reboot for that to take effect.<br>
><br>
><br>
> I did that, to no avail :-(<br>
><br>
><br>
> Then I tried to set<br>
><br>
> MaxCrashReportsSize = 0<br>
><br>
> directly on /etc/abrt/abrt.conf, restarted abrtd but it didn't<br>
> work<br>
> either (oddly enough abrt-gui doesn't allow changing this<br>
> 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<br>
> to get rid<br>
> of the coredumps, but I'd rather not create them in the first<br>
> place.<br>
><br>
> Anyone could give a hand?<br>
><br>
><br>
> 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>
><br>
><br>
> Cool, nice tips, will implement them and see if they finally free me<br>
> from these damned coredumps =/ (IMHO there should be an easier way of<br>
> doing that, considering this is a "new" feature shipped with F12)<br>
><br>
</div></div>Have you tried simply turning off the abrtd service?</blockquote><div><br></div><div>That's definitely an option, and it already crossed my mind, but the thing is that I'd really like to contribute with bug reports. My problem is not abrt per se, I actually like the idea, but I just can't understand why it is not easy to turn off coredumps generation since they're useless -- the smallest one I'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>