Back to the news overview

LXC 4.0.2 LTS リリースのお知らせ

16th of April 2020

はじめに

LXC チームは LXC 4.0.2 のリリースをお知らせできてとてもうれしいです!

このリリースは 2025 年 6 月までサポートされる LXC 4.0 に対する 2 回目のバグフィックスリリースです。

バグ修正

このリリースでは、4.0.04.0.1 リリース後に報告された多数の問題を修正しています。主なものは次の通りです:

  • RISC-V 64bit サポート
  • lxc-user-nic でのより良いグループの扱い
  • 新しいカーネルでのシステムコールインターセプションの問題を修正
  • cgroup v2 システム上では cgroup v1 の制限を自動的にスキップするように
  • Coverity Scan サービスが指摘したさまざまな問題の修正

コミットの全リストは次の通りです(翻訳なし):

  • start: ensure all file descriptors are closed during exec
  • syscall_numbers: handle riscv
  • lxc_user_nic: simplify group retrieval
  • lxc_user_nic: continue when we failed to find a group
  • cgroups: whitespace fixes
  • seccomp: newer kernels require the buffer to be zeroed
  • network: Make it possible to set the mode of IPVLAN to L2
  • src/lxc/network: ipvlan comment and code style tweak
  • conf: tweak get_minimal_idmap()
  • conf: use macros all around in lxc_map_ids()
  • conf: move_ptr() in all cases in mapped_hostid_add()
  • lxc-update-config: Fix bad handling of lxc.logfile
  • tests/no-new-privs: Don't mess with /etc/lxc
  • cgroups: ignore legacy limits on pure cgroup2 systems
  • Fix lxc-oci template with loop backingstore
  • cgroup: fix wrong use of cgfd_con in cgroup_exit
  • travis: add back coverity
  • memory_utils: directly NULL ptr in free_disarm()
  • conf: fix tty cleanup
  • cgroups: do not pass NULL pointer
  • uuid: close fd
  • cgroups: fix cgroup2 devices
  • rexec: avoid double-close
  • cgroups: use correct NULL pointer check
  • conf: don't double free in get_minimal_idmap()
  • criu: make explicit that we're ignoring rmdir() return value
  • zfs: fix resource leak
  • commands: add additional check to lxc_cmd_sock_get_state()
  • network: log warning on network deconfiguration failures
  • log: restore non-local value
  • attach: move check for valid config earlier
  • rexec: free argv array on failure
  • conf: correctly cleanup memory in get_minimal_idmap()
  • log: set GNU_SOURCE as it might help coverity along
  • travis: coverity gets confused about the %m printf extension in glibc
  • cgroups: fix cgroup limit braino
  • configure: fix coverity builds

サポートとアップグレード

LXC 4.0 ブランチは 2025 年 6 月までサポートされます。
stable のバグフィックスリリースでは、バグとセキュリティに関する問題に対する修正のみが行われますので、常に安全です。最新のバグフィックスリリースの状態を維持し、実行することをおすすめします。

ダウンロード