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

Eli Qiao taget at linux.vnet.ibm.com
Thu Jan 9 05:48:32 UTC 2014


hi all
I hit a issue when I use firewall-cmd to query or remove a non-exist service
it should be report no service immediately or give a timeout window by
default.

qiao at ubuntu:~/kimchi$ dpkg -l | grep firewalld
ii firewalld 0.3.0-1 all dynamically managed firewall with support for
network zones
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 ....]

-- 
Thanks Eli (Li Yong) Qiao (qiaoly at cn.ibm.com)
CSTL-KVM Frobisher/RHEV-H



More information about the firewalld-devel mailing list