[ I am filing this bug here because I do not use github's proprietary javascript/backend, so I cannot file bugs against upstream systemd anymore. ] I have been trying to disable/mask the file /usr/lib/sysctl.d/50-coredump.conf , shipped by systemd. To do that, I have created a file with the same name under /etc/sysctl.d, and symlinked it to /dev/null (as instructed on sysctl.d(5)). However, I see that /proc/sys/kernel/core_pattern still has the same value (even after a reboot). I am not sure if this fails every file that you try to mask using this scheme, or if it's just for this coredump thing. Apparently this worked before. I am running Fedora 22, x86_64 kernel-3.19.8-100.fc20.x86_64 systemd-219-18.fc22.x86_64
After you create the masked file, you also have to regenerate the initrd, otherwise only the default configuration (from /usr) stays there and the setting gets propagated to the root filesystem.
Thanks for the reply, Jan. However, I still consider there is room for improvement. I could not find this information anywhere (is it described on any manual/manpage?), and I do think it is necessary to explicitly mention this nontrivial step of having to regenerate initrd. I am reopening this bug because of that; I am also changing the title to reflect the new task.
Merged upstream in https://github.com/systemd/systemd/pull/1118.
http://pkgs.fedoraproject.org/cgit/systemd.git/commit/?h=f22&id=6f003b7a94a7352d7b54691d9e0731c6fffa1478
Fixed by https://bodhi.fedoraproject.org/updates/systemd-219-23.fc22