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, remove the app rule from ufw, and ~then~ delete the rule from ufw.
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.
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, remove the app rule from ufw, and ~then~ delete the rule from ufw.
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.