]> git.ipfire.org Git - thirdparty/libvirt.git/commit
LXC: Create /dev/tty within a container
authorRichard Weinberger <richard@nod.at>
Tue, 9 Jul 2013 10:05:14 +0000 (11:05 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 9 Jul 2013 10:05:14 +0000 (11:05 +0100)
commit9a0ac6d9c21b914f887d2a1e0051b5beffa81bd7
treeb1be30a66344daae834fe7654bfeb7c7ce949489
parent2c94e00c6098662661cd67a10e982a32b6054a3c
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@nod.at>
src/lxc/lxc_controller.c