iptables-save duplicates libvirt and ufw rules on iptables-restore with iptables-persistent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iptables (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
libvirt and ufw have their own .rule files that they'll load on boot.
If you want to use iptables-persistent to restore rules you set using iptables, there will be duplicate entries once libvirt and ufw also load their rules on boot.
Chain OUTPUT (policy ACCEPT 1780 packets, 323K bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp -- * virbr0 0.0.0.0/0 0.0.0.0/0 udp dpt:68
0 0 ACCEPT udp -- * virbr0 0.0.0.0/0 0.0.0.0/0 udp dpt:68
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: iptables 1.4.21-2ubuntu2
Uname: Linux 4.1.1-040101-
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Sun Jul 19 15:04:53 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-06-18 (31 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
ProcEnviron:
LANGUAGE=en_US
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: iptables
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in iptables (Ubuntu): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.