From 06de39b3bdb20496e6ca96600c145151de58ca84 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Aug 2025 08:59:49 +0200 Subject: [PATCH] import-generator: disable timeout for downloaded images Downloading images can take arbitrary amounts of time, hence disable the timeout for it. Inspired by https://github.com/systemd/particleos/issues/80 --- src/import/import-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/import/import-generator.c b/src/import/import-generator.c index bf0eaa5c0ea..bf5f41a7472 100644 --- a/src/import/import-generator.c +++ b/src/import/import-generator.c @@ -388,7 +388,7 @@ static int transfer_generate(const Transfer *t) { if (!escaped) return log_oom(); - fprintf(f, "ExecStart=:varlinkctl call -q --more /run/systemd/io.systemd.Import io.systemd.Import.Pull '%s'\n", + fprintf(f, "ExecStart=:varlinkctl call -q --more --timeout=infinity /run/systemd/io.systemd.Import io.systemd.Import.Pull '%s'\n", escaped); r = fflush_and_check(f);