ufw

'ufw --dry-run (enable|disable)' changes /etc/ufw/ufw.conf

Bug #1808727 reported by John Kristensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw
Triaged
Low
Unassigned

Bug Description

Running the command `ufw --dry-run enable` or `ufw --dry-run disable` updates the `ENABLED` option in `/etc/ufw/ufw.conf`. The firewall is not started or stopped.

I would expect that no changes are made to the `/etc/ufw/ufw.conf` file when the `--dry-run` flag is used.

---

# ufw --version
ufw 0.35
Copyright 2008-2015 Canonical Ltd.

----

# apt-cache policy $(dpkg --get-selections | grep ufw | awk '{print $1}')
python-ufw:
  Installed: 0.35-4
  Candidate: 0.35-4
  Version table:
 *** 0.35-4 500
        500 http://deb.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
ufw:
  Installed: 0.35-4
  Candidate: 0.35-4
  Version table:
 *** 0.35-4 500
        500 http://deb.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status

Changed in ufw:
status: New → Triaged
importance: Undecided → Low
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.