Re: Permissions and ownership on /dev/kvm keep reverting after starting a vm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/06/2018 11:40 PM, Tom wrote:
> Hey guys,
> 
> /dev/kvm permissions and ownership keeps reverting after starting a vm.
> 
> The ownership and permissions keep going back to 
> 
> crw-rw—— root root ....
> 
> After starting a vm.  I have to revert the perms and ownership to:
> 
> crw-crw-crw root kvm ....
> 
> To start any vm but it goes back to the first set of permissions as soon as I start another vm.  Any hints what I could check?

What distro are you using? Libvirt is not chowning /dev/kvm. More
importantly, if you're using libvirt-3.0.0 or newer libvirt spawns qemu
in its own mount namespace with a separate /dev so it doesn't even touch
/dev/kvm from host.

Perhaps some hook script is mangling permissions? Or some patches on the
top of libvirt written by distro maintainer?

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux