libvirt-bin apparmor profile needs chown capability

Bug #434417 reported by Raf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
Undecided
Jamie Strandboge

Bug Description

Binary package hint: libvirt-bin

When creating a new virtual machine with virt-manager, I was not able to start it. Looking at strace and kern.log showed that kvm did a chown:

kernel: [110203.023217] type=1503 audit(1253588634.819:276): operation="capable" pid=28692 parent=28691 profile="libvirt-3c7d4020-4339-04f1-024e-01639d6b4542" name="chown"

adding
capability chown,
to /etc/apparmor.d/abstractions/libvirt-qemu seems to have fixed that.

Now strace shows:
chown("/dev/pts/4", 0, 5) = 0

Related branches

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for using Ubuntu and taking the time to report a bug. I'll get this fixed in the next upload.

Changed in libvirt (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 0.7.0-1ubuntu7

---------------
libvirt (0.7.0-1ubuntu7) karmic; urgency=low

  * debian/apparmor/libvirt-qemu: add chown capability (LP: #434417)

 -- Jamie Strandboge <email address hidden> Tue, 22 Sep 2009 08:03:21 -0500

Changed in libvirt (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.