Bug 1646609

Summary: stop job is running for firewalld on restart- issue since fedora 25
Product: [Fedora] Fedora Reporter: Marcin Kozyra <marcink7440>
Component: firewalldAssignee: Eric Garver <egarver>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 29CC: ben, bugzilla.redhat, egarver, jpopelka, marcink7440, tn, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-15 20:29:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcin Kozyra 2018-11-05 18:40:28 UTC
Laptop not restarting/shutting down right away.
Shows a stop job running for firewalld.

 I had same issue since fedora 25 or so. To have it fixed I used

CleanupOnExit=no in /etc/firewalld/firewalld.conf.

xps 9550 with BCM43602 802.11ac

Currently I have feodra 29 fresh install with all the updates.

Comment 1 Eric Garver 2018-11-05 21:13:19 UTC
(In reply to Marcin Kozyra from comment #0)
> Laptop not restarting/shutting down right away.
> Shows a stop job running for firewalld.

This is usually caused by a locking issue on either iptables executable or rmmod (removing kernel module). Sometimes you can get info from systemd about what's going on.

>  I had same issue since fedora 25 or so. To have it fixed I used
> 
> CleanupOnExit=no in /etc/firewalld/firewalld.conf.

This disables the flushing of iptables and module unloading. It's a fair workaround for the reboot scenario, but can be problematic for systemctl restart/stop as firewalld's rules will be left laying around.

> xps 9550 with BCM43602 802.11ac
> 
> Currently I have feodra 29 fresh install with all the updates.

Do you have anything unique about your system? NICs? NFS/samba mounts?

Comment 2 Marcin Kozyra 2018-11-05 21:26:52 UTC
No, I do not. Its a standard workstation installation without any mounts.

Comment 3 Eric Garver 2018-11-15 20:29:33 UTC
This is almost certainly a bug related to the BCM43602 driver. firewalld hangs when calling rmmod.

*** This bug has been marked as a duplicate of bug 1294415 ***