[Bug 1522755] Re: lxc exec outputs stderr on host's stdout

2015-12-09 Thread Launchpad Bug Tracker
This bug was fixed in the package lxd - 0.24-0ubuntu2 --- lxd (0.24-0ubuntu2) xenial; urgency=medium * Cherry-pick the following upstream bugfixes: (LP: #1522755) - 0001-Introduce-a-new-mode-option-to-exec.patch - 0002-remove-extra-debugging-statement.patch - 0003-genera

[Bug 1522755] Re: lxc exec outputs stderr on host's stdout

2015-12-08 Thread Stéphane Graber
I just sent the --mode change upstream: https://github.com/lxc/lxd/pull/1383 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522755 Title: lxc exec outputs stderr on host's stdout To manage notifica

[Bug 1522755] Re: lxc exec outputs stderr on host's stdout

2015-12-08 Thread Stéphane Graber
I wrote a patch for the new --mode argument which I'll be submitting upstream very soon (want to bundle the other exec fix). ** Changed in: lxd (Ubuntu) Status: New => In Progress ** Changed in: lxd (Ubuntu) Assignee: (unassigned) => Stéphane Graber (stgraber) -- You received this b

[Bug 1522755] Re: lxc exec outputs stderr on host's stdout

2015-12-08 Thread Stéphane Graber
So that's actually expected behavior though I'll add a flag to force non-interactive mode. The way exec works is: - If stdin is a tty, use interactive mode - If stdin isn't a tty, use non-interactive mode In interactive mode, a pts device is allocated and used for stdin, stdout and stderr, sam