fedora-sysv / initscripts

📜 Scripts to bring up network interfaces and legacy utilities in Fedora.
GNU General Public License v2.0
46 stars 52 forks source link

Execute udevadm settle #331

Closed zhangnaru0605 closed 4 years ago

zhangnaru0605 commented 4 years ago

Execute udevadm settle to wait for all udev events to be handled when starting network

lnykryn commented 4 years ago

In most cases just calling udevadm settle is not a good idea. It delays the boot for a significant time and does not guarantee much. If you have a setup where network card can appear anytime, it is better to use NetworkManager, that is designed for that.

lnykryn commented 4 years ago

Btw, you can always call # systemctl add-wants network-pre.target systemd-udev-settle.service

zhangnaru0605 commented 4 years ago

Thanks for your suggestion!