1
0
mirror of https://github.com/systemd/systemd synced 2025-10-06 00:13:24 +02:00

units: systems might take a while to boot

vmspawn systems might take quite a while to boot in particular if they
go through uefi and wait for a network lease. Hence let's increase the
start timeout to 2min (from 45s). We'll do that for both nspawn and
vmspawn, even though the UEFI thing certainly doesn't apply there (but
the DHCP thing still does).
This commit is contained in:
Lennart Poettering
2025-06-13 18:21:11 +02:00
parent 48cb009afc
commit 3405b84d8c
4 changed files with 4 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ Delegate=yes
DelegateSubgroup=supervisor
CoredumpReceive=yes
TasksMax=16384
TimeoutSec=2min
{{SERVICE_WATCHDOG}}
{# Enforce a strict device policy, similar to the one nspawn configures (in

View File

@@ -21,6 +21,7 @@ ExecStart=systemd-vmspawn --quiet --register=yes --keep-unit --network-tap --mac
KillMode=mixed
Type=notify
Slice=machine.slice
TimeoutSec=2min
{{SERVICE_WATCHDOG}}
{# Enforce a strict device policy. Make sure to keep these policies in sync if you change them! #}

View File

@@ -25,6 +25,7 @@ Delegate=yes
DelegateSubgroup=supervisor
CoredumpReceive=yes
TasksMax=16384
TimeoutSec=2min
{{SERVICE_WATCHDOG}}
[Install]

View File

@@ -18,6 +18,7 @@ ExecStart=systemd-vmspawn --quiet --keep-unit --register=yes --network-tap --mac
KillMode=mixed
Type=notify
Slice=machine.slice
TimeoutSec=2min
{{SERVICE_WATCHDOG}}
[Install]