Skip to content

fs: handle ENOTSUP error in compareCapabilities function#274

Merged
dmcgowan merged 1 commit intocontainerd:mainfrom
jellor:handle-no-xattr
Apr 29, 2026
Merged

fs: handle ENOTSUP error in compareCapabilities function#274
dmcgowan merged 1 commit intocontainerd:mainfrom
jellor:handle-no-xattr

Conversation

@jellor
Copy link
Copy Markdown
Contributor

@jellor jellor commented Jan 8, 2026

commit container image (nerdctl commit) will failed to get xattr in filesystems without xattr support.

FATA[0006] failed to export layer: mount callback failed on /xxx/containerd/tmpmounts/containerd-mount1781253780: mount callback failed on /xxx/tmpmounts/containerd-mount4034463149: failed to write compressed diff: failed to create diff tar stream: failed to get xattr for /xxx/containerd/tmpmounts/containerd-mount4034463149/etc: operation not supported: unknown 

when LGetxattr syscall return ENOTSUP error, continuity should handle it.

commit container image (nerdctl commit) will failed to get xattr in filesystems without xattr support.

```
FATA[0006] failed to export layer: mount callback failed on /xxx/containerd/tmpmounts/containerd-mount1781253780: mount callback failed on /xxx/tmpmounts/containerd-mount4034463149: failed to write compressed diff: failed to create diff tar stream: failed to get xattr for /xxx/containerd/tmpmounts/containerd-mount4034463149/etc: operation not supported: unknown
```

when LGetxattr syscall return ENOTSUP error, continuity should handle it.

Signed-off-by: dong <guodong9211@gmail.com>
@dmcgowan dmcgowan merged commit ed9828d into containerd:main Apr 29, 2026
14 checks passed
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.

3 participants