From 157a0c0c54e5f31294525458826eb9a7fe01442a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Neumann?= Date: Wed, 17 Sep 2025 20:42:58 +0200 Subject: [PATCH] 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. --- nixos/tests/podman/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/podman/default.nix b/nixos/tests/podman/default.nix index 164f769b1fb0..35bb0f3980e8 100644 --- a/nixos/tests/podman/default.nix +++ b/nixos/tests/podman/default.nix @@ -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")