返回新闻概述

LXC 2.0.7 发布公告

2017年1月23日
这是 LXC 2.0 的第七个 bug 修复版本。

此版本的主要 bug 修复包括:

  • attach: 关闭 lsm 标签文件描述符
  • attach: 非功能性更改
  • attach: 简化 lsm_openat()
  • caps: 添加 lxc_cap_is_set()
  • conf: attach: 在调用 close 时保存 errno
  • conf: 清晰地报告使用 drop 或 keep
  • conf: criu: 添加 make_anonymous_mount_file()
  • conf: 修复 suggest_default_idmap()
  • configure: 添加 --enable-gnutls 选项
  • configure: 检查 memfd_create()
  • configure: 检查 gettid() 是否已声明
  • configure: 不允许使用可变长度数组
  • configure: 移除 -Werror=vla
  • configure: 使用 AC_HEADER_MAJOR 检测 major()/minor()/makedev()
  • conf: 非功能性更改
  • conf: 移除线程不安全的 strsignal 并改进日志
  • init: 将 cgroupfs-mount 添加到 Should-Start/Stop sysvinit LSB 头文件
  • log: 添加 lxc_unix_epoch_to_utc()
  • log: 为 lxc_unix_epoch_to_utc() 添加注释
  • log: 删除所有时区转换函数
  • log: 确保日期格式正确
  • log: 使用 lxc_unix_epoch_to_utc()
  • log: 如果 getpid() != gettid()(在多线程情况下),则使用 N/A
  • log: 使用线程安全的 localtime_r()
  • lvm: 抑制关于泄漏文件的警告
  • lxccontainer: 记录发送信号到 init pid 失败的情况
  • monitor: 添加更多日志
  • monitor: 如果我们打开了 mainloop,则在退出时关闭它
  • monitor: 改进日志并设置日志级别为 DEBUG
  • monitor: 记录当前使用的哪个管道文件描述符
  • monitor: 使 lxc-monitord 异步信号安全
  • monitor: 非功能性更改
  • python3-lxc: 修复 s390x 上的 api_test.py
  • start: 在 setgroups() 之前检查 CAP_SETGID
  • start: 修复 execute 并改进 setgroups() 调用
  • state: 在 lxc_wait() 中使用异步信号安全函数
  • templates: lxc-debian: 不要尝试从主机上的 /usr/lib/systemd 获取内容
  • templates: lxc-debian: 修复 getty 服务启动
  • templates: lxc-debian: 修复使用 --print-foreign-architectures 选项调用 dpkg 时的拼写错误
  • templates: lxc-debian: 处理 ppc 主机架构 -> powerpc
  • templates: lxc-opensuse: 将 openSUSE 默认版本更改为 Leap 42.2
  • templates: lxc-opensuse: 移除 libgcc_s1
  • templates: lxc-opensuse: 移除 poweroff.target -> sigpwr.target 复制
  • templates: lxc-opensuse: 设置为不受 AppArmor 限制
  • templates: lxc-opensuse: 更新为 Leap 42.2
  • tests; 在清理错误时不要导致测试失败
  • tests: 在覆盖模块损坏时跳过 unpriv 测试
  • tools: 改进日志记录
  • tools: lxc-start: 移除 c->is_defined(c) 检查
  • tools: lxc-start: 在 load_config 后设置 configfile
  • tools: 只检查 O_RDONLY
  • tree-wide: 随机宏清理
  • tree-wide: 移除所有可变长度数组
  • tree-wide: Sic semper assertis!
  • utils: 添加宏 __LXC_NUMSTRLEN
  • utils: 添加 uid、gid、group 方便包装器

下载

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

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