From: Zbigniew Jędrzejewski-Szmek Date: Tue, 12 Oct 2021 17:46:25 +0000 (+0200) Subject: coredumpctl: stop truncating information about coredump X-Git-Tag: v250-rc1~515^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20992%2Fhead;p=thirdparty%2Fsystemd.git coredumpctl: stop truncating information about coredump With the changes to limit that print 'Found module …' over and over, we were hitting the journal field message limit, effectively truncating the info output. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1998488. --- diff --git a/src/coredump/coredumpctl.c b/src/coredump/coredumpctl.c index 2eaa56a4fd9..3f6537faeec 100644 --- a/src/coredump/coredumpctl.c +++ b/src/coredump/coredumpctl.c @@ -563,6 +563,8 @@ static int print_info(FILE *file, sd_journal *j, bool need_space) { assert(file); assert(j); + (void) sd_journal_set_data_threshold(j, 0); + SD_JOURNAL_FOREACH_DATA(j, d, l) { RETRIEVE(d, l, "MESSAGE_ID", mid); RETRIEVE(d, l, "COREDUMP_PID", pid);