run_qemu icon indicating copy to clipboard operation
run_qemu copied to clipboard

Failed to create '/var/tmp/mkosi-e6ogcm3s/root/run/host/unix-export': File exists

Open SeiDPierre opened this issue 1 year ago • 2 comments

Hello, I'm trying to get used to run_qemu script in order to later manage multiple vm. Following instructions from the readme, run_qemu.sh fails at some points:

debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
update-initramfs: deferring update (trigger activated)
Processing triggers for dracut (059-4) ...
dracut: Generating /boot/initrd.img-6.1.0-22-amd64
/usr/bin/dracut: line 1056: /sys/module/firmware_class/parameters/path: No such file or directory
dracut: Generating /boot/initrd.img-6.9.9
/usr/bin/dracut: line 1056: /sys/module/firmware_class/parameters/path: No such file or directory
Failed to create '/var/tmp/mkosi-e6ogcm3s/root/run/host/unix-export': File exists
‣ Error: Workspace command kernel-install add 6.9.9 /boot/vmlinuz-6.9.9 returned non-zero exit code 1.

I've compiled a 6.9.9 linux kernel, with by default option, (make menuconfig && make) The only lines I've modified are distro=debian and rev=bookworm at the beginning of the script. run_qemu.sh is not run as root

Versions: I was using mkosi 14, and switch to latest stable release: 23 dracut :102-3 qemu : 9.0.1 I'm under Debian 12

SeiDPierre avatar Jul 15 '24 11:07 SeiDPierre

@SeiDPierre I don't run Debian, so don't have insights on what might be going on.

@miguelinux since you did some work recently with Debian support, do you have any ideas?

stellarhopper avatar Jul 19 '24 19:07 stellarhopper

Failed to create '/var/tmp/mkosi-e6ogcm3s/root/run/host/unix-export': File exists

When using mkosi v14-, a recent Arch Linux also fails exactly like this for me.

But support for mkosi v15+ is coming, please help test https://github.com/pmem/run_qemu/pull/80 EDIT: merged, but now we have incremental build issue #88

marc-hb avatar Dec 13 '24 01:12 marc-hb