問題描述
啟動 firewalld systemctl start firewalld
時命令卡住不動不返回,Ctrl+C 取消后,systemctl status firewalld
提示啟動狀態超時,啟動失敗。
問題解決
#關閉firewalld服務
systemctl stop firewalld;
#關閉firewalld進程
pkill -f firewalld;
#啟動firewalld服務
systemctl start firewalld;
到此就正常了。
官方的說法是可能 systemd 不知道自己沒啟動firewalld成功,在那一直等着?
systemd didn’t know about the process that it didn’t start in the first place of course