How do I disable coredumps on F12?
Ed Greshko
Ed.Greshko at greshko.com
Wed Dec 9 03:57:03 UTC 2009
Andre Costa wrote:
> Hi Rick, thks for the reply. Comments below:
>
> On Tue, Dec 8, 2009 at 23:12, Rick Stevens <ricks at nerd.com
> <mailto:ricks at nerd.com>> wrote:
>
> 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.
>
>
> I did that, to no avail :-(
>
>
> 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.
>
>
> 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)
>
Have you tried simply turning off the abrtd service?
--
The only skills I have the patience to learn are those that have no real
application in life. -- Calvin Guess Who! http://tinyurl.com/mc4xe7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20091209/6926de82/attachment-0001.sig>
More information about the fedora-list
mailing list