[Bug 869364] Re: cgconfig gets confused with /cgroups fstab entry

Scott Moser smoser at canonical.com
Thu Oct 6 17:47:42 UTC 2011


I'm not sure what ends up doing the unclean unmount of /cgroup when you try to start cgconfig, but an strace of 
  /usr/sbin/cgconfigparser -l /etc/cgconfig.conf
shows:
stat64("/sys/fs//cgroup/cpu", 0xbfb057c0) = -1 ENOENT (No such file or directory)
mkdir("/sys", 0775)                     = -1 EEXIST (File exists)
mkdir("/sys/fs", 0775)                  = -1 EEXIST (File exists)
mkdir("/sys/fs//cgroup", 0775)          = -1 EEXIST (File exists)
mkdir("/sys/fs//cgroup/cpu", 0775)      = 0
mount("cgroup", "/sys/fs//cgroup/cpu", "cgroup", 0, "cpu") = -1 EBUSY (Device or resource busy)
oldumount("/sys/fs//cgroup/cpu")        = -1 EINVAL (Invalid argument)
rmdir("/sys/fs//cgroup/cpu")            = 0
oldumount("/sys/fs/cgroup/cpuacct")     = -1 ENOENT (No such file or directory)
rmdir("/sys/fs/cgroup/cpuacct")         = -1 ENOENT (No such file or directory)
oldumount("/sys/fs/cgroup/devices")     = -1 ENOENT (No such file or directory)
rmdir("/sys/fs/cgroup/devices")         = -1 ENOENT (No such file or directory)
oldumount("/sys/fs/cgroup/memory")      = -1 ENOENT (No such file or directory)
rmdir("/sys/fs/cgroup/memory")          = -1 ENOENT (No such file or directory)
oldumount("/sys/fs/cgroup/freezer")     = -1 ENOENT (No such file or directory)
rmdir("/sys/fs/cgroup/freezer")         = -1 ENOENT (No such file or directory)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libcgroup in Ubuntu.
https://bugs.launchpad.net/bugs/869364

Title:
  cgconfig gets confused with /cgroups fstab entry

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/869364/+subscriptions



More information about the Ubuntu-server-bugs mailing list