Index | Thread | Search

From:
Jean-Gérard <jg@hors-norme.fr>
Subject:
www/odoo: rc.d pexp stops matching once the daemon re-execs on SIGHUP
To:
Robert Nagy <robert@openbsd.org>
Cc:
ports@openbsd.org
Date:
Mon, 27 Jul 2026 09:57:59 +0200

Download raw body.

Thread
Hi Robert,

odoo-19.0.20251208, OpenBSD 7.9/amd64 (GENERIC #4, Jul 14 2026).

`rcctl check odoo` reports odoo(failed) while the server is running fine and
answering on 8069. The pexp shipped in pkg/odoo.rc requires the absolute path of
the interpreter, and odoo drops it when it re-execs itself.
[...]
Index: pkg/odoo.rc
-pexp="${MODPY_BIN} ${daemon}${daemon_flags:+ ${daemon_flags}}"
+pexp="(${TRUEPREFIX}/bin/)?python${MODPY_VERSION} ${daemon}${daemon_flags:+ ${daemon_flags}}"

Regards,
Jean-Gérard Pailloncy