Closed ben-z closed 2 years ago
Oh my bad. I have a script running that periodically updates the container passwd file with a modified version from the host. It's using shell redirection >
to write to the passwd file. Apparently this is not atomic so there was probably a race condition.
I have a health check running on my bastion host configured with this Docker container, and it every once in a while I get
Privilege separation user sshd does not exist
in the logs. There are no other errors surrounding this log. What might have caused this?