[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
Per the fedora bug, I believe this should be fixed in natty and oneiric. ** Changed in: libvirt (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/523148 Title: virsh console does not work (/dev/pts/1: Permission denied) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/523148/+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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
** Changed in: libvirt (Ubuntu) Assignee: Dustin Kirkland (kirkland) => (unassigned) -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
As this is a feature that needs to be added to Libvirt, this won't be fixed for Lucid. Marking wont-fix in Lucid, but leaving the bug open for tracking beyond Lucid. Unassigning myself for now. ** Changed in: libvirt (Ubuntu Lucid) Status: Triaged => Won't Fix ** Changed in: libvirt (Ubuntu Lucid) Assignee: Dustin Kirkland (kirkland) => (unassigned) -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
** Changed in: libvirt (Ubuntu Lucid) Assignee: (unassigned) => Dustin Kirkland (kirkland) -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
** Changed in: libvirt (Debian) Status: New => Invalid ** Tags removed: fixed-in-0.7.7 -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
OK, I'll try to straighten this out. - This bug was opened against Karmic, reporting an issue where attaching to the console would give 'Permission denied' (see the subject of the bug). - Jules D and myself tried to use the console in Lucid and ran into an issue with error "unable to open tty /dev/pts/3 : No such file or directory". bug 542324 was opened to address *that* issue in lucid, which was not present in karmic. bug 542324 was fixed using the git commit that Chuck pointed at in this bug, backported to 0.7.5. - The debian bug (567818) above should not be attached to this bug. However, there is apparently no way to un-attach a linked bug. - The "Permission denied" error that is the subject of this bug is not fixed in 0.7.7 that I know of. The RedHat/Fedora generally discusses that this is not a trivial thing to fix, and rather a feature that needs to be added. -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
I think that two different things are being talked about. Chuck mentioned a commit that fixes the bug. That commit is in 0.7.7 but seems unrelated to what Scott is referring to, which is not yet fixed. ** Changed in: libvirt (Ubuntu Lucid) Assignee: Jamie Strandboge (jdstrand) => (unassigned) -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
@Scott- Sorry, I was taking Jamie's word for it. -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
@Dustin, Where do you see that this is fixed in 0.7.7 ? I see no evidence of that, the RedHat bug is in 'assigned'. Note, as I mentioned above, the debian linked here is incorrect (the debian bug fixes bug 542324, a separate issue). -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
This is in 0.7.7, which Jamie is trying to get uploaded to Lucid (assuming that we can fix any regressions). When/if he uploads that version, it will fix this issue. If we stick with 0.7.5, we can cherry pick that patch. ** Also affects: libvirt (Ubuntu Lucid) Importance: Medium Status: Triaged ** Tags added: fixed-in-0.7.7 ** Changed in: libvirt (Ubuntu Lucid) Assignee: (unassigned) => Jamie Strandboge (jdstrand) -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
** Also affects: libvirt (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=490191 Importance: Unknown Status: Unknown ** Changed in: libvirt (Debian) Importance: Unknown => Undecided ** Changed in: libvirt (Debian) Status: Unknown => New ** Changed in: libvirt (Debian) Remote watch: Debian Bug tracker #567818 => None -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
The debian bug above should be un-linked from this bug. I'm not all together sure that the reported behavior *is* a bug. Has this ever worked? What I see in lucid, after fixing bug 542324 is that the non-root user cannot use 'console'. Has non-root ever been able to use virsh console ? If so, what was setting permissions correctly ? $ ls -l /dev/pts/4 crw--w 1 root tty 136, 4 2010-03-19 19:27 /dev/pts/4 Those are the permissions that I get on the libvirt created tty. I believe that the bug reported here is the same as https://bugzilla.redhat.com/show_bug.cgi?id=490191 . ** Bug watch added: Red Hat Bugzilla #490191 https://bugzilla.redhat.com/show_bug.cgi?id=490191 -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
@Jules. I've opened bug 542324 to attach the problem you saw, and subscribed you to that bug. -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
I can verify that the linked git patch fixes the problem that Jules saw above. -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
Yes I think you are true. But the Debian bug (debbugs #567818) in relation to this bug is the same. Maybe I could try to report my bug as a new one? I already check the xml configuration of my VM. Apparently, this path is created directly by the hypervisor when the VM is started. I tried to set up it in the configuration file with "virsh edit", but libvirt didn't commit the modification (even if the VM is not started). And apparently, this bug is fixed in libvirt 0.7.5 (http://libvirt.org/git/?p=libvirt.git;a=commit;h=c0a9b6a5338e54b64a4a28415ffbdb6bcc2b38c5). -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
Jules: I think your issue is different - my bug is about permissions but the device path is ok. Your bug appears to have some weird device path - causing the device to not be found. Check your XML definition in /etc/libvirt/qemu/guest1.xml -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
I have approximatively the same problem on Lucid server - alpha 3. # virsh console guest1 Connected to domain guest1 Escape character is ^] 14:25:40.056: error : vshRunConsole:77 : unable to open tty /dev/pts/3 : No such file or directory When I dump the configuration of my VM, something is wrong with the path "/dev/pts/3" (there is a carriage return after the path). # virsh dumpxml guest1 guest1 ... '/> '> ... -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
** Bug watch added: Debian Bug tracker #567818 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567818 ** Also affects: libvirt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567818 Importance: Unknown Status: Unknown -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
http://libvirt.org/git/?p=libvirt.git;a=blobdiff;f=src/qemu/qemu_monitor_text.c;h=5b9ced21402fe1712f0e4db89bdf9f1d695159ff;hp=ab361c6f2b528592d1f96bb1846483fdf80536b1;hb=c0a9b6a5338e54b64a4a28415ffbdb6bcc2b38c5;hpb=aee70b7482b4eb7c69f5cacfeb364000294300aa Is the supposed fix. ** Changed in: libvirt (Ubuntu) Importance: Undecided => Medium ** Changed in: libvirt (Ubuntu) Status: New => Triaged -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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
[Bug 523148] Re: virsh console does not work (/dev/pts/1: Permission denied)
Confirmed under Karmic. -- virsh console does not work (/dev/pts/1: Permission denied) https://bugs.launchpad.net/bugs/523148 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- 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