Hey guys,

I unmasked package qemu-6.1.0 because I needed that version for LXD. I have compiled qemu with the following USE flags enabled:

app-emulation/qemu curl nfs ssh usbredir io-uring virgl virtfs usb xfs aio slirp pin-upstream-blobs vhost-net vhost-user-fs opengl spice vde fdt -vnc

Here's what happens when I try to share a /var/cache/distfiles directory between the host and virtual machine:

┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:30:40]
└─[0] <> lxc init gentoo-vm gentoo ⚡[..........]
Creating gentoo
┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:34:21]
└─[0] <> lxc profile add gentoo binserver ⚡[..........]
Profile binserver added to gentoo
┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:34:31]
└─[1] <> lxc start gentoo ⚡[..........]
Error: Failed to start device "distfiles": Failed to setup virtfs-proxy-helper for device "distfiles": Required binary "virtfs-proxy-helper" couldn't be found
Try `lxc info --show-log gentoo` for more info
┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:34:40]
└─[1] <> lxc start gentoo ⚡[..........]
Error: Failed to start device "distfiles": remove /var/lib/lxd/devices/gentoo/disk.distfiles.var-cache-distfiles-: device or resource busy
Try `lxc info --show-log gentoo` for more info
┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:36:24]
└─[0] <> lxc profile show binserver ⚡[..........]
config:
  limits.cpu: "12"
  limits.memory: 8GB
description: ""
devices:
  distfiles:
    path: /var/cache/distfiles/
    shift: "true"
    source: /var/cache/distfiles/
    type: disk
name: binserver
used_by:
- /1.0/instances/gentoo

I think the real issue is here:
┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:34:31]
└─[1] <> lxc start gentoo ⚡[..........]
Error: Failed to start device "distfiles": Failed to setup virtfs-proxy-helper for device "distfiles": Required binary "virtfs-proxy-helper" couldn't be found
Try `lxc info --show-log gentoo` for more info

Any ideas how can I make virtfs-proxy-helper binary available?

Attachment: OpenPGP_0xB88FD4605EAEC3B4.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to