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.
  • 相关阅读:
    生物神经网络和人工神经网络浅谈
    卷积神经网络
    DOM进阶之HTMl属性操作(对象属性)
    01 selenium基本使用补充
    01 selenium基本使用
    day4笔记
    03 获取豆瓣电影top250
    02 爬取视频
    day3笔记
    01 requests基本使用
  • 原文地址:https://www.cnblogs.com/zhangzhang/p/2511716.html
Copyright © 2011-2022 走看看