[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

Serge Hallyn 632696 at bugs.launchpad.net
Wed Sep 8 15:17:57 BST 2010


Quoting Jamie Strandboge (jamie at ubuntu.com):
> I cannot reproduce with the m2.xml file using qemu:///system on the
> local machine. I used virt-manager to create the /srv/libvirt-storage-
> pool-1/maverick2.img image (but I had to 'chmod 750 /srv/libvirt-
> storage-pool-1 ; chgrp kvm /srv/libvirt-storage-pool-1' to make this
> work).
> 
> Can you provide exact steps to reproduce, including any non-default
> configuration for libvirt (ie, /etc/libvirt/*)?

Hm, today it's working fine...  FWIW here is my
/etc/libvirt/storage/libvirt-storage-pool-1.xml:

<pool type='dir'>
  <name>libvirt-storage-pool-1</name>
  <uuid>088fb527-21da-5cfe-899c-0c785342fffe</uuid>
  <capacity>0</capacity>
  <allocation>0</allocation>
  <available>0</available>
  <source>
  </source>
  <target>
    <path>/srv/libvirt-storage-pool-1</path>
    <permissions>
      <mode>0700</mode>
      <owner>-1</owner>
      <group>-1</group>
    </permissions>
  </target>
</pool>

but

# ls -dl /srv/libvirt-storage-pool-1/
drwxr-xr-x 2 root root 4096 2010-09-03 09:45 /srv/libvirt-storage-pool-1/

Since I can't reproduce at the moment, I've got no problem with
marking this Invalid for the moment, and I'll re-open if (when)
it happens again?

Weird.  (Especially since I did not apt-get update today)

-- 
libvirt won't start a VM with serial or console when apparmor is enabled
https://bugs.launchpad.net/bugs/632696
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list