Comment 14 for bug 632696

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

Quoting Jamie Strandboge (<email address hidden>):
> 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)