On Thu, Oct 24, 2013 at 12:10:53PM -0700, Sukadev Bhattiprolu wrote:
Is there a reason libvirt does not create /dev/tty in a LXC container ?
You're not mentioning what version of libvirt you're using. This was
added recently
commit 9a0ac6d9c21b914f887d2a1e0051b5beffa81bd7
Author: Richard Weinberger <richard(a)nod.at>
Date: Tue Jul 9 11:05:14 2013 +0100
LXC: Create /dev/tty within a container
Many applications use /dev/tty to read from stdin.
e.g. zypper on openSUSE.
Let's create this device node to unbreak those applications.
As /dev/tty is a synonym for the current controlling terminal
it cannot harm the host or any other containers.
Signed-off-by: Richard Weinberger <richard(a)nod.at>
Available in release 1.1.1 or later.
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 :|