diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-27 22:41:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-27 22:41:01 +0100 |
commit | f660c6de84558324d784218831d8f0782ee41e2e (patch) | |
tree | c1f2aa79617d0ceaaff49d71603abc386aae2c37 /sys-apps/systemd/files/249.5-coredumpctl.patch | |
parent | 95461df035e3867364495f065e5e805bf629b2d7 (diff) |
gentoo resync : 27.10.2021
Diffstat (limited to 'sys-apps/systemd/files/249.5-coredumpctl.patch')
-rw-r--r-- | sys-apps/systemd/files/249.5-coredumpctl.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/249.5-coredumpctl.patch b/sys-apps/systemd/files/249.5-coredumpctl.patch new file mode 100644 index 000000000000..2892f3477137 --- /dev/null +++ b/sys-apps/systemd/files/249.5-coredumpctl.patch @@ -0,0 +1,31 @@ +From 473627e1c9fcdf8f819ced2bb79cb7e9ff598b0c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> +Date: Tue, 12 Oct 2021 19:46:25 +0200 +Subject: [PATCH] coredumpctl: stop truncating information about coredump +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +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. + +(cherry picked from commit 384c6207669eb0d92aa0043dbc01957c6c7ff41e) +--- + src/coredump/coredumpctl.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/coredump/coredumpctl.c b/src/coredump/coredumpctl.c +index 3d44e51e32..7eba8330d7 100644 +--- a/src/coredump/coredumpctl.c ++++ b/src/coredump/coredumpctl.c +@@ -555,6 +555,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); |