[Bug 498251] [NEW] libvirtd fails to run user defined emulator permission denied
Mike Power
mpower at alumni.calpoly.edu
Fri Dec 18 17:06:21 GMT 2009
Public bug reported:
I used a bash script to set some kvm specific parameters at the start of
the vm.
The script looks like:
#!/bin/bash
exec /usr/bin/kvm -vga std $@
Permissions on the file are -rwxr-xr-x 1 root root 43 2009-12-04 10:16
/usr/local/bin/kvm-std-vga.sh
One virtual machine was setup to use this:
<emulator>/usr/local/bin/kvm-std-vga.sh</emulator>
This worked fine prior to 9.10 but after 9.10 I get the following error:
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 493, in run_domain
vm.startup()
File "/usr/share/virt-manager/virtManager/domain.py", line 558, in startup
self.vm.create()
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 293, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error unable to start guest: libvir: error : cannot execute binary /usr/local/bin/kvm-std-vga.sh: Permission denied
Seems libvirtd is making more assumptions about the emulator then it
used to.
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
** Tags: emulator kvm libvirtd std vga
--
libvirtd fails to run user defined emulator permission denied
https://bugs.launchpad.net/bugs/498251
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
More information about the Ubuntu-server-bugs
mailing list