查找firewalld的绝对路径:which firewalld
修改vi /usr/sbin/firewalld
将开头#!/usr/bin/python的python,修改为python2
保存退出 : :wq
重启firewald