app profile rules cannot be deleted once app package has been removed from system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw |
Fix Released
|
Medium
|
Jamie Strandboge | ||
ufw (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge |
Bug Description
Binary package hint: ufw
On Ubuntu Server 9.04 (I suppose this would apply to any Ubuntu install up to 9.04, but have not tested this):
(0) enable ufw
(1) install (for example) package 'samba' and all of its dependencies.
(2) run command: sudo ufw allow Samba
(3) uninstall samba packages
The result is that the app rule added to ufw cannot be deleted or modified through the command line.
Solution: Install 'samba' packages again, delete the app rule from ufw, and ~then~ remove the package 'samba'.
This seems a bit flawed, perhaps we could have some way to remove ufw rules after a package has been removed...? I think we may be taking too much liberty by making an 'app rule deletion' automatic.
Related branches
tags: | added: apt package ufw uninstall |
summary: |
- app profiles cannot be removed once app package has been removed from - computer + app profile rules cannot be deleted once app package has been removed + from system |
description: | updated |
Changed in ufw: | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ufw: | |
status: | In Progress → Fix Committed |
I can confirm this problem in Karmic and ufw 0.27.1-2.
Perhaps having application profiles in use being copied to a special cache directory might be a solution.