[Bug 1177408] [NEW] lxc-list crashes when passed --nesting with a running nested container
Stéphane Graber
stgraber at stgraber.org
Tue May 7 14:41:34 UTC 2013
Public bug reported:
== Rationale ==
lxc-list is a compatibility wrapper for lxc-ls printing a deprecation warning before showing its output.
As lxc-ls calls itself to deal with nested containers, that deprecation warning is causing invalid json to be generated and causes a crash.
The solution is to update the distro patch to only show the warning when lxc-ls isn't calling itself.
== Test case ==
1) Create a first container
2) Create a sub-container (switch to the nesting apparmor profile, install lxc in the container, create a sub-container)
3) Run: lxc-list --nesting on the host
4) lxc-list shouldn't crash anymore
== Regression potential ==
The only difference is the addition of a condition for the deprecation warning, so I'm not seeing any room for regression there.
** Affects: lxc (Ubuntu)
Importance: Medium
Assignee: Stéphane Graber (stgraber)
Status: Triaged
** Affects: lxc (Ubuntu Raring)
Importance: Medium
Assignee: Stéphane Graber (stgraber)
Status: Triaged
** Also affects: lxc (Ubuntu Raring)
Importance: Undecided
Status: New
** Changed in: lxc (Ubuntu)
Status: New => Triaged
** Changed in: lxc (Ubuntu Raring)
Status: New => Triaged
** Changed in: lxc (Ubuntu)
Assignee: (unassigned) => Stéphane Graber (stgraber)
** Changed in: lxc (Ubuntu Raring)
Assignee: (unassigned) => Stéphane Graber (stgraber)
** Changed in: lxc (Ubuntu)
Importance: Undecided => Medium
** Changed in: lxc (Ubuntu Raring)
Importance: Undecided => Medium
--
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/1177408
Title:
lxc-list crashes when passed --nesting with a running nested container
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1177408/+subscriptions
More information about the Ubuntu-server-bugs
mailing list