ufw status fails due to xtables lock
Bug #1923079 reported by
Rowan Wookey
This bug report is a duplicate of:
Bug #1911637: Another app is currently holding the xtables lock.
Edit
Remove
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.
To post a comment you must log in.