*** This bug is a duplicate of bug 1522755 ***
https://bugs.launchpad.net/bugs/1522755
Actually, it doesn't. When stdin isn't a terminal, LXD will go into
interactive mode, which means assigning a single PTS device for stdin,
stdout and stderr. The pts driver is the one injecting those \r, not
LXD.
Passing /dev/null or any other non-terminal as stdin will have LXD do the right
thing.
A patch has also been sent upstream to add a new --mode option to override the
behavior without having to close the real stdin.
As such, this bug is a duplicate of the other one and I'll mark it as
such.
** This bug has been marked a duplicate of bug 1522755
lxc exec outputs stderr on host's stdout
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1522753
Title:
lxc exec mangles line endings
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1522753/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs