Skip to content

v1.1.32

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:36
· 15 commits to main since this release

変更内容

1.1.32: z2k の上で、runc 1.5(コンテナのランタイム。Arch の Podman では --runtime runc で選べます)でコンテナを起こせるようにしました。今までは起動のたびに Segmentation fault で落ちていました。

  • runc 1.5 のコンテナ: 起動・ネットワーク・exec・健康確認(healthcheck)・pause / unpause・pod が動きます。
  • コンテナの中のスレッドの多いプログラム: setuid・setgroups などを呼ぶと、そのまま止まることがあったのを直しました(glibc が全スレッドへ配る合図を、受けたスレッドが「送り主が違う」と無視していました)。
  • faccessat2: syscall を直接呼ぶプログラム(Rust のものなど)で「Function not implemented」になっていたのを直しました(Android が通さないので z2k が代わりに答えます)。

既知の不具合(z2k のコンテナ):

  • runc の pod が、続けてたくさんのコンテナを起こした後などに起動しないことがあります。
  • Alpine の Podman(runc 1.2)では、コンテナが起動しません(「can't get final child's PID from pipe」)。
  • crun の pause は終わりの印を返しますが、コンテナの中のプロセスは止まりません。
  • podman top に、コンテナの外のプロセスまで出ます。
  • Arch の podman logs が空になります(Arch の既定の記録先が journald のため)。--log-driver k8s-file を付けると残ります。
  • --privileged では、Android が /dev の一覧を読ませないので起動しません。

Changes

1.1.32: Containers can now be started with runc 1.5 on z2k (a container runtime; with Podman on Arch you choose it with --runtime runc). Until now it crashed with a segmentation fault on every start.

  • runc 1.5 containers: starting, networking, exec, health checks, pause / unpause and pods work.
  • Multi-threaded programs in containers: calling setuid, setgroups and the like could hang (the threads that received glibc's broadcast signal ignored it as coming from the wrong sender).
  • faccessat2: programs that make syscalls directly (Rust programs and so on) got "Function not implemented" (Android blocks it, so z2k answers instead).

Known issues (containers on z2k):

  • With runc, a pod sometimes fails to start, for example after many containers have been started in a row.
  • With Podman on Alpine (runc 1.2), containers do not start ("can't get final child's PID from pipe").
  • crun's pause reports success, but the processes in the container keep running.
  • podman top also lists processes outside the container.
  • podman logs is empty on Arch (Arch's default log driver is journald). Add --log-driver k8s-file to keep logs.
  • --privileged does not start, because Android does not allow listing /dev.

Full Changelog: v1.1.31...v1.1.32