How do I really prevent /usr/lib/sysctl.d/50-coredump.conf

Alchemist raimiiic at gmail.com
Fri May 29 12:52:17 UTC 2015


2015-05-29 15:45 GMT+03:00 Tom Horsley <horsley1953 at gmail.com>:

> In some message a while back the claim was made that
> creating a /etc/sysctl.d/50-coredump.conf that was
> empty would override the systemd installed
> /usr/lib/sysctl.d/50-coredump.conf, but I can
> state positively that doesn't work, the systemd
> setting is still in force.
>
> What does work is (as root):
>
> rm -f /usr/lib/sysctl.d/50-coredump.conf
>
> but that file will come back if there is a systemd
> update.
>
> So is there really a way to get the default
> kernel core file pattern to stick around even
> with systemd updates?
> --
>

Put kernel.core_pattern = "" in /etc/sysctl.conf and set DumpCore=no in
/etc/systemd/system.conf




> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150529/b222d5bc/attachment.html>


More information about the users mailing list