From: Lennart Poettering Date: Tue, 26 Aug 2025 06:59:49 +0000 (+0200) Subject: import-generator: disable timeout for downloaded images X-Git-Tag: v258-rc4~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06de39b3bdb20496e6ca96600c145151de58ca84;p=thirdparty%2Fsystemd.git 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 --- 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);