Red Hat Bugzilla – Bug 147046
NetworkManager and iptables prevent system from shutdown
Last modified: 2007-11-30 17:10:59 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
When running services iptables and NetworkManger together, system
hangs on shutdown when stopping iptables. It even hangs when I remove
K92iptables so it could also be related to stoping loopback.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start NetworkManger
2. Start iptables
Actual Results: system hangs
Expected Results: clean shutdown
Hardware: 1 NIC e1000
The problem is not related to the iptables rules itself, you can
accept all packets and it happens anyway
Created attachment 110630 [details]
This bug occurs on my notebook, too. I have done some investigation and can
provide a quick work-around:
disable the iptables modules unloading by setting the corresponding option in
/etc/sysconfig/iptables-config to "no".
Shutting down the iptables service lets me reproduce the problem: I had a
"modprobe -r ipt_state" process consuming all CPU and which could not be killed
by a KILL signal.
The bug only occurs if the NetworkManager actually has been active (i.e. after
the NetworkManagerInfo applet told it where to connect).