Public bug reported:
lxc exec does not maintain stdout and stderr from the guest command, but
seems to put everything on stdout:
$ sh -c 'echo stderr >&2' 2>/dev/null
$
$ lxc exec x1 -- sh -c 'echo stderr >&2' 2>/dev/null
stderr
$
In the second command, you should not see "stderr".
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lxd 0.23-0ubuntu3
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Uname: Linux 4.2.0-19-generic x86_64
ApportVersion: 2.19.2-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Dec 4 10:38:50 2015
EcryptfsInUse: Yes
SourcePackage: lxd
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: lxd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug autopkgtest third-party-packages xenial
** Tags added: autopkgtest
--
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1522755/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs