1、互信报错
处理过程
01、发现/etc/sysctl.conf中有net.ipv4.icmp_echo_ignore_all=1配置,注释后发现还是无法通过
02、# cat /proc/sys/net/ipv4/icmp_echo_ignore_all发现返回1,说明还是禁ping,两个节点执行# echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all后,再次check可以顺利通过
2、policycoreutils-python未安装
处理过程
在主机上配置好yum源,执行# yum -y install policycoreutils-python 后,再次check不再提醒
yum -y install policycoreutils-python
Loaded plugins: ulninfo
Resolving Dependencies
--> Running transaction check
---> Package policycoreutils-python.x86_64 0:2.5-29.0.1.el7 will be installed
--> Processing Dependency: setools-libs >= 3.3.8-4 for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-14 for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-29.0.1.el7.x86_64
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.8.4-4.el7 will be installed
---> Package checkpolicy.x86_64 0:2.5-8.el7 will be installed
---> Package libcgroup.x86_64 0:0.41-20.el7 will be installed
---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be installed
---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
---> Package setools-libs.x86_64 0:3.3.8-4.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================
Installing:
policycoreutils-python x86_64 2.5-29.0.1.el7 DVD 455 k
Installing for dependencies:
audit-libs-python x86_64 2.8.4-4.el7 DVD 76 k
checkpolicy x86_64 2.5-8.el7 DVD 294 k
libcgroup x86_64 0.41-20.el7 DVD 66 k
libsemanage-python x86_64 2.5-14.el7 DVD 112 k
python-IPy noarch 0.75-6.el7 DVD 32 k
setools-libs x86_64 3.3.8-4.el7 DVD 620 k
Transaction Summary
========================================================================================================================================
Install 1 Package (+6 Dependent packages)
Total download size: 1.6 M
Installed size: 5.3 M
Downloading packages:
Total 7.6 MB/s | 1.6 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : audit-libs-python-2.8.4-4.el7.x86_64 1/7
Installing : setools-libs-3.3.8-4.el7.x86_64 2/7
Installing : python-IPy-0.75-6.el7.noarch 3/7
Installing : libsemanage-python-2.5-14.el7.x86_64 4/7
Installing : checkpolicy-2.5-8.el7.x86_64 5/7
Installing : libcgroup-0.41-20.el7.x86_64 6/7
Installing : policycoreutils-python-2.5-29.0.1.el7.x86_64 7/7
Verifying : libcgroup-0.41-20.el7.x86_64 1/7
Verifying : checkpolicy-2.5-8.el7.x86_64 2/7
Verifying : policycoreutils-python-2.5-29.0.1.el7.x86_64 3/7
Verifying : libsemanage-python-2.5-14.el7.x86_64 4/7
Verifying : python-IPy-0.75-6.el7.noarch 5/7
Verifying : setools-libs-3.3.8-4.el7.x86_64 6/7
Verifying : audit-libs-python-2.8.4-4.el7.x86_64 7/7
Installed:
policycoreutils-python.x86_64 0:2.5-29.0.1.el7
Dependency Installed:
audit-libs-python.x86_64 0:2.8.4-4.el7 checkpolicy.x86_64 0:2.5-8.el7 libcgroup.x86_64 0:0.41-20.el7
libsemanage-python.x86_64 0:2.5-14.el7 python-IPy.noarch 0:0.75-6.el7 setools-libs.x86_64 0:3.3.8-4.el7
Complete!