shell-server
shell-server copied to clipboard
Potential race condition when restarting server
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.
Needs reproduction.
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.