Description of problem: I managed to install the newer diskimage-builder (diskimage-builder-3.5.1-0.20201218031210.0255291.el8.noarch.rpm) on RHEL8.4.0. The virt-dib command seems not work. I am not sure whether the newer diskimage-builder version is supported officially on RHEL8. Version-Release number of selected component (if applicable): diskimage-builder-3.5.1-0.20201218031210.0255291.el8.noarch.rpm virt-dib-1.42.0-2.module+el8.4.0+8855+a9e237a9.x86_64 libguestfs-1.42.0-2.module+el8.4.0+8855+a9e237a9.x86_64 How reproducible: 100% Steps: 1. Run the example in manpage $ virt-dib -B /usr/share/diskimage-builder/lib -p /usr/share/diskimage-builder/elements --ramdisk --name ramdisk ubuntu deploy-ironic virt-dib: Elements: ramdisk base ubuntu deploy-ironic virt-dib: Expanded elements: base cache-url cloud-init-datasources deploy-ironic deploy-tgtadm dib-init-system dkms dpkg install-bin install-types manifests package-installs pkg-map ramdisk ramdisk-base sysprep ubuntu ubuntu-common virt-dib: Carried environment variables: [ 0.0] Preparing auxiliary data [ 0.5] Opening the disks [ 6.9] Setting up the destination root [ 7.2] Running: root.d/00-ironic-deploy-deprecated WARNING: The deploy-ironic element is deprecated. Please use the ironic-agent element instead. [ 7.3] Running: root.d/01-ccache [ 7.4] Running: root.d/09-apt-keyring [ 7.4] Running: root.d/10-cache-ubuntu-tarball virt-dib: error: libguestfs error: debug: /sysroot/tmp/in_target.aux/hooks/root.d/10-cache-ubuntu-tarball: line 24: DIB_LOCKFILES: unbound variable If reporting bugs, run virt-dib with debugging enabled and include the complete output: virt-dib -v -x [...] Actual results: The error as above Expected results: The virt-dib command can be run successfully. Additional info:
virt-dib has been removed from libguestfs & guestfs-tools: https://github.com/libguestfs/libguestfs/commit/7503eeebede688409b2adf616d71a94e04b7f0d2 https://github.com/rwmjones/guestfs-tools/commit/57423d907270526ea664ff15601cce956353820e