ufw

ufw status fails due to xtables lock

Bug #1923079 reported by Rowan Wookey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw
New
Undecided
Unassigned

Bug Description

I have a process which runs ufw status regularly to check the firewall is running. I also have docker containers being spun up and down on a regular basis for CI/CD when the docker containers are spawning if ufw status is run it sometimes fails with the error:

status failed (1) -- ERROR: problem running iptables: Another app is currently holding the xtables lock. Perhaps you want to use the -w option?

The attached patch adds the -w flag so iptables waits until the lock is released to execute.

Revision history for this message
Rowan Wookey (rwky) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.