我尝试配置 NIS 客户端。但是,我的 ubuntu 在设置“/etc/nsswitch.conf”后需要一段时间才能关闭/重启。
nis 版本
3.17-34ubuntu3
/etc/nsswitch.conf
passwd: nis compat
group: nis compat
shadow: nis compat
gshadow: files
hosts: files dns nis
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
journalctl 日志挂掉的部分
Jan 15 16:06:18 ubuntu systemd[1]: Stopped target Network is Online.
Jan 15 16:06:18 ubuntu systemd[1]: Stopped target Network.
Jan 15 16:06:18 ubuntu systemd[1]: Stopping Raise network interfaces...
Jan 15 16:07:48 ubuntu systemd[1]: networking.service: Stopping timed out.Terminating.
Jan 15 16:07:48 ubuntu systemd[1]: Stopped Raise network interfaces.
Jan 15 16:07:48 ubuntu systemd[1]: networking.service: Unit entered failed state.
Jan 15 16:07:48 ubuntu systemd[1]: networking.service: Failed with result 'timeout'.
Jan 15 16:07:48 ubuntu systemd[1]: Stopped target Local File Systems.
有什么建议吗?谢谢。