Univention Bugzilla – Bug 50435
Undocumentes legacy code for uvmm/kvm/qemu/dynamic_ownership,user,group breaks VM start
Last modified: 2023-06-28 10:46:17 CEST
> univention-virtual-machine-manager-node (2.0.3-6) unstable; urgency=low > > * Update/review UCR variable descriptions (Bug #30949) > Remove UCR variable descriptions for uvmm/kvm/qemu/user, uvmm/kvm/qemu/group > and uvmm/kvm/qemu/dynamic_ownership. This is a legacy feature no longer relevant. > > -- Moritz Mühlenhoff <muehlenhoff@univention.de> Tue, 10 Sep 2013 15:38:24 +0200 removed the documentation, but the code still remains in univention-virtual-machine-manager-node/conffiles/etc/libvirt/qemu.conf and breaks starting a VM with a volume created manually via vol-create-as --pool default --name $NAME.qcow2 --capacity 1G --format qcow2 The code should be removed (or at leas be documented again). (This breaks starting a VM as the Volume is created 0600 owned by root, but Qemu runs as "libvirt-qemu:libvirt-qemu" and cannot access the file. With "dynamic ownership" libvirtd running as "root" changes the permissions of the volumes while the VM is running, which is upstreams default.)
UVMM and virtualization with UCS is deprecated and will no longer be developed in UCS 4.4; they have already been removed from UCS 5.0.