Solution for long Linux boots because of systemd services

AmigaOne X5000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Solution for long Linux boots because of systemd services

Post by xeno74 »

Hi All,

Sometimes a systemd service has a big value for the variable "TimeoutStartSec" for example systemd's networking service. If systemd has a problem to raise up the network interfaces then the boot of a Linux system needs more time because systemd try to configure the network interfaces again till the TimeoutStartSec has reached the value. I set the variable "TimeoutStartSec" to 2 seconds and after a reboot the delay of initialisation of the network devices are gone.

Code: Select all

nano /etc/systemd/system/network-online.target.wants/networking.service

Code: Select all

TimeoutStartSec=2
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
kilaueabart
Posts: 1071
Joined: Mon Mar 05, 2012 2:36 am

Re: Solution for long Linux boots because of systemd service

Post by kilaueabart »

I was very happy with the fast boot after I made this fix.

The down side was: No more internet!
Screenshot at 2020-01-16 08-21-12.png
Being able to use the internet from Fienix is worth the 62 second extra boot time, so I set TimeOutStartSec back to 5min.
Post Reply