[Bug 1551960] Re: lxc-attach does not work any more with input redirection

Martin Pitt martin.pitt at ubuntu.com
Wed Mar 2 07:13:06 UTC 2016


I locally applied https://github.com/lxc/lxc/commit/12752e2 to our
current package and built it. Now it looks better:

# lxc-attach -n a runlevel
N 5
# lxc-attach -n a runlevel </dev/null
N 5
# lxc-attach -n a runlevel </dev/null 2>/dev/null
N 5
# lxc-attach -n a runlevel </dev/null 2>/dev/null | cat

So redirecting stdin only now does not show this
"lxc_console_cb_tty_master: 683 Bad file" error any more, and
redirecting stderr now works too. But redirecting stdout in addition
still doesn't?

Maybe I'm missing another fix from trunk, though.

-- 
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/1551960

Title:
  lxc-attach does not work any more with input redirection

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



More information about the Ubuntu-server-bugs mailing list