<div dir="ltr"><div>Hello !</div><div>I'm using version LXC 0.9.0. And noticed a problem :</div><div>When run in lxc-attach program using the input (eg VI) displayed on the screen outsider output ( looks like stdin simultaneously reads multiple processes )</div>
<div>Ie when you press the arrow keys in the VI screen printed characters such as "[C ^ [[D ^ [[A ^ [[B"</div><div><br></div><div>linux environment and collect in buildroot ( tested with Veris buildroot 2011.02, 2014.02 and linux kernel 2.6.39.2, 3.0.101)</div>
<div><br></div><div>LXC I assembled the directory / tmp / lxc / bin /</div><div>Run so : / tmp / lxc / bin / lxc-execute-n guest-f config - vi</div><div><br></div><div>config:</div><div>lxc.utsname = guest</div><div>lxc.rootfs = / tmp / tst / guest / rootfs</div>
<div>lxc.mount.entry = / tmp / lib / tmp / tst / guest / rootfs / lib none ro, bind 0 0</div><div># lxc.mount.entry = / tmp/lib64 / tmp/tst/guest/rootfs/lib64 none ro, bind 0 0</div><div># lxc.mount.entry = / tmp/usr/lib64 / tmp/tst/guest/rootfs/usr/lib64 none ro, bind 0 0</div>
<div>lxc.mount.entry = / tmp / bin / tmp / tst / guest / rootfs / bin none ro, bind 0 0</div><div>lxc.mount.entry = / tmp / usr / bin / tmp / tst / guest / rootfs / usr / bin none ro, bind 0 0</div><div>lxc.mount.entry = / tmp / usr / lib / tmp / tst / guest / rootfs / usr / lib none ro, bind 0 0</div>
<div>lxc.mount.entry = / tmp / usr / share / tmp / tst / guest / rootfs / usr / share none ro, bind 0 0</div><div>lxc.mount.entry = / tmp / sbin / tmp / tst / guest / rootfs / sbin none ro, bind 0 0</div><div># lxc.cgroup.cpuset.cpus = 1</div>
<div><br></div><div>lxc.cgroup.devices.deny = a # Deny all access to devices</div><div><br></div><div>lxc.cgroup.devices.allow = c 1:3 rwm # dev / null</div><div>lxc.cgroup.devices.allow = c 1:5 rwm # dev / zero</div><div>
<br></div><div>lxc.cgroup.devices.allow = c 5:1 rwm # dev / console</div><div>lxc.cgroup.devices.allow = c 5:0 rwm # dev / tty</div><div>lxc.cgroup.devices.allow = c 4:0 rwm # dev/tty0</div><div><br></div><div>lxc.cgroup.devices.allow = c 1:9 rwm # dev / urandom</div>
<div>lxc.cgroup.devices.allow = c 1:8 rwm # dev / random</div><div>lxc.cgroup.devices.allow = c 136 : * rwm # dev / pts / *</div><div>lxc.cgroup.devices.allow = c 5:2 rwm # dev / pts / ptmx</div><div><br></div><div>lxc.cgroup.devices.allow = c 254:0 rwm</div>
<div><br></div><div>lxc.tty = 5</div><div>lxc.pts = 1024</div></div>