diff -Nru libguestfs-1.36.13/debian/changelog libguestfs-1.36.13/debian/changelog --- libguestfs-1.36.13/debian/changelog 2018-09-25 08:52:15.000000000 +0100 +++ libguestfs-1.36.13/debian/changelog 2019-05-15 15:16:04.000000000 +0100 @@ -1,3 +1,10 @@ +libguestfs (1:1.36.13-1ubuntu3.3) bionic; urgency=medium + + * d/p/appliance-remove-dhcp-resolved-hook.patch: remove + /etc/dhcp/dhclient-enter-hooks.d/resolved (LP: #1824236) + + -- Ioanna Alifieraki Wed, 15 May 2019 14:16:04 +0000 + libguestfs (1:1.36.13-1ubuntu3.2) bionic; urgency=medium * d/p/lp-1793056-fix-internal-bin-sh.patch: fix guestfish tasks that diff -Nru libguestfs-1.36.13/debian/patches/appliance-remove-dhcp-resolved-hook.patch libguestfs-1.36.13/debian/patches/appliance-remove-dhcp-resolved-hook.patch --- libguestfs-1.36.13/debian/patches/appliance-remove-dhcp-resolved-hook.patch 1970-01-01 01:00:00.000000000 +0100 +++ libguestfs-1.36.13/debian/patches/appliance-remove-dhcp-resolved-hook.patch 2019-05-15 15:15:30.000000000 +0100 @@ -0,0 +1,24 @@ +Description: appliance - Remove /etc/dhcp/dhclient-enter-hooks.d/resolved +Workaround for Ubuntu which uses this script to try to start a systemd +service. That won't work because systemd is not used inside the +appliance. +Author: Richard W.M. Jones +Bug-Ubuntu: https://launchpad.net/bugs/1824236 +Last-Update: 2019-05-15 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: libguestfs-1.36.13/appliance/init +=================================================================== +--- libguestfs-1.36.13.orig/appliance/init ++++ libguestfs-1.36.13/appliance/init +@@ -122,7 +122,9 @@ ip link set dev lo up + + if test "$guestfs_network" = 1; then + iface=$(ls -I all -I default -I lo /proc/sys/net/ipv4/conf) +- touch /etc/fstab # Workaround for Ubuntu. ++ # Two workarounds for Ubuntu: ++ touch /etc/fstab ++ rm -f /etc/dhcp/dhclient-enter-hooks.d/resolved + if dhclient --version >/dev/null 2>&1; then + dhclient $iface + else diff -Nru libguestfs-1.36.13/debian/patches/series libguestfs-1.36.13/debian/patches/series --- libguestfs-1.36.13/debian/patches/series 2018-09-25 08:52:15.000000000 +0100 +++ libguestfs-1.36.13/debian/patches/series 2019-05-15 15:05:21.000000000 +0100 @@ -16,3 +16,4 @@ lp-1766534-s390x-6-6-lib-Add-VIRTIO_DEVICE_NAME-macro-to-handle-virtio-mm.patch lp-1782138-java-support-OpenJDK-10.patch lp-1793056-fix-internal-bin-sh.patch +appliance-remove-dhcp-resolved-hook.patch