This has been reported on the ansible module side as well as it impacts the ability to configure ufw on Ubuntu 20.04.02 LTS servers. ufw is essentially unusable because of this bug.
https://github.com/ansible-collections/community.general/issues/2336 https://github.com/ansible-collections/community.general/issues/2452 ** Bug watch added: github.com/ansible-collections/community.general/issues #2336 https://github.com/ansible-collections/community.general/issues/2336 ** Bug watch added: github.com/ansible-collections/community.general/issues #2452 https://github.com/ansible-collections/community.general/issues/2452 ** Also affects: ufw (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ufw in Ubuntu. https://bugs.launchpad.net/bugs/1911637 Title: Another app is currently holding the xtables lock Status in ufw: New Status in ufw package in Ubuntu: New Status in ufw package in Debian: New Bug description: Version: ufw 0.36 (via Debian buster 0.36-1 deb-package) I'm using ufw together with fail2ban, and often I get an error while fail2ban is trying to ban an ip: ``` ERROR: initcaps [Errno 2] Another app is currently holding the xtables lock. Perhaps you want to use the -w option? ``` it seems that in utils.py, get_netfilter_capabilities(...) iptables is called without "-w" flag to wait for the table lock perhaps the checks should include this parameter to avoid leaving temporary tables behind (and breaking fail2ban, but thats a different story ...)? To manage notifications about this bug go to: https://bugs.launchpad.net/ufw/+bug/1911637/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp