From: Zbigniew Jędrzejewski-Szmek Date: Mon, 1 Mar 2021 19:30:40 +0000 (+0100) Subject: man: clarify what is inside/outside the container in coredump info X-Git-Tag: v248-rc3~91^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40019c32d72f94e22cfc1cc579485c49ad5ee148;p=thirdparty%2Fsystemd.git man: clarify what is inside/outside the container in coredump info --- diff --git a/man/systemd-coredump.xml b/man/systemd-coredump.xml index 7361281e064..8ddb8ef3ca7 100644 --- a/man/systemd-coredump.xml +++ b/man/systemd-coredump.xml @@ -178,7 +178,12 @@ COREDUMP_FILENAME=/var/lib/systemd/coredump/core.Web….552351.….zst COREDUMP_UID= COREDUMP_PID= COREDUMP_GID= - The process number (PID) and owner (UID and GID) of the crashed process. + The process number (PID), owner user number (UID), and group number (GID) of the + crashed process. + + When the crashed process was part of a container (or in a process or user namespace in + general), those are the values as seen outside, in the namespace where + systemd-coredump is running. @@ -199,6 +204,9 @@ COREDUMP_FILENAME=/var/lib/systemd/coredump/core.Web….552351.….zst COREDUMP_UNIT= COREDUMP_SLICE= The system unit and slice names. + + When the crashed process was in container, those are the units names + outside, in the main system manager. @@ -207,7 +215,11 @@ COREDUMP_FILENAME=/var/lib/systemd/coredump/core.Web….552351.….zst Control group information in the format used in /proc/self/cgroup. On systems with the unified cgroup hierarchy, this is a single path prefixed with 0::, and multiple paths prefixed with controller numbers - on legacy systems. + on legacy systems. + + When the crashed process was in a container, this is the full path, as seen outside of the + container. + @@ -215,7 +227,11 @@ COREDUMP_FILENAME=/var/lib/systemd/coredump/core.Web….552351.….zst COREDUMP_USER_UNIT= The numerical UID of the user owning the login session or systemd user unit of the crashed process, and the user manager unit. Both fields are only present for user processes. - + + + When the crashed process was in container, those are the values outside, + in the main system. + @@ -232,6 +248,9 @@ COREDUMP_FILENAME=/var/lib/systemd/coredump/core.Web….552351.….zst COREDUMP_ROOT= The current working directory and root directory of the crashed process. + + When the crashed process is in a container, those paths are relative to the root of the + container's mount namespace. @@ -257,8 +276,17 @@ flags: ... - COREDUMP_COMM= COREDUMP_EXE= + + The destination of the /proc/pid/exe + symlink. + + When the crashed process is in a container, that path is relative to the root of the + container's mount namespace. + + + + COREDUMP_COMM= COREDUMP_PROC_STATUS= COREDUMP_PROC_MAPS= COREDUMP_PROC_LIMITS= @@ -284,7 +312,10 @@ flags: ... COREDUMP_HOSTNAME= - The system hostname. + The system hostname. + + When the crashed process was in container, this is the container hostname. +