Bug 522710 - char device redirected to /dev/pts/1 qemu: could not load kernel
Summary: char device redirected to /dev/pts/1 qemu: could not load kernel
Keywords:
Status: CLOSED DUPLICATE of bug 523960
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-11 06:55 UTC by Jens Petersen
Modified: 2009-09-24 15:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-24 15:32:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
virt-manager.log (9.99 KB, text/plain)
2009-09-18 05:47 UTC, Jens Petersen
no flags Details

Description Jens Petersen 2009-09-11 06:55:44 UTC
Description of problem:
I can't seem to boot install images from virt-manager.

Version-Release number of selected component (if applicable):
virt-manager-0.8.0-2.fc12

How reproducible:
every time

Steps to Reproduce:
1. install rawhide, set permissive and reboot
2. try to install guest
3. click Finish
  
Actual results:
Unable to complete install '<class 'libvirt.libvirtError'> internal error unable to start guest: char device redirected to /dev/pts/1
qemu: could not load kernel '/home/someone/.virtinst/boot/virtinst-vmlinuz.gueuuA'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1489, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.6/site-packages/libvirt.py", line 1077, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error unable to start guest: char device redirected to /dev/pts/1
qemu: could not load kernel '/home/someone/.virtinst/boot/virtinst-vmlinuz.gueuuA'

'

Expected results:
no backtrace

Comment 1 Jens Petersen 2009-09-11 06:58:18 UTC
virt-install looks ok

Comment 2 Mark McLoughlin 2009-09-11 14:04:51 UTC
Could you include ~/.virt-manager/virt-manager.log and /var/lib/libvirt/qemu/$guest.log?

If you do chmod o+x /home/someone does it work?

qemu now runs as the qemu user instead of root. See:

  http://libvirt.org/drvqemu.html#securitydac

Comment 3 Jens Petersen 2009-09-18 05:46:10 UTC
(In reply to comment #2)
> Could you include ~/.virt-manager/virt-manager.log and
> /var/lib/libvirt/qemu/$guest.log?

Ok

> If you do chmod o+x /home/someone does it work?

No

> qemu now runs as the qemu user instead of root.

Good to know

Comment 4 Jens Petersen 2009-09-18 05:47:22 UTC
Created attachment 361597 [details]
virt-manager.log

Comment 5 Jens Petersen 2009-09-18 05:48:11 UTC
/var/lib/libvirt/qemu/ is empty

Comment 6 Mark McLoughlin 2009-09-21 13:40:39 UTC
How about "chmod o+x /home/petersen/.virtinst /home/petersen/.virtinst/boot" ?

See bug #523960

Log file is in /var/log/libvirt/qemu

Comment 7 Jens Petersen 2009-09-22 03:11:26 UTC
(In reply to comment #6)
> How about "chmod o+x /home/petersen/.virtinst /home/petersen/.virtinst/boot" ?

Bingo - thanks!

So is this a duplicate of bug 523960?

> Log file is in /var/log/libvirt/qemu

Ok, do you still need it?

Comment 8 Cole Robinson 2009-09-24 15:32:53 UTC
Nope, log file shouldn't be required. Duping to 523960

*** This bug has been marked as a duplicate of bug 523960 ***


Note You need to log in before you can comment on or make changes to this bug.