1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-12 08:58:20 +03:00
Zbigniew Jędrzejewski-Szmek c8e053fbe4 man: fix ProcessSizeMax= description, describe how to disable coredumps
What the man page said was different than what the code did.
save_external_coredump() will store the core temporarily for backtrace
generation, and will delete if afterwards if it is too large. So to disable
processing, it's necessary to both set
Storage=none/Storage=journal+JournalSizeMax=0/Storage=external+ExternalSizeMax=0
and ProcessSizeMax=0. This updates the man page to reflect the code.

The man pages are extended to describe that Storage=none + ProcessSizeMax=0 is
the simplest way to disable coredump processing. All the storage and processing
options make this quite complicated, so let's add a copy-and-pasteable example
of how to disable coredump. Doing it through coredump.conf has the advantage
that we still log, and the effect is immediate, unlike masking the sysconf
file.

Fixes #8788.
2018-05-17 17:15:03 +02:00
..
2018-04-06 18:58:55 +02:00
2018-04-06 18:58:55 +02:00
2018-04-06 18:58:55 +02:00
2018-04-06 18:58:55 +02:00
2018-04-06 18:58:55 +02:00
2018-05-08 12:41:59 +09:00
2018-04-17 19:51:43 +02:00
2018-04-06 18:58:55 +02:00
2018-04-24 10:05:04 +02:00
2018-04-06 18:58:55 +02:00