[Bug 1553097] Re: lxc-attach does not output stderr any more if stdout is redirected

2016-03-08 Thread Christian Brauner
** Changed in: lxc (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1553097

Title:
  lxc-attach does not output stderr any more if stdout is redirected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1553097/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1553097] Re: lxc-attach does not output stderr any more if stdout is redirected

2016-03-04 Thread Christian Brauner
** Changed in: lxc (Ubuntu)
   Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1553097

Title:
  lxc-attach does not output stderr any more if stdout is redirected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1553097/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1553097] Re: lxc-attach does not output stderr any more if stdout is redirected

2016-03-04 Thread Christian Brauner
Fix proposed (https://github.com/lxc/lxc/pull/873). Tests are included
as well.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1553097

Title:
  lxc-attach does not output stderr any more if stdout is redirected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1553097/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1553097] Re: lxc-attach does not output stderr any more if stdout is redirected

2016-03-04 Thread Serge Hallyn
As I understand the code to work, it should do exactly what pitti wants.
Those fds which were not redirected should get a pty allocated, so in
your example you should in fact see stderr output.

So I think this is a bug and no new flag should be needed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1553097

Title:
  lxc-attach does not output stderr any more if stdout is redirected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1553097/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1553097] Re: lxc-attach does not output stderr any more if stdout is redirected

2016-03-04 Thread Martin Pitt
Given that this seems to be somewhat brittle, would you mind adding some
integration tests for lxc-attach for various combinations of
stdin/stdout/stderr redirection?

** Changed in: lxc (Ubuntu)
   Importance: Undecided => High

** Changed in: lxc (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1553097

Title:
  lxc-attach does not output stderr any more if stdout is redirected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1553097/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs