Nested containers aren't working in wily

Bug #1491557 reported by Serge Hallyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cgmanager (Ubuntu)
Fix Released
High
Serge Hallyn
lxcfs (Ubuntu)
Fix Released
High
Serge Hallyn
systemd (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Several things are conspiring to stop nested containers in wily from working.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

I'm keeping patches to fix these in ppa:serge-hallyn/20150902-nest . I'll post debdiffs here when everything appears to be fixed.

Changed in cgmanager (Ubuntu):
importance: Undecided → High
Changed in lxcfs (Ubuntu):
importance: Undecided → High
Changed in systemd (Ubuntu):
importance: Undecided → High
Changed in cgmanager (Ubuntu):
assignee: nobody → Serge Hallyn (serge-hallyn)
Changed in lxcfs (Ubuntu):
assignee: nobody → Serge Hallyn (serge-hallyn)
Changed in systemd (Ubuntu):
assignee: nobody → Serge Hallyn (serge-hallyn)
Changed in cgmanager (Ubuntu):
status: New → In Progress
Changed in lxcfs (Ubuntu):
status: New → In Progress
Changed in systemd (Ubuntu):
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Serge! I'll commit the systemd patch to the Debian packaging tree.

Changed in systemd (Ubuntu):
assignee: Serge Hallyn (serge-hallyn) → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Actually, not to the Debian tree for now -- there are still several unresolved questions in the upstream issue at https://github.com/systemd/systemd/pull/1056 , so let's keep that only in Ubuntu for now.

Changed in systemd (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

D'oh, sorry, i didn't see your comments in time and pushed to ubuntu pkg myself.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cgmanager - 0.37-1ubuntu1

---------------
cgmanager (0.37-1ubuntu1) wily; urgency=medium

  * fix nested lxc (LP: #1491557)
    - remount /sys/fs/cgroup rw in cgproxy
    - handle /system.slice/cgproxy.service when checking paths
  * add libpam-cgm package (LP: #1491559)

 -- Serge Hallyn <email address hidden> Wed, 02 Sep 2015 10:46:22 -0500

Changed in cgmanager (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxcfs - 0.9-0ubuntu3

---------------
lxcfs (0.9-0ubuntu3) wily; urgency=medium

  * Update the lxc mount hook to offer a mount per co-mounted controller.
    (LP: #1491557)

 -- Serge Hallyn <email address hidden> Wed, 02 Sep 2015 11:40:53 -0500

Changed in lxcfs (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 225-1ubuntu2

---------------
systemd (225-1ubuntu2) wily; urgency=medium

  * Ignore init when doing cg_migrate_everywhere. Otherwise, inside a
    container using lxcfs, init can get trapped in the slice, and there's
    simply no reason to do this in the first place. (LP: #1491557)

 -- Serge Hallyn <email address hidden> Wed, 02 Sep 2015 10:58:51 -0500

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
no longer affects: lxc (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.