** Description changed: + ================================= + SRU Justification: + 1. Impact: libvirt cannot start VMs immediately after qemu-kvm install. + 2. Development fix: remove the acl which is preventing libvirt-qemu from opening /dev/kvm. + 3. Stable fix: same as development fix + 4. Test case: + sudo apt-get purge qemu-kvm || true + sudo modprobe kvm_intel (or kvm_amd depending on the machine) + sudo apt-get install qemu-kvm + getfacl /dev/kvm | grep 'group::---' + # this should show nothing if the bug is fixed + 5. Regression potential: there should be none as we are simply removing a bad + acl from the /dev/kvm device. + ================================= + The following occurred on a fresh quantal installation attmpting to create a quantal vm, both host and guest were amd64. Unable to complete install: 'internal error Process exited while reading console log output: char device redirected to /dev/pts/1 Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied No accelerator found! ' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/create.py", line 1943, in do_install guest.start_install(False, meter=meter) File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1246, in start_install noboot) File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1314, in _create_guest dom = self.conn.createLinux(start_xml or final_xml, 0) File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2501, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied No accelerator found! ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: libvirt-bin 0.9.13-0ubuntu10 ProcVersionSignature: Ubuntu 3.5.0-15.23-generic 3.5.4 Uname: Linux 3.5.0-15-generic x86_64 ApportVersion: 2.5.2-0ubuntu4 Architecture: amd64 Date: Wed Sep 26 17:40:25 2012 InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120926) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: libvirt UpgradeStatus: No upgrade log present (probably fresh install)
** Changed in: qemu-kvm (Ubuntu Quantal) Importance: Undecided => Medium ** Changed in: qemu-kvm (Ubuntu Quantal) Status: New => Triaged ** Changed in: qemu-kvm (Ubuntu Quantal) Importance: Medium => High ** Changed in: qemu-kvm (Ubuntu Precise) Importance: Undecided => High ** Changed in: qemu-kvm (Ubuntu Precise) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1057024 Title: kvm kernel module always loaded, without setting /dev/kvm permissions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1057024/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs