Permissions of files in /etc/libvirt/qemu are too restrictive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
As a user in the groups kvm and libvirtd I created VMs with virt-install and virt-manager. I edited the xml file defining these VMs to change the amount of RAM allocated to them, but when I tried to reload the VM definitions in virsh as instructed at https:/
/etc/libvirt/qemu$ ls -l
total 16
-rw------- 1 root root 849 2008-05-27 23:31 fedora9.xml
drwxr-xr-x 3 root root 4096 2008-05-04 20:41 networks
-rw------- 1 root root 830 2008-05-05 18:51 opensolaris.xml
-rw------- 1 root root 855 2008-05-27 23:31 opensuse103.xml
$ virsh --connect qemu:///system
Connecting to uri: qemu:///system
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh # define /etc/libvirt/
error: Failed to open '/etc/libvirt/
virsh # define /etc/libvirt/
error: Failed to open '/etc/libvirt/
Changed in libvirt: | |
status: | Incomplete → Confirmed |
Changed in libvirt (Ubuntu): | |
importance: | Undecided → Wishlist |
This makes no sense. The libvirtd process managing qemu:///system runs as root, so that should work fine. Did you change libvirtd.conf in some way?