Package: src:libvirt
Followup-For: Bug #714372

Hi,

The following patch seems to work with and without firewalld running

Cheers,

Laurent Bigonville

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru libvirt-1.2.16/debian/rules libvirt-1.2.16/debian/rules
--- libvirt-1.2.16/debian/rules	2015-06-03 08:45:18.000000000 +0200
+++ libvirt-1.2.16/debian/rules	2015-06-05 00:22:59.000000000 +0200
@@ -33,6 +33,7 @@
   WITH_SANLOCK        = --with-sanlock
   WITH_INIT_SCRIPT    =	--with-init-script=systemd
   WITH_SYSTEMD        = --with-systemd-daemon
+  WITH_FIREWALLD      = --with-firewalld
   WITH_AUDIT          = --with-audit
   WITH_SELINUX        = --with-selinux --with-secdriver-selinux --with-selinux-mount=/sys/fs/selinux
   WITH_APPARMOR       = --with-apparmor --with-secdriver-apparmor --with-apparmor-profiles
@@ -68,6 +69,7 @@
   WITH_NETCF          = --without-netcf
   WITH_INIT_SCRIPT    =	--with-init-script=none
   WITH_SYSTEMD        = --without-systemd-daemon
+  WITH_FIREWALLD      = --without-firewalld
   WITH_AUDIT          = --without-audit
   WITH_SELINUX        = --without-selinux
   WITH_APPARMOR       = --without-apparmor
@@ -117,7 +119,7 @@
 	$(WITH_DTRACE)           \
 	$(WITH_AUDIT)            \
 	--without-hal            \
-	--without-firewalld      \
+	$(WITH_FIREWALLD)        \
 	--without-attr
 
 DEB_BUILDDIR := $(CURDIR)/debian/build

Reply via email to