[Bug 1551960] Re: lxc-attach does not work any more with input redirection
Christian Brauner
christian.brauner at mailbox.org
Tue Mar 1 21:40:17 UTC 2016
Nevermind. You have the newest version.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1551960
Title:
lxc-attach does not work any more with input redirection
Status in autopkgtest package in Ubuntu:
New
Status in lxc package in Ubuntu:
New
Bug description:
LXC 2.0.0~rc{2,3,4} break autopkgtest's LXC runner. Downgrading to
2.0.0~rc1 works again. The issue is that lxc-attach stops working
properly with input redirection.
# lxc-start -n a
Until 2.0.0~rc1 I could redirect lxc-attach's stdout:
# lxc-attach -n a runlevel </dev/null 2>/dev/null |cat
N 5
But now this does not work any more:
# lxc-attach -n a runlevel
N 5
# lxc-attach -n a runlevel </dev/null
lxc-attach: console.c: lxc_console_cb_tty_master: 683 Bad file descriptor - failed to write
# lxc-attach -n a runlevel </dev/null 2>/dev/null
# lxc-attach -n a runlevel </dev/null 2>/dev/null | cat
#
I. e. the last two commands don't have any output at all any more.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1551960/+subscriptions
More information about the foundations-bugs
mailing list