From 176dde09fcfeff9bff97fbf65d47a641dbd2fa3a Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 6 May 2021 03:05:02 +0200 Subject: [PATCH] docs/COREDUMP_PACKAGE_METADATA.md: Add debuginfod key Signed-off-by: Mark Wielaard --- docs/COREDUMP_PACKAGE_METADATA.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/COREDUMP_PACKAGE_METADATA.md b/docs/COREDUMP_PACKAGE_METADATA.md index ab7c4596de..b7be9ca797 100644 --- a/docs/COREDUMP_PACKAGE_METADATA.md +++ b/docs/COREDUMP_PACKAGE_METADATA.md @@ -26,6 +26,10 @@ Thus it becomes desirable to add additional metadata to a binary at build time, `systemd-coredump` and other services analyzing core files are able to extract said metadata simply from the core file itself, without external dependencies. +And in case external dependencies and network are available the core file +should also include the debuginfod server URL that can provide the original +executable, debuginfo and sources to facilitate debugging. + ## Implementation This document will attempt to define a common metadata format specification, so that @@ -58,6 +62,7 @@ Value: a JSON string with the structure described below "name":"coreutils", "version": "4711.0815.fc13.arm32", "osCpe": # A CPE name for the operating system, `CPE_NAME` from os-release is a good default + "debuginfod": "https://debuginfod.fedoraproject.org" } ``` -- 2.18.4