units: allow disabling systemd-coredumpd.service

The new unit is nice, but it might not be appropriate in all scenarios. It
requires a new kernel, which might be known to not be available, and also
changes sysctl kernel.core_pattern at runtime, which might not be desired.
Replace static enablement by a normal [Install] section and add the unit
to presets to enable it by default.

The awkward instructions in the man page are simplified and adjusted.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-09-08 14:31:45 +09:00
committed by Yu Watanabe
parent 89bf9a9fb4
commit 9c665ee7aa
5 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ CHANGES WITH 262 in spe:
kernel.core_pattern. Older kernels continue to use the per-coredump
systemd-coredump@.service path. Changes to coredump.conf require
reloading systemd-coredumpd.service, and deployments that set a
custom kernel.core_pattern should mask or stop that service.
custom kernel.core_pattern should stop and disable that service.
* The coredumpctl dump and debug commands now honor --json= and include
the selected coredump's metadata in the requested JSON format.