Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
podman machine start: fix ready service
When debugging #17403, the logs of sshd indicates that Podman tried to ssh into the machine too soon as the `core` user has not yet been fully set up: > error: kex_exchange_identification: Connection closed by remote host > fatal: Access denied for user core by PAM account configuration [preauth] @dustymabe found that the we may have to wait for systemd-user sessions to be up. Doing that reduces the flake rate on my M2 machine but does not entirely fix the issue. Since I have seen multiple symptoms of flakiness, I think it does not hurt to add the systemd-user sessions to the dependencies of the ready service and continue investigating. [NO NEW TESTS NEEDED] - once we have a fix out, I want to exercise frequent stop/start in the machine tests but they won't pass now. Signed-off-by: Valentin Rothberg <[email protected]>
- Loading branch information