Dear all,
we're using Kiwi and the boxed plugin with a local version of the Leap box
(
https://download.opensuse.org/repositories/Virtualization:/Appliances:/SelfContained:/leap/images/)
to build an ISO image.
Generally things are working. :-)
However, when adding --virtiofs-sharing building doesn't work anymore:
kiwi-ng ... system boxbuild ... --virtiofs-sharing -- ...
The first issue (on a Debian 12 host) was
--- snip ---
KiwiBoxPluginVirtioFsError: virtiofsd not found in: ['/usr/lib/virtiofsd',
'/usr/libexec']'
--- snip ---
which I could work around with
ln -s /usr/lib/qemu/virtiofsd /usr/libexec/virtiofsd
But after that I run into "Failed to connect to '/tmp/vhostqemu_0'":
--- snip ---
kiwi-ng --logfile mybuild.log --type iso system boxbuild --box localleap
--virtiofs-sharing -- --description /my/builddir --target-dir /my/builddir
--signing-key /my/buildkeys/gpg-pubkey-0E203798.asc --signing-key
/my/buildkeys/gpg-pubkey-25db7ae0-645bae34.asc --signing-key
/my/buildkeys/gpg-pubkey-29b700a4-62b07e22.asc --signing-key
/my/buildkeys/gpg-pubkey-39db7c82-5847eb1f.asc --signing-key
/my/buildkeys/gpg-pubkey-3dbdc284-53674dd4.asc --signing-key
/my/buildkeys/gpg-pubkey-3fa1d6ce-63c9481c.asc --signing-key
/my/buildkeys/gpg-pubkey-65176565-61a0ee8f.asc
fuse: invalid argument `/my/builddir'
fuse: invalid argument `/my/builddir'
qemu-system-x86_64: -chardev socket,id=char0,path=/tmp/vhostqemu_0: Failed to connect
to '/tmp/vhostqemu_0': No such file or directory
[ ERROR ]: 21:35:24 | KiwiError: Box build failed. Find build log at:
'/my/builddir/result.log'
--- snip ---
'/my/builddir/result.log' doesn't actually exist.
I've read
https://osinside.github.io/kiwi/plugins/self_contained.html#sharing-backends and know
that virtiofs support is considered experimental. ;-)
Still any hints on how to debug this would be appreciated!
Thanks and regards -- Till
--
www.pre-sense.de/fcknzs
PRESENSE Technologies GmbH Nagelsweg 41, D-20097 HH
Geschäftsführer/Managing Director AG Hamburg, HRB 107844
Till Dörges USt-IdNr.: DE263765024