Public bug reported:

When installing a new cloudserver (on Amazon EC2, if it makes a
difference), UFW completely hangs on any command, for example ufw
status. Interrupting it with Ctrl+C yields this backtrace:

Traceback (most recent call last):
  File "/usr/sbin/ufw", line 130, in <module>
    lock = create_lock(lockfile=lockfile, dryrun=pr.dryrun)
  File "/usr/lib/python3/dist-packages/ufw/util.py", line 1112, in create_lock
    fcntl.lockf(lock, fcntl.LOCK_EX)
KeyboardInterrupt

The line numbers are always the same.

The platform is Ubuntu Server 20.04 (Ubuntu 20.04.2 LTS), from the
Amazon image. I have not seen this bug on other servers. UFW is version
0.36.

** Affects: ufw (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1921350

Title:
  UFW hangs indefinitely on any action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1921350/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to