<div class="gmail_quote">On Thu, Dec 10, 2009 at 01:02, 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 Ed,<br>
><br>
> On Wed, Dec 9, 2009 at 01:57, Ed Greshko <<a href="mailto:Ed.Greshko@greshko.com">Ed.Greshko@greshko.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:Ed.Greshko@greshko.com">Ed.Greshko@greshko.com</a>>> wrote:<br>
><br>
>     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>
>     <mailto:<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> <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<br>
>     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<br>
>     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<br>
>     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<br>
>     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<br>
>     way of<br>
>     > doing that, considering this is a "new" feature shipped with F12)<br>
>     ><br>
>     Have you tried simply turning off the abrtd service?<br>
><br>
><br>
> That's definitely an option, and it already crossed my mind, but the<br>
> thing is that I'd really like to contribute with bug reports. My<br>
> problem is not abrt per se, I actually like the idea, but I just can't<br>
> understand why it is not easy to turn off coredumps generation since<br>
> they're useless -- the smallest one I've got was 15M, which AFAIK<br>
> would never be accepted as a bugzilla attachment (and it can get<br>
> worse: Firefox keeps generating 350-450M coredumps when it crashes...).<br>
><br>
> So, ideally I would keep abrt around, and just turn off coredumps<br>
> generation. But, if worse comes to worst, I will end up disabling it<br>
> completely -- which I think will be a step back, but...<br>
</div></div>Ahhh....that doesn't make much sense., IHMO.<br>
<br>
The abrtd service is designed to collect all the relevant information on<br>
a crash and send it back for analysis.  Part of that relevant<br>
information would be the coredump.  So, you want to remove a portion of<br>
the relevant information?  Don't you think that would devalue the service?<br></blockquote><div><br></div><div>Point taken. But, unless the backtraces are useless without the coredumps, I would still like to contribute with backtraces. If backtraces don't help by themselves, then you're right, I'd be better off disabling abrtd completely...</div>
<div><br></div><div>Andre</div></div>