zoukankan      html  css  js  c++  java
  • rhel 6使用lxc报错 :no ns_cgroup option specified

    That's a known problem.  You don't have to remove them, merely disable
    them, by running "chkconfig cgconfig off" and "ckconfig cgred off" and
    rebooting.  Then mount your cgroup on a common mount point.  I get the
    impression from Serge and Daniel that this problem can't be solved with
    that kernel because that kernel doesn't support clone_children so you
    don't have any recourse.
    

    This sounds like my "failed" case in testing with libcgroup enabled.
    
    The fact that it's mounted on /cgroup and not /sys/fs/cgroup does not
    bode well all all.
    
    1) uname -a
    
    2) chkconfig cgconfig
    
    You probably need to add a line to your /etc/fstab long the lines of
    this:
    
    cgroup  /sys/fs/cgroup    cgroup  defaults        0 0
    
    Then run the commands:
    
    chkconfig cgconfig off
    chkconfig cgred off
    
    The reboot (I have NOT had luck manually unmounting those cgroups and
    remounting as a single mount point).
    
    If I understand Serge's comments correctly, we can not get the
    multipoint mounts to work even with the patched and updated lxc package
    due to the lack of "clone_children" in that kernel, so you need to
    switch a single mount-point mount to get lxc to work.  Then you don't
    even need the multipoint patches to get it to work though you may have
    tweaks to make.
  • 相关阅读:
    selinux 关闭
    Microsoft Visual Studio 2013 Language Pack
    Visual Studio Ultimate 2013 with Update 4
    页面滑动
    Android 适配器
    前端空格显示问题
    Your content must have a ListView whose id attribute is 'android.R.id.list'
    Ext.data.Store动态修改url
    Android 页面滑动
    实例化Layout中的布局文件(xml)
  • 原文地址:https://www.cnblogs.com/zhangzhang/p/2511716.html
Copyright © 2011-2022 走看看