![云映像 - 内核 5.3 升级至 18.04 后启动延迟](https://linux22.com/image/1168372/%E4%BA%91%E6%98%A0%E5%83%8F%20-%20%E5%86%85%E6%A0%B8%205.3%20%E5%8D%87%E7%BA%A7%E8%87%B3%2018.04%20%E5%90%8E%E5%90%AF%E5%8A%A8%E5%BB%B6%E8%BF%9F.png)
因此,我进行了测试,预计会失败,但我还是将镜像的内核从 5.3 更新到了 5.4。https://kernel.ubuntu.com/~kernel-ppa/mainline/。它启动了并且一切运行良好,但经过几次重启后我注意到重启时间很长。
graphical.target @19min 44.970s
└─multi-user.target @19min 44.959s
└─cloudflared.service @19min 40.657s +4.298s
└─basic.target @19min 40.617s
└─sockets.target @19min 40.614s
└─snapd.socket @19min 40.589s +17ms
└─sysinit.target @19min 40.548s
└─cloud-init.service @19min 39.553s +982ms
└─systemd-networkd-wait-online.service @19min 38.465s +1.084s
└─systemd-networkd.service @19min 38.398s +53ms
└─network-pre.target @19min 38.394s
└─cloud-init-local.service @1.769s +19min 36.621s
└─systemd-remount-fs.service @678ms +95ms
└─systemd-journald.socket @675ms
└─system.slice @625ms
└─-.slice @611ms
是云初始化还是由于某些网络延迟systemd-networkd-wait-online.service
,或者是其他什么原因?