Commit 157a0c0c authored by René Neumann's avatar René Neumann
Browse files

nixos/podman: Ensure the network-online.target to be reached

This is normally not the case without any actual network services. But podman waits for this target to be reached when starting a rootless container (see containers/podman#24796 ).

While the tests work without the fix, this change removes waiting for a timeout.

Fixes #443423.
parent 1bc4de07
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -205,6 +205,7 @@ import ../make-test-python.nix (
          rootless.succeed(su_cmd(f"mkdir -p {dir}"))
          rootless.succeed(su_cmd(f"cp -f ${quadletContainerFile} {dir}/quadlet.container"))
          rootless.systemctl("daemon-reload", "alice")
          rootless.systemctl("start network-online.target")
          rootless.systemctl("start quadlet", "alice")
          rootless.wait_until_succeeds(su_cmd("podman ps | grep quadlet"), timeout=20)
          rootless.systemctl("stop quadlet", "alice")