Skip to content

How to disable systemd-coredump without rebooting the system? #723

Closed
pmenzel opened this issue Apr 23, 2018 · 1 comment
Closed

How to disable systemd-coredump without rebooting the system? #723

pmenzel opened this issue Apr 23, 2018 · 1 comment

Comments

@pmenzel
Copy link
Collaborator

pmenzel commented Apr 23, 2018

Following the instructions in issue #659 and reading man systemd-coredump(8), that means, masking the file with sudo ln -sf /dev/null /etc/sysctl.d/50-coredump.conf, even after systemctl restart systemd-sysctl, it has no effect on the running system, and requires a reboot. The reason is, that the key kernel.core_pattern is now not mentioned, and therefore left on the setting from the current boot.

The command below has to be manually run to avoid a system restart.

sudo sysctl -w 'kernel.core_pattern=|/bin/false'

Is there another way to disable systemd-coredump on the running system?

@pmenzel pmenzel closed this as completed Apr 23, 2018
@pmenzel
Copy link
Collaborator Author

pmenzel commented Apr 23, 2018

Wrong project. ;-)

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant