** Changed in: lxc (Ubuntu)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc 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:
  Fix Committed

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to