[PKG-Openstack-devel] Bug#869575: openstack-debian-images: wrong dhclient.conf will be patched, since variable isn't set
Niels Jansen
niels.jansen at gmail.com
Mon Jul 24 14:10:41 UTC 2017
Package: openstack-debian-images
Version: 1.20
Severity: important
Tags: patch
Dear Maintainer,
When I was running i noticed build-openstack-debian-image crashes when
running in docker. after analysing i found it to be crashing since my
build environment had no dhclient installed...
After investigation, I found $BODI_CHROOT_PATH is not set, I think
${MOUNT_DIR} was ment to be used.
--- /usr/sbin/build-openstack-debian-image 2017-06-23 15:02:30.000000000 +0000
+++ ./build-openstack-debian-image 2017-07-24 13:16:55.200074889 +0000
@@ -474,7 +474,7 @@
" > ${MOUNT_DIR}/etc/network/interfaces
# FIXME: DHCP RFC3442 is used incorrect in Azure
-sed -ie 's,rfc3442-classless-static-routes,disabled-\0,' $BODI_CHROOT_PATH/etc/dhcp/dhclient.conf
+sed -ie 's,rfc3442-classless-static-routes,disabled-\0,' ${MOUNT_DIR}/etc/dhcp/dhclient.conf
# Setup the default hostname (will be set by cloud-init
# at boot time anyway)
-- SYSTEM INFORMATION:
DEBIAN RELEASE: 9.0
APT PREFERS STABLE
APT POLICY: (500, 'STABLE')
ARCHITECTURE: AMD64 (X86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages openstack-debian-images depends on:
ii debootstrap 1.0.89
ii dosfstools 4.1-1
ii extlinux 3:6.03+dfsg-14.1
ii initramfs-tools 0.130
ii kpartx 0.6.4-5
ii mbr 1.1.11-5.1
ii parted 3.2-17
ii qemu-utils 1:2.8+dfsg-6
openstack-debian-images recommends no packages.
openstack-debian-images suggests no packages.
-- no debconf information
-------------- next part --------------
--- /usr/sbin/build-openstack-debian-image 2017-06-23 15:02:30.000000000 +0000
+++ ./build-openstack-debian-image 2017-07-24 13:16:55.200074889 +0000
@@ -474,7 +474,7 @@
" > ${MOUNT_DIR}/etc/network/interfaces
# FIXME: DHCP RFC3442 is used incorrect in Azure
-sed -ie 's,rfc3442-classless-static-routes,disabled-\0,' $BODI_CHROOT_PATH/etc/dhcp/dhclient.conf
+sed -ie 's,rfc3442-classless-static-routes,disabled-\0,' ${MOUNT_DIR}/etc/dhcp/dhclient.conf
# Setup the default hostname (will be set by cloud-init
# at boot time anyway)
More information about the Openstack-devel
mailing list