在 Ubuntu 18.04 中,网络管理器的状态始终为激活状态,但 90 秒后,控制台中会出现以下日志
[OK] failed to start Network-manager
[OK] Starting Network-manager
但服务状态将保持如下
NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service; disabled; vendor preset: enabled)
Active: activating (start) since Fri 2023-04-14 14:33:48 +03; 1min 4s ago
Docs: man:NetworkManager(8)
Main PID: 2941 (NetworkManager)
Tasks: 4 (limit: 3968)
CGroup: /system.slice/NetworkManager.service
��├��─2941 /usr/sbin/NetworkManager --no-daemon
��└��─2954 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /run/dhclient-eth0.pid -lf /var/lib/NetworkManager/dhclient-4ef1887a-35da-3ebe-97fb-8974d9a01796-eth0.lease -cf
谢谢