more lxc scripts are broken with multiple cgroup mounts

Bug #819319 reported by Serge Hallyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Fix Released
High
Serge Hallyn

Bug Description

lxc-ls and lxc-cgroup are broken with multiple cgroups. There might be more

Related branches

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

Also lxc-netstat. The rest appear to be ok.

Changed in lxc (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Serge Hallyn (serge-hallyn)
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

lxc-unshare spits out an error on exit as well (though it does work).

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

Ah, the lxc-unshare error on exit should simply be silenced - the cgroup it is trying to delete is only the one which gets auto-created if the ns cgroup is composed with the others.

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

actually lxc-cgroup is fine.

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

This bug was fixed in the package lxc - 0.7.4.2-3ubuntu5

---------------
lxc (0.7.4.2-3ubuntu5) oneiric; urgency=low

  * debian/patches/0011-fix-lxc-ls.patch:
    debian/patches/0012-fix-lxc-netstat.patch:
    The cgroup mounts created by cgroup-bin do not show up in /etc/mtab.
    lxc-ls and lxc-netstat, as lxc-ps before, assume that /etc/mtab is
    symlinked to /proc/mounts. (LP: #819319)
  * debian/patches/0013-unshare-call-cgroup-create.patch:
    Don't spit out an error when there is no cgroup to remove because the
    ns cgroup is not mounted. (LP: #819319)
 -- Serge Hallyn <email address hidden> Mon, 01 Aug 2011 09:28:02 -0500

Changed in lxc (Ubuntu):
status: In Progress → Fix Released
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.