Open laeti-tia opened 1 month ago
The client authentication file (/etc/postgresql/14/main/pg_hba.conf
) is missing the lines required to allow authentication by anyone with the DSN.
This is how it's done in the RPM; this should work fine almost verbatim (change %{name}
to pscheduler-server
) on Debuntu:
I'll leave fixing this to you since you're our resident Debian maven.
I thought it was a new issue, but apparently on 4.4.6 it behaves the same for U18. At this stage I'd suggest we just adapt the documentation at https://docs.perfsonar.net/pscheduler_server_running.html#pausing-and-resuming to say that for RPM based distros it should be run with sudo
and with Deb based ones it should be sudo -u pscheduler
I'm going to leave this open as a bug for 5.1.1. I doubt this feature gets used much, but it should work.
When running
pscheduler pause
on an U22 machine, I get an authorisation error:Running it as
pscheduler
is fine:This is probably coming from a change we did on 5.0.x to change a security setup.