<div dir='auto'>This is likely not lxc-attach's fault. It seems that timeout is sending SIGTTOU to the process it monitors. If you send this to a tty it will stop until it receives a continue signal. So this behaviour is, I'd argue, correct. Newer versions of lxc-attach allocate a tty whenever they can to prevent various known exploits when setns()ing to a container's namespaces. This change has indeed been introduced with LXC 2.*.*.</div>