From: William Lallemand Date: Thu, 13 Nov 2025 10:44:26 +0000 (+0100) Subject: BUG/MINOR: acme: more explicit error when BIO_new_file() X-Git-Tag: v3.3-dev13~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=071e5063d8070672a7afe7c6bb630da9eb7fbe39;p=thirdparty%2Fhaproxy.git BUG/MINOR: acme: more explicit error when BIO_new_file() Replace the error message of BIO_new_file() when the account-key cannot be created on disk by "acme: cannot create the file '%s'". It was previously "acme: out of memory." Which is unclear. Must be backported to 3.2. --- diff --git a/src/acme.c b/src/acme.c index 7f7a4c649..791178ba7 100644 --- a/src/acme.c +++ b/src/acme.c @@ -712,7 +712,7 @@ static int cfg_postsection_acme() } if ((bio = BIO_new_file(store->path, "w+")) == NULL) { - ha_alert("acme: out of memory.\n"); + ha_alert("acme: cannot create the file '%s', check your permissions.\n", cur_acme->account.file); err_code |= ERR_ALERT | ERR_FATAL | ERR_ABORT; goto out; }