[BUG] - There is a bug in LXC..or i am not sure anymore

How to create this this bug.

Step 1: Start your LXC through luci.
Step 2: ssh to your Omnia

Step 3: connect to your LXC using lxc-attach -n <lxc-name>. Type a few commands to confirm everything works fine.

Step 4: In luci stop the LXC and start it back on.

Step 5: You will be kicked out of the lxc because you lost connect to it (restarted). Now again connect back to it using lxc-attach -n <lxc-name>.

Step 6: Now try to type anything, you will not see your command, only what is the output of that command.

root@turris:~# ls -a
.           ..          .viminfo    .wget-hsts  apps
root@turris:~# lxc-attach -n K-Router-LXC
root@LXC_NAME:~# ls -a
.  ..  .bash_history  .bashrc  .profile  .viminfo
root@LXC_NAME:~# root@turris:~# ls
apps
root@turris:~# lxc-attach -n K-Router-LXC
root@LXC_NAME:~# root@LXC_NAME:~# root@LXC_NAME:~# root@LXC_NAME:~# .  ..  .bash_history  .bashrc  .profile  .viminfo
root@LXC_NAME:~# 

Could somebody try this out and confirm if it is indeed a bug? If so, i have never submitted a bug, so maybe somebody could submit the bug or show me how is done.

The terminal is in a weird state. Try running reset or opening a new terminal.

If i exit out of LXC and also exit out of Omnia, then login back in again, then everything works. So that isn’t big of a problem.

I thought i would mention it, so people would be aware of it.