-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
On the following distros, lazy-pulling seems broken and quietly falling back to non-lazy mode:
- Ubuntu 25.04
- Ubuntu 25.10
Works fine on:
- Ubuntu 24.10
- Debian 13
fusermount3is not installed by default. Tested both without and withfusermount3.
- Fedora 42
limactl start --rosetta --containerd=system template:ubuntu-25.04
limactl shell ubuntu-25.04 sudo nerdctl --snapshotter=stargz run --platform=amd64 ghcr.io/stargz-containers/python:3.13-esgz python3 -c 'print("hi")'--rosettaand--platform=amd64are added just because there is apparently no arm64 support in the esgz image: Any multi-arch image? (especially for arm64) #2143--containerd=systemis added to confirm that this issue is not relevant to rootless
Logs:
Oct 10 22:31:47 lima-ubuntu-25-04 containerd-stargz-grpc[1786]: {"key":"default/1/extract-68477355-Mv3z sha256:3335766b6554297e3a801e93a812b14d5b2f2c91c1f2c4cd8cd0a682328d70b7","level":"info","mountpoint":"/var/lib/containerd-stargz-grpc/snapshotter/snapshots/1/fs","msg":"fusermount detected","parent":"","time":"2025-10-10T22:31:47.938597215+09:00"}
Oct 10 22:31:47 lima-ubuntu-25-04 containerd-stargz-grpc[1977]: /usr/bin/fusermount3: mount failed: Permission denied
Oct 10 22:31:47 lima-ubuntu-25-04 containerd-stargz-grpc[1786]: {"error":"fusermount exited with code 256\n","key":"default/1/extract-68477355-Mv3z sha256:3335766b6554297e3a801e93a812b14d5b2f2c91c1f2c4cd8cd0a682328d70b7","level":"debug","mountpoint":"/var/lib/containerd-stargz-grpc/snapshotter/snapshots/1/fs","msg":"failed to make filesystem server","parent":"","time":"2025-10-10T22:31:47.940387349+09:00"}
Version: Lima v2.0.0-alpha.2 (nerdctl v2.1.6, containerd v2.1.4, stargz-snapshotter v0.17.0)
Workaround
Disable AppArmor for fusermount3 (profile):
sudo apt-get install apparmor-utils
sudo aa-disable /usr/bin/fusermount3
Or just remove fusermount3 so that the snapshotter can fallback to a direct mount
sudo apt-get remove fuse3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working