On Sun, 27 Jan 2019 11:09:41 +0100 Laurent Bigonville <[email protected]>
wrote:
> On Sun, 06 Jan 2019 13:02:17 +0100 Laurent Bigonville <[email protected]>
> wrote:
>
> > Hi,
> >
> > Recent versions of the iptables package is shipping a ebtables
> > executable.
> >
> > This executable seems to provide the same parameters as the one shipped
> > in the "ebtables" package.
> >
> > IMHO, that recommends can now be removed as the executable will be
> > present by pulling the iptables package which is a hard dependency.
>
> In addition to that, you need to be sure that the used ebtables/iptables
> binaries are the one installed to /usr/sbin and not the symlinks from
> /sbin (this requires iptables >= 1.8.1-1)
diff -Nru libvirt-5.0.0/debian/control libvirt-5.0.0/debian/control
--- libvirt-5.0.0/debian/control 2019-01-13 13:24:37.000000000 +0100
+++ libvirt-5.0.0/debian/control 2019-01-27 11:05:03.000000000 +0100
@@ -69,8 +69,7 @@
dnsmasq-base,
openssh-client,
netcat-openbsd,
- ebtables [linux-any],
- iptables [linux-any],
+ iptables (>= 1.8.1-1) [linux-any],
qemu-utils,
Build-Conflicts: dpkg-dev (= 1.15.3)
Vcs-Git: https://salsa.debian.org/libvirt-team/libvirt.git
@@ -183,13 +182,12 @@
lsb-base,
libvirt-clients (= ${binary:Version}),
libvirt-daemon (= ${binary:Version}),
- iptables (>= 1.4.10) [linux-any] | firewalld,
+ iptables (>= 1.8.1-1) [linux-any] | firewalld,
logrotate,
policykit-1,
Recommends:
dmidecode,
dnsmasq-base (>= 2.46-1),
- ebtables [linux-any],
iproute2,
parted,
Section: admin
diff -Nru libvirt-5.0.0/debian/rules libvirt-5.0.0/debian/rules
--- libvirt-5.0.0/debian/rules 2019-01-13 13:24:37.000000000 +0100
+++ libvirt-5.0.0/debian/rules 2019-01-27 11:05:03.000000000 +0100
@@ -152,6 +152,9 @@
dh $@ --builddirectory=$(DEB_BUILDDIR) --parallel --with autoreconf --with systemd
override_dh_auto_configure:
+ IPTABLES_PATH=/usr/sbin/iptables \
+ IP6TABLES_PATH=/usr/sbin/ip6tables \
+ EBTABLES_PATH=/usr/sbin/ebtables \
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_ARGS) $(shell dpkg-buildflags --export=configure)
mkdir -p debian/build/docs/internals