]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Extend default device timeout to 20 seconds
authorRichard Maw <richard.maw@codethink.co.uk>
Sat, 3 Feb 2024 14:56:42 +0000 (14:56 +0000)
committerRichard Maw <richard.maw@codethink.co.uk>
Thu, 18 Apr 2024 15:26:38 +0000 (16:26 +0100)
A moderately heavily loaded system booting an image without a rootfs
may timeout before the root device appears.
20 seconds is enough for a VM with 2 CPUs and 2GB RAM.

mkosi.conf

index ee7fa6e2a48d1b65319bc8e8b7415b2ee5a6d30d..1cc7a51d961364816c9e1279871efbe6e02cdb73 100644 (file)
@@ -33,7 +33,7 @@ KernelCommandLineExtra=systemd.crash_shell
                        rw
                        # Lower the default device timeout so we get a shell earlier if the root device does
                        # not appear for some reason.
-                       systemd.default_device_timeout_sec=10
+                       systemd.default_device_timeout_sec=20
                        # Make sure no LSMs are enabled by default.
                        apparmor=0
                        selinux=0