]> 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)
committerCole Robinson <crobinso@redhat.com>
Thu, 11 Jul 2013 21:38:47 +0000 (17:38 -0400)
commit17cdc298acf4496d6fe5084b4668d916a8d0397a
tree31c35d9427d29e3617f4aa031f66713f8c8cd4fc
parent6cdff51fb3043043320d89ec38cf088f8eba1ca2
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>
(cherry picked from commit 9a0ac6d9c21b914f887d2a1e0051b5beffa81bd7)

Conflicts:
src/lxc/lxc_controller.c
src/lxc/lxc_container.c