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
View File
@@ -349,7 +349,6 @@ units = [
{
'file' : 'systemd-coredumpd.service.in',
'conditions' : ['ENABLE_COREDUMP'],
'symlinks' : ['sysinit.target.wants/'],
},
{
'file' : 'systemd-creds.socket',
+3
View File
@@ -57,3 +57,6 @@ SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service @mount
TimeoutStopSec=6min
{{SERVICE_WATCHDOG}}
[Install]
WantedBy=sysinit.target