From: Lennart Poettering Date: Thu, 10 Aug 2023 10:09:15 +0000 (+0200) Subject: coredump: explicitly document that in order to process a coredump we have to write... X-Git-Tag: v255-rc1~756^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85ec1b6efadf3466bd1d265950f3d967a43cb1d0;p=thirdparty%2Fsystemd.git coredump: explicitly document that in order to process a coredump we have to write it to disk first Prompted by: #28740 --- diff --git a/man/coredump.conf.xml b/man/coredump.conf.xml index f36a6e1eae2..ac8d9846709 100644 --- a/man/coredump.conf.xml +++ b/man/coredump.conf.xml @@ -57,18 +57,22 @@ Storage= Controls where to store cores. One of none, - external, and journal. When - none, the core dumps may be logged (including the backtrace if - possible), but not stored permanently. When external (the - default), cores will be stored in /var/lib/systemd/coredump/. - When journal, cores will be stored in the journal and rotated - following normal journal rotation patterns. - - When cores are stored in the journal, they might be - compressed following journal compression settings, see + external, and journal. When none, the core + dumps may be logged (including the backtrace if possible), but not stored permanently. When + external (the default), cores will be stored in + /var/lib/systemd/coredump/. When journal, cores will be + stored in the journal and rotated following normal journal rotation patterns. + + When cores are stored in the journal, they might be compressed following journal compression + settings, see journald.conf5. - When cores are stored externally, they will be compressed - by default, see below. + When cores are stored externally, they will be compressed by default, see below. + + Note that in order to process a coredump (i.e. extract a stack trace) the core must be written + to disk first. Thus, unless ProcessSizeMax= is set to 0 (see below), the core will + be written to /var/lib/systemd/coredump/ either way (under a temporary filename, + or even in an unlinked file), Storage= thus only controls whether to leave it + there even after it was processed. @@ -84,7 +88,7 @@ ProcessSizeMax= The maximum size in bytes of a core which will be processed. Core dumps exceeding - this size may be stored, but the backtrace will not be generated. Like other sizes in this same + this size may be stored, but the stack trace will not be generated. Like other sizes in this same config file, the usual suffixes to the base of 1024 are allowed (B, K, M, G, T, P, and E). Defaults to 1G on 32-bit systems, 32G on 64-bit systems.