Created attachment 1434237 [details] Log of a failing execution Description of problem: I'm creating x86_64 images and trying to customize the them with virt-customize (running several commands) Version-Release number of selected component (if applicable): libguestfs-tools-1.38.0-1.fc28.noarch libguestfs-1.38.0-1.fc28.x86_64 libguestfs-tools-c-1.38.0-1.fc28.x86_64 How reproducible: 100% Steps to Reproduce: 1. Create a Fedora 28 image (mkosi -d fedora -r 28 -t raw_gpt -o foo.img) 2. Run virt-customize to invoke some command (virt-customize -a foo.img --run-command ls) Actual results: virt-customize fails with the following error: virt-customize: error: host cpu (x86_64) and guest arch (unknown) are not compatible, so you cannot use command line options that involve running commands in the guest. Use --firstboot scripts instead. Verbose trace shows: chroot: /sysroot: running 'file: /usr/bin/ls' command: file '-zb' '/sysroot//usr/bin/ls' command: file returned 0 command: file: stdout: ELF 64-bit LSB pie executable x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=0b02d42b543a277576db885b97e5a3393afe57f0, stripped check_architecture: /bin/ls: Failure("unknown architecture: /usr/bin/ls") Expected results: virt-customize succeeds Additional info:
This is going to be fixed in 1.38.2, out real soon. *** This bug has been marked as a duplicate of bug 1575640 ***