[libvirt] [PATCH] lxc: Bind mount container TTYs
Daniel P. Berrange
berrange at redhat.com
Wed Nov 18 11:33:24 UTC 2015
On Tue, Jun 23, 2015 at 04:38:57PM +0200, Richard Weinberger wrote:
> 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 /dev/securetty.
>
> Signed-off-by: Richard Weinberger <richard at nod.at>
> ---
> src/lxc/lxc_container.c | 38 +++++++++++++++++++++-----------------
> 1 file changed, 21 insertions(+), 17 deletions(-)
ACK, no idea why we didn't think of this approach sooner :-)
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 :|
More information about the libvir-list
mailing list