Public bug reported:

I have my setup for libvirt/qemu such that ISO images do not get owned
by libvirt:kvm when assigned to a domain. This means I have to run with
/etc/libvirt/qemu.conf with:

user=root
group=root
dynamic_ownership=0

This has been working since at least Natty. With the latest updates to
libvirt/qemu on Precise, this setup does not work anymore: starting an
existing domain will fail with access denied on the ISO, or on the disk
image:

I tried, together with Jean-Baptiste, a series of combinations on these
3 parameters. The *only* ones that work are the default setup:

# user=root
#group=root
#dynamic_ownership=1

Of course, this causes all used ISOs and images to be owned by
libvirt:kvm (interestingly, a snapshot image will be owned by
root:root); this breaks daily ISO updates.

ii  libvirt-bin                                                               
0.9.7-2ubuntu6                                                            
programs for the libvirt library
ii  libvirt-doc                                                               
0.9.7-2ubuntu6                                                            
documentation for the libvirt library
ii  libvirt0                                                                  
0.9.7-2ubuntu6                                                            
library for interfacing with different virtualization systems
ii  libvirt0-dbg                                                              
0.9.7-2ubuntu6                                                            
library for interfacing with different virtualization systems
ii  libvirtodbc0                                                              
6.1.3+dfsg1-1ubuntu3                                                      
high-performance database - ODBC libraries
un  libvirtodbc0-dbgsym                                                       
<none>                                                                    (no 
description available)
un  qemu                                                                      
<none>                                                                    (no 
description available)
ii  qemu-common                                                               
0.15.0+noroms-0ubuntu8                                                    qemu 
common functionality (bios, documentation, etc)
ii  qemu-kvm                                                                  
0.15.0+noroms-0ubuntu8                                                    Full 
virtualization on i386 and amd64 hardware
un  qemu-kvm-extras                                                           
<none>                                                                    (no 
description available)
un  qemu-user-static                                                          
<none>                                                                    (no 
description available)
ii  qemu-utils                                                                
0.15.0+noroms-0ubuntu8                                                    qemu 
utilities

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/901333

Title:
  Precise: dynamic_ownership=0 causes complete failure to start a domain

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/901333/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to