On Tue, 28 Jan 2025, Ben Harris wrote

Since patroni 2.1.2-1, "patronictl reinit" no longer works on my clusters.

I narrowed down the change that started the problem, and it was f5ba0478ef932bbff26cd671771120566753490c (patroni@.service: Remove redundant (and broken) WorkingDirectory.).

https://salsa.debian.org/postgresql/patroni/-/commit/f5ba0478ef932bbff26cd671771120566753490c

If I add "WorkingDirectory=~" to patroni@.service, even on a current Patroni package, reinit starts working again. This gives me a convenient workaround, but I'll try to work out the cause as well.

--
Ben Harris, University of Cambridge Information Services.

Reply via email to