Re: fedora 25 coredump not being generated

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

 



On Mon, 12 Jun 2017 15:02:50 -0700
Samuel Sieb wrote:

> Did you check out "man core"?  Did you look in journalctl to see if abrt 
> was putting them somewhere?  Did you search about 
> "/proc/sys/kernel/core_pattern"?

I don't know if or when they fixed it, but at some point
systemd also squashed core files in /etc/systemd/system.conf
by changing DefaultLimitCORE. They made it impossible
for a user to run "ulimit -c unlimited". I had to set:

DefaultLimitCORE=0:infinity

to make it possible to change my ulimit in a user session.

My complete set of changes I now make to my system to restore
traditional core file behavior is:

systemctl list-unit-files | fgrep abrt

Then do a

systemctl mask whatever.service

for all the "whatever"s that fgrep found

edit /etc/sysctl.conf add as last line
kernel.core_pattern = core

edit /etc/systemd/system.conf and set
DefaultLimitCORE=0:infinity

reboot system and you should now get "normal" core files.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux