virsh's "define" does not create apparmor profiles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Invalid
|
Undecided
|
Jamie Strandboge |
Bug Description
I downloaded a VMWare Appliance. I convertet the disk image to qcow2 using qemu-img convert and copied the result to /var/lib/
When I run "start NameOfMyVM", virsh gives me the following error:
Fehler: Domain NameOfMyVM konnte nicht gestartet werden
Fehler: could not remove profile for 'libvirt-
tail'ing /var/log/syslog, I get the following:
Dec 13 13:22:18 hobbes NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/
Dec 13 13:22:18 hobbes NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/
Dec 13 13:22:18 hobbes NetworkManager: <WARN> device_creator(): /sys/devices/
Dec 13 13:22:18 hobbes kernel: [10456.128148] device vnet0 entered promiscuous mode
Dec 13 13:22:18 hobbes kernel: [10456.128552] virbr0: topology change detected, propagating
Dec 13 13:22:18 hobbes kernel: [10456.128556] virbr0: port 1(vnet0) entering forwarding state
Dec 13 13:22:18 hobbes libvirtd: 13:22:18.771: error : virSecurityRepo
Dec 13 13:22:18 hobbes libvirtd: 13:22:18.771: error : qemudSecurityHo
Dec 13 13:22:18 hobbes libvirtd: 13:22:18.778: error : virExecDaemoniz
Dec 13 13:22:18 hobbes kernel: [10456.173247] virbr0: port 1(vnet0) entering disabled state
Dec 13 13:22:18 hobbes NetworkManager: SCPlugin-Ifupdown: devices removed (path: /sys/devices/
Dec 13 13:22:18 hobbes kernel: [10456.213150] device vnet0 left promiscuous mode
Dec 13 13:22:18 hobbes kernel: [10456.213160] virbr0: port 1(vnet0) entering disabled state
Dec 13 13:22:18 hobbes libvirtd: 13:22:18.886: error : qemudReadLogOut
Dec 13 13:22:18 hobbes libvirtd: 13:22:18.886: error : qemudWaitForMon
Dec 13 13:22:18 hobbes libvirtd: 13:22:18.905: error : virRun:833 : internal error '/usr/bin/
Dec 13 13:22:18 hobbes libvirtd: 13:22:18.905: error : virSecurityRepo
When googling for these errors I found several bigreports regarding libvort and apparmor, all of which are marked as fixed. Looking at /etc/apparmor.
I previoisly created a working kvm-VM from scratch (read: install OS from iso-image) using virt-manager (the GUI).
ProblemType: Bug
Architecture: amd64
Date: Sun Dec 13 13:07:06 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
Package: libvirt-bin 0.7.0-1ubuntu13.1
ProcEnviron:
SHELL=/bin/bash
LANG=de_DE.UTF-8
LANGUAGE=
ProcVersionSign
SourcePackage: libvirt
Uname: Linux 2.6.31-16-generic x86_64
Thank you for using Ubuntu and taking the time to report a bug.
libvirt does not create a profile during the define stage, but rather when the VM is started. Can you attach the "myvm.libvirt" you used?