touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #39659
[Bug 1177408] Re: lxc-list crashes when passed --nesting with a running nested container
raring has seen the end of its life and is no longer receiving any
updates. Marking the raring task for this ticket as "Won't Fix".
** Changed in: lxc (Ubuntu Raring)
Status: Fix Committed => Won't Fix
--
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/1177408
Title:
lxc-list crashes when passed --nesting with a running nested container
Status in lxc package in Ubuntu:
Fix Released
Status in lxc source package in Raring:
Won't Fix
Bug description:
== 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1177408/+subscriptions