]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
lxc: Bind mount container TTYs
authorRichard Weinberger <richard@nod.at>
Tue, 23 Jun 2015 14:38:57 +0000 (16:38 +0200)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Nov 2015 11:29:48 +0000 (11:29 +0000)
commit370707a7a9109e8b7419e626bd6954fa041a7d23
tree40034c524e28c3f4d82382fc2ef67ca998fa759d
parentea542455b48cd4fd468a7435fb7edece5f306b04
lxc: Bind mount container TTYs

Instead of creating symlinks, bind mount the devices to
/dev/pts/XY.
Using bind mounts it is no longer needed to add pts devices
to files like /etc/securetty.

Signed-off-by: Richard Weinberger <richard@nod.at>
src/lxc/lxc_container.c