Re: [systemd-devel] How can I set timeout limits on root device searching when booting?

2023-11-28 Thread Tomasz Pala
On Thu, Nov 16, 2023 at 17:51:35 +0800, cunshunxia wrote: > With 'e' pressed at boot menu, I set the `root=UUID=[wrong UUID]` in boot > cmdline. Then I expect that I will run into emergency mode.However, boot log > stuck at `Job dev-disk-by\x2duuid--device/start running(5min 10s/ no > limit

[systemd-devel] How can I set timeout limits on root device searching when booting?

2023-11-16 Thread cunshunxia
With 'e' pressed at boot menu, I set the `root=UUID=[wrong UUID]` in boot cmdline. Then I expect that I will run into emergency mode.However, boot log stuck at `Job dev-disk-by\x2duuid--device/start running(5min 10s/ no limit)`. I triedĀ DefaultDeviceTimeoutSec=90s, but it doesn't work. In