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.
  • 相关阅读:
    学习学习
    论文
    GitHub地址
    数据库测试用例生成系统设计与实现
    PICT的安装及使用
    Junit安装及使用
    使用source monitor检查代码复杂度
    FindBugs安装及使用
    PMD安装及使用
    Checkstyle安装及使用
  • 原文地址:https://www.cnblogs.com/zhangzhang/p/2511716.html
Copyright © 2011-2022 走看看