firewall-cmd hang if remove or query a 'non-exist' service

Jiri Popelka jpopelka at redhat.com
Thu Jan 9 06:30:10 UTC 2014


On 01/09/2014 06:48 AM, Eli Qiao wrote:
> qiao at ubuntu:~/kimchi$ dpkg -l | grep firewalld
> ii firewalld 0.3.0-1 all dynamically managed firewall with support for network zones

0.3.0 is quite old, latest release is 0.3.8

> qiao at ubuntu:~/kimchi$ sudo service firewalld start
> * Starting dynamic firewall daemon firewalld [ OK ]
> qiao at ubuntu:~/kimchi$ dpkg -l | grep firewalld^C
> qiao at ubuntu:~/kimchi$ firewall-cmd --list-services
>
> dhcpv6-client ssh
> qiao at ubuntu:~/kimchi$ sudo firewall-cmd --remove-service kimchid
>
> [ hang ....]

If you want to debug that, you can run the daemon in one terminal with 
'sudo firewalld --nofork --debug=2', the firewall-cmd command in other 
terminal and check the daemon output. But I'd definitely try something 
newer then 0.3.0 first.

--
Jiri



More information about the firewalld-devel mailing list