• 1
(Deleted comment)

Re: images in home directories

Yes, you can do that in advanced.

Not tested:
semanage fcontext -a -t xen_image_t $XDG_DATA_HOME/Virtual\ Machines\(/.*\)?
restorecon -Rv $XDG_DATA_HOME/Virtual\ Machines/
vim /etc/selinux/restorecond.conf
# add $XDG_DATA_HOME/Virtual\ Machines/

Re: images in home directories

Yes you can do this.

If an unconfined user runs a qemu directly, it transitions to unconfined_qemu_t which is an unconfined domain, and can work with any labeling. (user_home_t).

But libvirtd will not be able to read the image.


  • 1
?

Log in