MINOR: startup: adjust alert messages, when capabilities are missed
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Fri, 7 Mar 2025 12:42:27 +0000 (13:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Mar 2025 15:01:04 +0000 (16:01 +0100)
commit77b340e17d3da9fc78ed113ebe98b2101c10994c
treef5c50f5355221e06d61e5302d525e05f2794d78a
parent42086a672888f569e009149130fad7b19b3fd13d
MINOR: startup: adjust alert messages, when capabilities are missed

CAP_SYS_ADMIN support was added, in order to access sockets in namespaces. So
let's adjust the alert at startup, where we check preserved capabilities from
global.last_checks. Let's mention here cap_sys_admin as well.

(cherry picked from commit 7d427134fe01e8af56dfa48c6d9e6ecc5defe562)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/haproxy.c