lxc-netstat fails

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

Bug Description

root@panda-test:~# lxc-list
RUNNING
  root-local-mysql-0
  root-local-wordpress-0

STOPPED
  root-local-0-template

root@panda-test:~# lxc-netstat -n root-local-wordpress-0
head: cannot open `/sys/fs/cgroup/cpuset/root-local-wordpress-0/tasks' for reading: No such file or directory
no process found for 'root-local-wordpress-0'
root@panda-test:~# lxc-netstat -n lxc/root-local-wordpress-0
Active Internet connections (w/o servers)
...

Expected behaviour: "lxc-netstat -n root-local-wordpress-0" should work.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu11
ProcVersionSignature: Ubuntu 3.2.0-1404.6-omap4 3.2.1
Uname: Linux 3.2.0-1404-omap4 armv7l
ApportVersion: 1.91-0ubuntu1
Architecture: armhf
Date: Wed Jan 25 18:18:17 2012
ProcEnviron:
 LANGUAGE=en_US:
 LC_COLLATE=C
 LANG=en_GB
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Robie Basak (racb) wrote :
Changed in lxc (Ubuntu):
assignee: nobody → Serge Hallyn (serge-hallyn)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 0.7.5-3ubuntu12

---------------
lxc (0.7.5-3ubuntu12) precise; urgency=low

  * If the kernel supports container reboot disambuation, then don't drop
    CAP_SYS_BOOT, and (always) try to use it after the container exits.
    (LP: #914676)
  * 0027-fix-lxc-netstat.patch: fix lxc-netstat for new nested cgroup
    handling (LP: #921732)
  * 0028-recursively-rmdir-cgroups.patch: if the container has created
    any cgroups (i.e. by starting libvirt), make sure to delete those.
    (LP: #921808)
 -- Serge Hallyn <email address hidden> Wed, 25 Jan 2012 14:22:51 -0600

Changed in lxc (Ubuntu):
status: Triaged → 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.