[Touch-packages] [Bug 1389244] Re: lxc-info output different in terminal and file redirection

2015-11-09 Thread Stéphane Graber
Pretty sure we fixed that one a while back (and a similar issue in lxc-
autostart too).

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

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

Title:
  lxc-info output different in terminal and file redirection

Status in lxc package in Ubuntu:
  Fix Released

Bug description:
  -
  Versions information

  root@arachide:~# lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  root@arachide:~# apt-cache policy lxc
  lxc:
    Installed: 1.0.6-0ubuntu0.1
    Candidate: 1.0.6-0ubuntu0.1
    Version table:
   *** 1.0.6-0ubuntu0.1 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
  100 /var/lib/dpkg/status
   1.0.3-0ubuntu3 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  ---

  lxc-info output is different when displayed directly in the terminal
  or redirected to a file

  Expected: same content when displayed in term or redirected to a file
  Actual result: contents different

  This behavior broke a custom script which was working like a charm on
  Ubuntu 13.10 with lxc version 1.0.0~alpha1 amd64. This is working
  correctly as well on Ubuntu 14.04 with the stock trusty version of lxc
  in the main repo (1.0.3)

  How to reproduce:

  root@arachide:~# lxc-info -n my_lxc
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~# lxc-info -n my_lxc > test.txt
  root@arachide:~# cat test.txt
  Name:   my_lxc
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1389244/+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


[Touch-packages] [Bug 1389244] Re: lxc-info output different in terminal and file redirection

2014-11-12 Thread Olivier Clavel
** Description changed:

  -
  Versions information
  
  root@arachide:~# lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04
  
  root@arachide:~# apt-cache policy lxc
  lxc:
    Installed: 1.0.6-0ubuntu0.1
    Candidate: 1.0.6-0ubuntu0.1
    Version table:
   *** 1.0.6-0ubuntu0.1 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
  100 /var/lib/dpkg/status
   1.0.3-0ubuntu3 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  
  ---
  
  lxc-info output is different when displayed directly in the terminal or
  redirected to a file
  
  Expected: same content when displayed in term or redirected to a file
  Actual result: contents different
  
  This behavior broke a custom script which was working like a charm on
  Ubuntu 13.10 with lxc version 1.0.0~alpha1 amd64. This is working
  correctly as well on Ubuntu 14.04 with the stock trusty version of lxc
  in the main repo (1.0.3)
  
  How to reproduce:
  
  root@arachide:~# lxc-info -n my_lxc
  Name:   my_lxc
  State:  STOPPED
- root@arachide:~# lxc-info -n vfc-sla  test.txt
+ root@arachide:~# lxc-info -n my_lxc  test.txt
  root@arachide:~# cat test.txt
  Name:   my_lxc
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~#

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

Title:
  lxc-info output different in terminal and file redirection

Status in “lxc” package in Ubuntu:
  Confirmed

Bug description:
  -
  Versions information

  root@arachide:~# lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  root@arachide:~# apt-cache policy lxc
  lxc:
    Installed: 1.0.6-0ubuntu0.1
    Candidate: 1.0.6-0ubuntu0.1
    Version table:
   *** 1.0.6-0ubuntu0.1 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
  100 /var/lib/dpkg/status
   1.0.3-0ubuntu3 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  ---

  lxc-info output is different when displayed directly in the terminal
  or redirected to a file

  Expected: same content when displayed in term or redirected to a file
  Actual result: contents different

  This behavior broke a custom script which was working like a charm on
  Ubuntu 13.10 with lxc version 1.0.0~alpha1 amd64. This is working
  correctly as well on Ubuntu 14.04 with the stock trusty version of lxc
  in the main repo (1.0.3)

  How to reproduce:

  root@arachide:~# lxc-info -n my_lxc
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~# lxc-info -n my_lxc  test.txt
  root@arachide:~# cat test.txt
  Name:   my_lxc
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1389244/+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


[Touch-packages] [Bug 1389244] Re: lxc-info output different in terminal and file redirection

2014-11-11 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Importance: Undecided = High

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

Title:
  lxc-info output different in terminal and file redirection

Status in “lxc” package in Ubuntu:
  Confirmed

Bug description:
  -
  Versions information

  root@arachide:~# lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  root@arachide:~# apt-cache policy lxc
  lxc:
    Installed: 1.0.6-0ubuntu0.1
    Candidate: 1.0.6-0ubuntu0.1
    Version table:
   *** 1.0.6-0ubuntu0.1 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
  100 /var/lib/dpkg/status
   1.0.3-0ubuntu3 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  ---

  lxc-info output is different when displayed directly in the terminal
  or redirected to a file

  Expected: same content when displayed in term or redirected to a file
  Actual result: contents different

  This behavior broke a custom script which was working like a charm on
  Ubuntu 13.10 with lxc version 1.0.0~alpha1 amd64. This is working
  correctly as well on Ubuntu 14.04 with the stock trusty version of lxc
  in the main repo (1.0.3)

  How to reproduce:

  root@arachide:~# lxc-info -n my_lxc
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~# lxc-info -n vfc-sla  test.txt
  root@arachide:~# cat test.txt
  Name:   my_lxc
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1389244/+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


[Touch-packages] [Bug 1389244] Re: lxc-info output different in terminal and file redirection

2014-11-11 Thread Serge Hallyn
I believe what is happening is that some of the api bindings are forking
with un-flushed data in the stdout buffer;  then the data gets printed
on exit by each thread.

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

Title:
  lxc-info output different in terminal and file redirection

Status in “lxc” package in Ubuntu:
  Confirmed

Bug description:
  -
  Versions information

  root@arachide:~# lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  root@arachide:~# apt-cache policy lxc
  lxc:
    Installed: 1.0.6-0ubuntu0.1
    Candidate: 1.0.6-0ubuntu0.1
    Version table:
   *** 1.0.6-0ubuntu0.1 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
  100 /var/lib/dpkg/status
   1.0.3-0ubuntu3 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  ---

  lxc-info output is different when displayed directly in the terminal
  or redirected to a file

  Expected: same content when displayed in term or redirected to a file
  Actual result: contents different

  This behavior broke a custom script which was working like a charm on
  Ubuntu 13.10 with lxc version 1.0.0~alpha1 amd64. This is working
  correctly as well on Ubuntu 14.04 with the stock trusty version of lxc
  in the main repo (1.0.3)

  How to reproduce:

  root@arachide:~# lxc-info -n my_lxc
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~# lxc-info -n vfc-sla  test.txt
  root@arachide:~# cat test.txt
  Name:   my_lxc
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1389244/+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


[Touch-packages] [Bug 1389244] Re: lxc-info output different in terminal and file redirection

2014-11-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: lxc (Ubuntu)
   Status: New = Confirmed

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

Title:
  lxc-info output different in terminal and file redirection

Status in “lxc” package in Ubuntu:
  Confirmed

Bug description:
  -
  Versions information

  root@arachide:~# lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  root@arachide:~# apt-cache policy lxc
  lxc:
    Installed: 1.0.6-0ubuntu0.1
    Candidate: 1.0.6-0ubuntu0.1
    Version table:
   *** 1.0.6-0ubuntu0.1 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
  100 /var/lib/dpkg/status
   1.0.3-0ubuntu3 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  ---

  lxc-info output is different when displayed directly in the terminal
  or redirected to a file

  Expected: same content when displayed in term or redirected to a file
  Actual result: contents different

  This behavior broke a custom script which was working like a charm on
  Ubuntu 13.10 with lxc version 1.0.0~alpha1 amd64. This is working
  correctly as well on Ubuntu 14.04 with the stock trusty version of lxc
  in the main repo (1.0.3)

  How to reproduce:

  root@arachide:~# lxc-info -n my_lxc
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~# lxc-info -n vfc-sla  test.txt
  root@arachide:~# cat test.txt
  Name:   my_lxc
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1389244/+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


[Touch-packages] [Bug 1389244] Re: lxc-info output different in terminal and file redirection

2014-11-04 Thread Olivier Clavel
** Description changed:

  -
  Versions information
  
  root@arachide:~# lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04
  
  root@arachide:~# apt-cache policy lxc
  lxc:
-   Installed: 1.0.6-0ubuntu0.1
-   Candidate: 1.0.6-0ubuntu0.1
-   Version table:
-  *** 1.0.6-0ubuntu0.1 0
- 500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
- 100 /var/lib/dpkg/status
-  1.0.3-0ubuntu3 0
- 500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
+   Installed: 1.0.6-0ubuntu0.1
+   Candidate: 1.0.6-0ubuntu0.1
+   Version table:
+  *** 1.0.6-0ubuntu0.1 0
+ 500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
+ 100 /var/lib/dpkg/status
+  1.0.3-0ubuntu3 0
+ 500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  
  ---
  
  lxc-info output is different when displayed directly in the terminal or
  redirected to a file
  
- 
  Expected: same content when displayed in term or redirected to a file
  Actual result: contents different
  
- 
- This behavior broke a custom script which was working like a charm on Ubuntu 
13.10 with lxc version 1.0.0~alpha1 amd64. This is working correctly as well on 
Ubuntu 14.10 with the stock trusty version of lxc in the main repo (1.0.3)
+ This behavior broke a custom script which was working like a charm on
+ Ubuntu 13.10 with lxc version 1.0.0~alpha1 amd64. This is working
+ correctly as well on Ubuntu 14.04 with the stock trusty version of lxc
+ in the main repo (1.0.3)
  
  How to reproduce:
  
  root@arachide:~# lxc-info -n my_lxc
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~# lxc-info -n vfc-sla  test.txt
  root@arachide:~# cat test.txt
  Name:   my_lxc
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~#

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

Title:
  lxc-info output different in terminal and file redirection

Status in “lxc” package in Ubuntu:
  Confirmed

Bug description:
  -
  Versions information

  root@arachide:~# lsb_release -rd
  Description:  Ubuntu 14.04.1 LTS
  Release:  14.04

  root@arachide:~# apt-cache policy lxc
  lxc:
    Installed: 1.0.6-0ubuntu0.1
    Candidate: 1.0.6-0ubuntu0.1
    Version table:
   *** 1.0.6-0ubuntu0.1 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
  100 /var/lib/dpkg/status
   1.0.3-0ubuntu3 0
  500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  ---

  lxc-info output is different when displayed directly in the terminal
  or redirected to a file

  Expected: same content when displayed in term or redirected to a file
  Actual result: contents different

  This behavior broke a custom script which was working like a charm on
  Ubuntu 13.10 with lxc version 1.0.0~alpha1 amd64. This is working
  correctly as well on Ubuntu 14.04 with the stock trusty version of lxc
  in the main repo (1.0.3)

  How to reproduce:

  root@arachide:~# lxc-info -n my_lxc
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~# lxc-info -n vfc-sla  test.txt
  root@arachide:~# cat test.txt
  Name:   my_lxc
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  Name:   my_lxc
  State:  STOPPED
  root@arachide:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1389244/+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