]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: add distro name and version in postmortem
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Thu, 10 Jul 2025 08:59:57 +0000 (10:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Jul 2025 09:48:19 +0000 (11:48 +0200)
commit0c63883be10e4cd0b898a2a4f60494e4d098559b
treed23d484bb91c21ef1de8c3207ca47d7ede001a84
parent1888991e1284d0255942a3e38631a95a649a8a27
MINOR: debug: add distro name and version in postmortem

Since 2012, systemd compliant distributions contain
/etc/os-release file. This file has some standardized format, see details at
https://www.freedesktop.org/software/systemd/man/latest/os-release.html.

Let's read it in feed_post_mortem_linux() to gather more info about the
distribution.

(cherry picked from commit f1594c41368baf8f60737b229e4359fa7e1289a9)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/haproxy/defaults.h
src/debug.c