stgraber@dakara:~$ lxc exec zesty bash root@zesty:~# tmux lost server root@zesty:~# tty not a tty root@zesty:~# echo $? 0 root@zesty:~# dpkg -i *.deb (Reading database ... 26464 files and directories currently installed.) Preparing to unpack libc-bin_2.24-7ubuntu3_amd64.deb ... Unpacking libc-bin (2.24-7ubuntu3) over (2.24-7ubuntu2) ... Preparing to unpack libc6_2.24-7ubuntu3_amd64.deb ... Unpacking libc6:amd64 (2.24-7ubuntu3) over (2.24-7ubuntu2) ... Setting up libc6:amd64 (2.24-7ubuntu3) ... Setting up libc-bin (2.24-7ubuntu3) ... Processing triggers for man-db (2.7.6.1-1) ... root@zesty:~# tty /proc/self/fd/0 root@zesty:~# echo $? 0 root@zesty:~# tmux [exited] root@zesty:~#
stgraber@dakara:~$ lxc exec zesty bash 2.24-7ubuntu3_ amd64.deb ... 24-7ubuntu3_ amd64.deb ...
root@zesty:~# tmux
lost server
root@zesty:~# tty
not a tty
root@zesty:~# echo $?
0
root@zesty:~# dpkg -i *.deb
(Reading database ... 26464 files and directories currently installed.)
Preparing to unpack libc-bin_
Unpacking libc-bin (2.24-7ubuntu3) over (2.24-7ubuntu2) ...
Preparing to unpack libc6_2.
Unpacking libc6:amd64 (2.24-7ubuntu3) over (2.24-7ubuntu2) ...
Setting up libc6:amd64 (2.24-7ubuntu3) ...
Setting up libc-bin (2.24-7ubuntu3) ...
Processing triggers for man-db (2.7.6.1-1) ...
root@zesty:~# tty
/proc/self/fd/0
root@zesty:~# echo $?
0
root@zesty:~# tmux
[exited]
root@zesty:~#