https://bugzilla.novell.com/show_bug.cgi?id=685593 https://bugzilla.novell.com/show_bug.cgi?id=685593#c0 Summary: libvirt/qemu_kvm fails to open serial device as type 'file' Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pmullaney@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0 When configuring a serial port device as type file under libvirt, such as: <serial type="file"> <source path='/var/lib/nova/instances/instance-00000009/console.log'/> <target port='1'/> </serial>> I get the following error: virsh # start instance-00000009 error: Failed to start domain instance-00000009 error: internal error Process exited while reading console log output: qemu_open: name /var/lib/nova/instances/instance-00000009/console.log flags 1101 mode 666 qemu_open: ret -1 errno 13 error Permission denied chardev: bad fd -1 chardev: opening backend "file" failed I have traced the permission denied error to qemu-char.c in kvm - in qemu_chr_open_file_out, the open of the specified file fails. I have noticed that the file seems to exist at the time of the open call but does not exist before the start in libvirt. Reproducible: Always Steps to Reproduce: 1. Using the attached instance-00000009 tarball 2. untar in /var/lib/nova/instances/ 3. use virsh to define instance-00000009 and start -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.