mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
Modern OpenSSH refuses to start without its privilege-separation directory, and /run is a fresh tmpfs in most container images, so /run/sshd genuinely is not there. sshd exited with "Missing privilege separation directory: /run/sshd" and instances launched via `aws ec2 run-instances` came up with no SSH, requiring the directory to be created by hand inside the container. Add a regression test that drives the launch path with an SSH public key, records the container execs in order, and asserts /run/sshd is created before /usr/sbin/sshd is invoked. Signed-off-by: ProGamingDk <smashyalts@gmail.com> Co-authored-by: Priamo <pgermosen@gmail.com>