The 'cgconfig' tool from libcgroup (http://libcg.sourceforge.net) can be used 
to mount one or more instances of the cgroup virtual filesystem, instead of 
using the 'mount' command.  However, cgconfig does not update /etc/mtab, 
although the mounted cgroup filesystems do appear in /proc/mounts.  (I am using 
Fedora 13.)

Since lxc commands such as 'lxc-execute' just search /etc/mtab to see if any 
cgroup filesystem is mounted, this causes them to fail with "cgroup is not 
mounted", even though this is not the case.

It seems to me that either:
  1) cgconfig should update /etc/mtab, or
  2) lxc should search /proc/mounts instead of /etc/mtab
     (change one line in src/lxc/cgroup.c)

Which is the correct solution?

Thanks,

David
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to