系统环境:Centos 7.3
报错出现情景:启动 MySQL 5.7.24 时,status 中报错 loacalhost.localdomain python[58869]: deteched unhandled Python execption in '/usr/sbin/semanage'
然后尝试运行 /usr/sbin/semanage
出现报错 ERROR: policydb version 31 does not match my version range 15-30
进行如下两步操作即可:
[root@localhost sbin]# yum provides semanage
Loaded plugins: fastestmirror, langpacks
epel/x86_64/filelists_db | 12 MB 00:00:05
policycoreutils-python-2.5-34.el7.x86_64 : SELinux policy core python utilities
Repo : base
Matched from:
Filename