Skip to content

[DNM] bisect containerd#5049

Closed
AkihiroSuda wants to merge 2 commits into
lima-vm:masterfrom
AkihiroSuda:analyze-5030-downgrade-containerd
Closed

[DNM] bisect containerd#5049
AkihiroSuda wants to merge 2 commits into
lima-vm:masterfrom
AkihiroSuda:analyze-5030-downgrade-containerd

Conversation

@AkihiroSuda

@AkihiroSuda AkihiroSuda commented May 26, 2026

Copy link
Copy Markdown
Member

For


Integration tests (vz) (default.yaml) is failing
https://github.com/lima-vm/lima/actions/runs/26283194704/job/77393125410

+ limactl shell default nerdctl run -d --name nginx -p 127.0.0.1:8080:80 ghcr.io/stargz-containers/nginx:1.19-alpine-org
time="2026-05-22T14:04:22Z" level=warning msg="treating lima version \"15f5ce2\" from \"/Users/runner/.lima/default/lima-version\" as very latest release"
8f9b5014bb9e5eb02b1b2d8e05950af4d332dba07c61769450bff7079160233f
+ timeout 3m bash -euxc 'until curl -f --retry 30 --retry-connrefused http://127.0.0.1:8080; do sleep 3; done'
+ curl -f --retry 30 --retry-connrefused http://127.0.0.1:8080/
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0           00:01              0
  0      0   0      0   0      0      0      0           00:02              0
  0      0   0      0   0      0      0      0           00:03              0

Originally posted by @AkihiroSuda in #5024 (comment)

@AkihiroSuda

This comment was marked as outdated.

Adds a boot script that adds the default user to the "systemd-journal"
group on systemd-based distributions, so that `journalctl --user` works
out of the box instead of failing with "No journal files were opened due
to insufficient permissions".

The "systemd-journal" group only exists on systemd-based distributions,
so the script guards on its existence with getent and is a no-op
elsewhere (e.g. Alpine).

Fixes lima-vm#5047

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda
AkihiroSuda force-pushed the analyze-5030-downgrade-containerd branch from 8b7eb0f to 0ca2467 Compare May 27, 2026 01:34
@AkihiroSuda AkihiroSuda changed the title [DNM] Downgrade containerd [DNM] bisect containerd May 27, 2026
@AkihiroSuda
AkihiroSuda force-pushed the analyze-5030-downgrade-containerd branch from 0ca2467 to 0090d93 Compare May 27, 2026 01:48
@AkihiroSuda

AkihiroSuda commented May 27, 2026

Copy link
Copy Markdown
Member Author

Bisected.
The regression is caused by containerd/containerd@f078cebbd


+ limactl shell default nerdctl ps -a
time="2026-05-27T02:56:35Z" level=warning msg="treating lima version \"0c93a37\" from \"/Users/runner/.lima/default/lima-version\" as very latest release"
CONTAINER ID    IMAGE                                              COMMAND                   CREATED           STATUS                      PORTS                     NAMES
3f67f52a5931    ghcr.io/stargz-containers/nginx:1.19-alpine-org    "/docker-entrypoint.…"    10 seconds ago    Exited (1) 5 seconds ago    127.0.0.1:8080->80/tcp    nginx
+ limactl shell default nerdctl logs nginx
time="2026-05-27T02:56:36Z" level=warning msg="treating lima version \"0c93a37\" from \"/Users/runner/.lima/default/lima-version\" as very latest release"
+ [[ -z '' ]]
+ limactl shell default journalctl --user -u containerd
[...]
May 27 02:55:49 lima-default containerd-rootless.sh[1173]: time="2026-05-27T02:55:49.956586096Z" level=info msg="containerd successfully booted in 7.782954s"
May 27 02:56:25 lima-default containerd-rootless.sh[1173]: time="2026-05-27T02:56:25.445537685Z" level=info msg="connecting to shim 3f67f52a59314ed6fc4e1048b0e2c826ab26df575cec4cbf38619beb754dbebd" address="unix:///run/containerd/s/56dfcbff8ef161f104b965a6f02b0158fca28ed1beba7df4c255935edf3a9122" namespace=default protocol=ttrpc version=3
May 27 02:56:29 lima-default containerd-rootless.sh[1173]: time="2026-05-27T02:56:29.753250886Z" level=error msg="ttrpc: received message on inactive stream" stream=3

Based on Ansuman's PR 5052

Signed-off-by: Akihiro Suda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants