为什么systemd network.service抱怨“无法加载文件”/ etc / sysconfig / network-scripts / ifcfg-lo'“
我使用Kickstart安装了几个全新的CentOS 7系统。 当我重新启动networking时,我注意到奇怪的错误,说“ Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo' “。 这个错误没有任何意义,因为ifcfg-lo文件存在,而且对我来说看起来很正常。 系统似乎正常工作,为什么networking服务抱怨? [root@host3 ~]# cat /etc/sysconfig/network-scripts/ifcfg-lo DEVICE=lo IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 # If you're having problems with gated making 127.0.0.0/8 a martian, # you can change this to something else (255.255.255.255, for example) BROADCAST=127.255.255.255 ONBOOT=yes NAME=loopback [root@host3 ~]# [root@host3 ~]# systemctl restart network [root@host3 ~]# journalctl -xe […]