Re: How do I disable coredumps on F12?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rick, thks for the reply. Comments below:

On Tue, Dec 8, 2009 at 23:12, Rick Stevens <ricks@xxxxxxxx> 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)

Regards,

Andre
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux