Re: www/odoo: rc.d pexp stops matching once the daemon re-execs on SIGHUP

Robert Nagy <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
Hi

I can't seem to reproduce the issue you are facing, can you show me
what processes are running?

_odoo     3453  1.6  0.1  83816 100288 p1  S      12:02PM    0:00.65 /usr/local/bin/python3.14 /usr/local/bin/odoo -c /etc/odoo/odoo.conf
_odoo    66483  2.4  0.1  87548 105536 p1  S      12:02PM    0:00.91 /usr/local/bin/python3.14 /usr/local/bin/odoo gevent -c /etc/odoo/odoo.conf
_odoo    65199  0.0  0.0  84356  26196 p1  S      12:02PM    0:00.02 python3.14: odoo: WorkerHTTP 65199  (python3.14)
_odoo    97758  0.0  0.0  85556  25780 p1  S      12:02PM    0:00.02 python3.14: odoo: WorkerHTTP 97758  (python3.14)
_odoo    53479  0.0  0.0  85556  25840 p1  S      12:02PM    0:00.02 python3.14: odoo: WorkerHTTP 53479  (python3.14)
_odoo    63993  0.0  0.0  85032  25688 p1  S      12:02PM    0:00.02 python3.14: odoo: WorkerHTTP 63993  (python3.14)
_odoo    10819  0.0  0.0  84864  26624 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 10819  (python3.14)
_odoo    44652  0.0  0.0  85556  25740 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 44652  (python3.14)
_odoo     1874  0.0  0.0  84356  26060 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 1874  (python3.14)
_odoo    37270  0.0  0.0  85556  25696 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 37270  (python3.14)
_odoo    49222  0.0  0.0  85556  25744 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 49222  (python3.14)
_odoo     6535  0.0  0.0  85556  25668 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 6535  (python3.14)
_odoo    53593  0.0  0.0  85032  25720 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 53593  (python3.14)
_odoo    69787  0.0  0.0  85032  25928 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 69787  (python3.14)
_odoo     4136  0.0  0.0  84880  25576 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 4136  (python3.14)
_odoo    78369  0.0  0.0  85556  25616 p1  S      12:02PM    0:00.03 python3.14: odoo: WorkerHTTP 78369  (python3.14)
_odoo    26055  0.0  0.0  85556  25504 p1  S      12:02PM    0:00.02 python3.14: odoo: WorkerHTTP 26055  (python3.14)
_odoo    63219  0.0  0.0  85424  22652 p1  SN     12:02PM    0:00.02 python3.14: odoo: WorkerCron 63219  (python3.14)
_odoo    67853  0.0  0.0  84360  22756 p1  SN     12:02PM    0:00.01 python3.14: odoo: WorkerCron 67853  (python3.14)

On 27/07/26 09:57 +0200, Jean-Gérard wrote:
> 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

-- 
Regards,
Robert Nagy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.