SDL support broken when using apparmor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge | ||
Lucid |
Fix Released
|
Medium
|
Jamie Strandboge |
Bug Description
Although SDL works perfectly with QEMU/KVM itself the appropriate support using libvirt is completely broken.
System info:
$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
$ uname -a
Linux workstation 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:12 UTC 2010 x86_64 GNU/Linux
$ apt-cache policy libvirt0
libvirt0:
Installed: 0.7.5-5ubuntu13
Candidate: 0.7.5-5ubuntu13
Version table:
*** 0.7.5-5ubuntu13 0
500 http://
100 /var/lib/
Example domain XML excerpt:
$ virsh -c qemu:///system dumpxml aria | grep graphics
<graphics type='sdl' display=':0.0' xauth='
...virsh invocation:
$ sudo virsh -c qemu:///system start aria
error: Failed to start domain aria
error: monitor socket did not show up.: Connection refused
Contents of /var/log/
LC_ALL=C PATH=/usr/
char device redirected to /dev/pts/7
pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
No protocol specified
No protocol specified
~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
-
(*) DirectFB/Core: Single Application Core. (2010-02-03 18:27)
(*) Direct/Memcpy: Using libc memcpy()
(!) Direct/Util: opening '/dev/fb0' failed
--> Permission denied
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
--> Initialization error!
Could not initialize SDL - exiting
Taking that logged command-line and executing it in a terminal works perfectly (at least the X window shows up and without parameter "-S" the VM boots fine).
Changed in libvirt (Ubuntu): | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
milestone: | none → ubuntu-10.04-beta-2 |
tags: | added: apparmor lucid |
Changed in libvirt (Ubuntu Lucid): | |
status: | Triaged → In Progress |
summary: |
- SDL support broken + SDL support broken when using apparmor |
Changed in libvirt (Ubuntu Lucid): | |
status: | In Progress → Fix Committed |
Can you please attach the output of the following command:
$ dmesg | grep audit