Hi folks :), I migrated the host from the Debian Squeeze to Ubuntu 12.10. Old containers work but I can't use the ssh command, /dev/tty is missing. On a new container, /dev/tty is here. The libvirt configuration is the same. Any ideas? Thanks. -- Sebastien Douche <sdouche at gmail.com> Twitter: @sdouche / G+: +sdouche
On Thu, Apr 04, 2013 at 03:22:54PM +0200, Sebastien Douche wrote:> Hi folks :), > I migrated the host from the Debian Squeeze to Ubuntu 12.10. Old > containers work but I can't use the ssh command, /dev/tty is missing. > On a new container, /dev/tty is here. The libvirt configuration is the > same.Libvirt never creates any /dev/tty node, and /dev is a tmpfs created each time the container starts, so the only reason a /dev/tty could exist is if something you are running inside the container created it. The console devices libvirt creates are /dev/tty0, /dev/tty1, etc, with tty0 obviously being the first/primary one. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
Hi Sebastien. Which SSH connectivity did you lose? From the hypervisor to the VM's? Did you started the VM's? Can you telnet TCP 22 port on the VM from the hypervisor? Are you able to use livbirt-manager to connect first to the hypervisor then (in case it's configured) to the VNC service running on the VM in order to access to it through a GUI? Regards. Javier 2013/4/4 Sebastien Douche <sdouche at gmail.com>> Hi folks :), > I migrated the host from the Debian Squeeze to Ubuntu 12.10. Old > containers work but I can't use the ssh command, /dev/tty is missing. > On a new container, /dev/tty is here. The libvirt configuration is the > same. > > > Any ideas? > Thanks. > > > -- > Sebastien Douche <sdouche at gmail.com> > Twitter: @sdouche / G+: +sdouche > > _______________________________________________ > libvirt-users mailing list > libvirt-users at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130404/ab1ebee5/attachment.htm>
Sebastien Douche
2013-May-31 14:13 UTC
Re: [libvirt-users] /dev/tty only on a new container
On Thu, Apr 4, 2013 at 3:22 PM, Sebastien Douche <sdouche@gmail.com> wrote:> I migrated the host from the Debian Squeeze to Ubuntu 12.10. Old > containers work but I can't use the ssh command, /dev/tty is missing. > On a new container, /dev/tty is here. The libvirt configuration is the > same.Hi, I'm back again with the same issue. After updated the server to Ubuntu 13.04, all LXC containers lost the /dev/tty device (can't create it manually). Same issue with a *fresh* LXC container. The "funny" thing is the container works fine if launched by lxc-start, so the problem seems to be with the container configuration. I'm lost. Ubuntu bug or just stupid brain? -- Sebastien Douche <sdouche@gmail.com> Twitter: @sdouche / G+: +sdouche
Seemingly Similar Threads
- Cannot connect to the existing LXC containers (console)
- [virt-tools-list] virt-make-fs: Partition 1 has different physical/logical beginnings and endings
- "ext2: parent directory not found" with Ubuntu 12.04
- A RFE for libvirt
- The LXC container propagate the ro remount to the host mount point