Michel Thebeau 584b23bd15 stx-extensions: use the host's PID for coredump
systemd-coredump running as root on the host wants to get process
information using the process' PID, but %p refers to "the PID namespace
in which the process resides" (the container).  systemd-coredump
coredumps.  Dmesg shows "Failed to get EXE" and the segfault (sic
'systemd-coredum').

This segfault of systemd-coredump is intermittent, and so on occasion a
core file may actually be dumped for the containerized process. This
happens when the %p does not match a process from the host's
perspective.  Dmesg shows "Failed to get COMM..." and "Failed to get
EXE".  This becomes more likely as the PIDs in container's namespace
become larger - the host's PIDs are more sparse as the numbers increase.

Use %P instead, "as seen in the initial PID namespace" (host).

Convert the package to use PKG_GITREVCOUNT for release increment.

Closes-Bug: 1892951
Change-Id: Ifa5017d5997d12891893fc97fac4487ddfbbbbb8
Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
2020-08-28 17:20:04 -04:00
2020-04-14 11:01:52 +03:00
2020-02-21 14:57:37 -06:00
2019-10-24 13:23:53 -04:00
2019-09-09 13:43:49 -05:00
2019-09-09 13:43:49 -05:00
2019-09-09 13:43:49 -05:00
Description
StarlingX miscellaneous tools and utilities
11 MiB
Languages
Shell 53.7%
Python 39.2%
C 3.3%
Makefile 1.2%
HTML 1.1%
Other 1.3%