]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: startup: also disable strict limits with -d
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Nov 2026 14:22:06 +0000 (15:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 24 Nov 2026 14:24:56 +0000 (15:24 +0100)
commit9a5483311c43fdb1fe4e9ed30ef96fe563e0ac5d
treeb5b1b891be3bab0fd1d9ca67db9c95ae51172514
parent064c7793bd0f56b0a45629cc1462b0a04b3147f2
BUG/MINOR: startup: also disable strict limits with -d

With commit 62c0c84b81 ("MINOR: init: automatically turn
"set-dumpable" on when using "-d""), an interesting issue arrived:
if started as an unprivileged user with ulimit -c forced to zero,
then an error is reported saying it's not possible to raise the
limit, and the process fails to start. This is ridiculous but logical
and can easily be dealt with because this only happens when the
strict-limits are set. Let's have -d also turn the strict limits off.

No backport is needed.
src/haproxy.c