shell-server icon indicating copy to clipboard operation
shell-server copied to clipboard

Potential race condition when restarting server

Open RyanSquared opened this issue 4 years ago • 2 comments

systemd-logind spits out "could not connect to database" until restarted. System reboot did not help. Chances are users were connecting faster than nss-pgsql was starting up and systemd-logind locked itself in a failed state. Unsure of how to fix.

RyanSquared avatar Jul 21 '21 04:07 RyanSquared

Needs reproduction.

RyanSquared avatar Jul 21 '21 04:07 RyanSquared

Reasonably reproduced: every time I rebooted de1, this happened. Not entirely sure why. Will see if disabling nscd fixes this issue next time this happens and I remember to check this issue.

RyanSquared avatar Feb 26 '24 09:02 RyanSquared