firewalld.service operation time out

CentOS7でfirewalldに慣れようと思ってちょっと使っていたのですが、
そのときに直面したちょっとしたトラブルのメモ。


ゾーンに特定のIPアドレスを追加した後、設定が適用されたかどうかの確認のため、
firewalld.serviceをsystemctlでstop/startしようとしたときに、発生したのが以下の事象

# systemctl start firewalld                                          
Job for firewalld.service failed because a timeout was exceeded. See "systemctl status firewalld.service" and "journalctl -xe" for details.


journalctlでログを見てみると、こんなメッセージが。

# journalctl -xe
-- Subject: Unit firewalld.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit firewalld.service has failed.
-- 
-- The result is failed.
Mar 23 08:31:02 myhost systemd[1]: Unit firewalld.service entered failed state.
Mar 23 08:31:02 myhost systemd[1]: firewalld.service failed.


参考リンクの情報に基づき、サーバーの状態を調べてみたら、
firewalldのプロセスがまだ残っていました。どうやらこれが原因のようでした。
残っていたプロセスをkillして再度起動したら、問題なく起動しました。


今日はこんなところで。