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.
  • 相关阅读:
    fd_set 用法
    初步认识迭代服务器和并发服务器
    慢系统调用与信号中断
    nigix以及相关
    IO多路复用的几种实现机制的分析
    伪终端
    linux非阻塞的socket EAGAIN的错误处理
    从输入 URL 到页面加载完成的过程中都发生了什么事情?
    7.9 函数的定义
    7.8 文件操作
  • 原文地址:https://www.cnblogs.com/zhangzhang/p/2511716.html
Copyright © 2011-2022 走看看