virsh console does not work (/dev/pts/1: Permission denied)
Bug #523148 reported by
Chris Bainbridge
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Debian) |
Invalid
|
Undecided
|
Unassigned | ||
libvirt (Fedora) |
Won't Fix
|
Medium
|
|||
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: libvirt-bin
$ virsh console host1
Connecting to uri: qemu:///system
Connected to domain host1
Escape character is ^]
11:17:06.610: error : vshRunConsole:77 : unable to open tty /dev/pts/1: Permission denied
Changed in libvirt (Debian): | |
importance: | Unknown → Undecided |
status: | Unknown → New |
Changed in libvirt (Debian): | |
status: | New → Invalid |
tags: | removed: fixed-in-0.7.7 |
Changed in libvirt (Ubuntu Lucid): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in libvirt (Ubuntu): | |
assignee: | Dustin Kirkland (kirkland) → nobody |
Changed in libvirt (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
To post a comment you must log in.
Description of problem:
Crating an domain using virt-manager of "virsh start" do not allow me open virtual serial console. Please change ownership of /dev/pts/# to user, who started virtual machine or set permissions to 660 and change group to an value defined in libvirtd.conf.
Another solution can be change ownership when virsh console command is started.
Version-Release number of selected component (if applicable): 0.6.1-1. fc10.i386 0.7.0-1. fc10.i386
libvirt-
virt-manager-
How reproducible:
always
Steps to Reproduce:
1. start an virtual machine with serial console enabled (or at least with serial port) as normal user (not root)
2. virsh --connect qemu:///system console machinename
Actual results:
unable to open tty /dev/pts/6: Permission denied0
Additional info:
ls -la /dev/pts/6
crw--w---- 1 root tty 136, 6 Mar 13 19:23 /dev/pts/6
Discussion on fedora-virt: /www.redhat. com/archives/ fedora- virt/2009- March/msg00039. html
https:/