返回新闻概述

LXC 1.0.2 版本发布公告

2014 年 3 月 27 日
这是 LXC 1.0 系列的第二个 bug 修复版本。

变更

核心

  • core: 修复解析 lxc.netwotk.type = none
  • core: 修复关闭时的竞态条件,导致 SIGPIPE 被发送给调用方
  • core: 尝试在关闭时将所有 "phys" NIC 移动回
  • core: 修复 stdin、stdout、stderr 文件描述符,以使用容器自己的文件描述符
  • core: 修复 newgidmap 检查中的拼写错误
  • core: 修复 {get|clear}_config_item 与 lxc.mount.auto 的问题
  • core: 修复 netnsfd 的泄漏
  • core: 不要为可选挂载触发 SYSERROR
  • cgmanager: 互斥锁 cgmanager 访问,以避免在使用线程时发生竞态条件、损坏和崩溃。
  • cgmanager: 使连接到守护进程失败成为 DEBUG 而不是 ERROR(因为我们在这种情况下会回退到 cgfs)
  • cgmanager: 避免杂散的 dbus 连接
  • cgmanager: 不要尝试删除无效的 cgroups

命令

  • lxc-ls: 嵌套的性能优化
  • lxc-ls: 修复启用交换时内存报告
  • lxc-ls: 更新帮助以包含所有支持的列

文档

  • man: 更新 lxc-create 手册页以涵盖 "最佳" 后备存储
  • man: 更新 lxc-autostart 以记录 -a 和 -g

测试

  • tests: 不要硬编码 cgroup 列表
  • tests: 在 startone 中守护进程(使测试静音)
  • tests: 支持仅使用 cgmanager 运行
  • tests: 尽可能使用 busybox(加速测试)
  • tests: 修复 test-concurent 中的文件描述符泄漏

模板

  • templates: 更新为一致的用户命名空间设备列表
  • busybox template: 当 busybox 是符号链接时,不要失败
  • centos template: 在 SIGPWR 上关闭
  • centos template: 对 localtime 使用合理的默认值
  • debian template: 将 /etc/mtab 符号链接到 /proc/mounts
  • debian template: 不要在 -c 之后吃掉参数
  • fedora template: 在 SIGPWR 上关闭
  • fedora template: 对 localtime 使用合理的默认值
  • fedora template: 修复在 x86_64 上构建 i686 容器
  • opensuse template: 修复语法错误

下载

可以在我们的 下载页面 上找到发布的 tar 包,我们预计大多数发行版
很快就会发布 LXC 1.0.2 的打包版本。

如果您有兴趣了解单个更改或只是查看详细的开发历史记录,
我们的稳定分支位于 GitHub 上。