Skip to content

pkg/archive: allow mknodding FIFO inside userns#41892

Merged
thaJeztah merged 1 commit into
moby:masterfrom
AkihiroSuda:fix-41803
Jan 28, 2021
Merged

pkg/archive: allow mknodding FIFO inside userns#41892
thaJeztah merged 1 commit into
moby:masterfrom
AkihiroSuda:fix-41803

Conversation

@AkihiroSuda

@AkihiroSuda AkihiroSuda commented Jan 19, 2021

Copy link
Copy Markdown
Member

- What I did
Fix #41803

Also attempt to mknod devices.
Mknodding devices are likely to fail, but still worth trying when running with a seccomp user notification.

- How I did it
By allowing mknodding FIFO inside userns.

- How to verify it
docker pull docker.io/gitlab/gitlab-ee:13.6.3-ee.0 with rootless

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

🐧

Comment thread pkg/archive/archive_unix.go Outdated
@thaJeztah

Copy link
Copy Markdown
Member

@AkihiroSuda can you update to check for EPERM if that works for you? #41892 (comment)

Fix moby#41803

Also attempt to mknod devices.
Mknodding devices are likely to fail, but still worth trying when
running with a seccomp user notification.

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda

Copy link
Copy Markdown
Member Author

updated

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tonistiigi @cyphar PTAL

@AkihiroSuda

Copy link
Copy Markdown
Member Author

This will be in v20.10.4 (#41957)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[rootless] lchown [...]: no such file or directory

4 participants