lxc-attach does not work any more with input redirection
Bug #1551960 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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_
# 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.
Changed in autopkgtest (Ubuntu): | |
importance: | Undecided → High |
tags: | added: regression-release xenial |
Changed in lxc (Ubuntu): | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Martin, can you please try with a fresh build from current lxc master and report if the error still persists?