![RHEL 上的网络/DNS SELinux 问题](https://linux22.com/image/99091/RHEL%20%E4%B8%8A%E7%9A%84%E7%BD%91%E7%BB%9C%2FDNS%20SELinux%20%E9%97%AE%E9%A2%98.png)
[root@notebook log]# grep -i network yum.log
Nov 18 14:59:58 Updated: 1:NetworkManager-libnm-1.4.0-12.el7.x86_64
Nov 18 14:59:59 Updated: 1:NetworkManager-glib-1.4.0-12.el7.x86_64
Nov 18 15:00:04 Updated: 1:NetworkManager-1.4.0-12.el7.x86_64
Nov 18 15:00:11 Updated: NetworkManager-libreswan-1.2.4-1.el7.x86_64
Nov 18 15:00:12 Updated: NetworkManager-libreswan-gnome-1.2.4-1.el7.x86_64
Nov 18 15:00:18 Updated: network-manager-applet-1.4.0-2.el7.x86_64
Nov 18 15:00:18 Updated: 1:NetworkManager-wwan-1.4.0-12.el7.x86_64
Nov 18 15:00:18 Updated: 1:NetworkManager-tui-1.4.0-12.el7.x86_64
Nov 18 15:00:18 Updated: 1:NetworkManager-team-1.4.0-12.el7.x86_64
Nov 18 15:00:18 Updated: 1:NetworkManager-wifi-1.4.0-12.el7.x86_64
[root@notebook log]#
RHEL7 Networkmanager 更新后,很多人都受到影响。
网络管理器更新后,他们无法连接到任何网络、VPN 等。
问:解决办法是什么?
答案1
临时解决方案:
selinux 的配置应该如下所示才能正常工作:
[root@notebook ~]# egrep -vi '^#|^$' /etc/selinux/config
SELINUX=permissive
SELINUXTYPE=targeted
[root@notebook ~]#
需要重启!
当网络管理器修复后,不要忘记将 selinux 设置回强制...
更新:修复了 selinux 软件包已经出来,现在可以使用了,强制恢复 selinux!
[root@notebook log]# cat yum.log
Nov 22 07:51:26 Updated: libsepol-2.5-6.el7.x86_64
Nov 22 07:51:26 Updated: libselinux-2.5-6.el7.x86_64
Nov 22 07:51:26 Updated: libsemanage-2.5-4.el7.x86_64
Nov 22 07:51:26 Updated: libsemanage-python-2.5-4.el7.x86_64
Nov 22 07:51:27 Updated: libselinux-python-2.5-6.el7.x86_64
Nov 22 07:51:27 Updated: libselinux-utils-2.5-6.el7.x86_64
Nov 22 07:51:27 Updated: policycoreutils-2.5-8.el7.x86_64
Nov 22 07:51:27 Updated: selinux-policy-3.13.1-102.el7.noarch
Nov 22 07:51:27 Updated: setools-libs-3.3.8-1.1.el7.x86_64
Nov 22 07:51:28 Updated: libsepol-devel-2.5-6.el7.x86_64
Nov 22 07:51:28 Updated: checkpolicy-2.5-4.el7.x86_64
Nov 22 07:51:28 Installed: libsepol-2.5-6.el7.i686
Nov 22 07:51:28 Updated: policycoreutils-python-2.5-8.el7.x86_64
Nov 22 07:51:29 Updated: libselinux-devel-2.5-6.el7.x86_64
Nov 22 07:51:45 Updated: selinux-policy-targeted-3.13.1-102.el7.noarch
Nov 22 07:51:45 Updated: libselinux-2.5-6.el7.i686
[root@notebook log]#