Skip to content

Fix FIFO, sockets and device files when run in user NS #36756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 2, 2018

Conversation

redbaron
Copy link
Contributor

@redbaron redbaron commented Apr 1, 2018

commit 617c352 (#25672) "Don't create devices if in a user namespace"

introduced check, which meant to skip mknod operation when run
in user namespace, but instread skipped FIFO and socket files
copy.

Fixes #36622

Signed-off-by: Maxim Ivanov ivanov.maxim@gmail.com

commit 617c352 "Don't create devices if in a user namespace"

introduced check, which meant to skip mknod operation when run
in user namespace, but instread skipped FIFO and socket files
copy.

Signed-off-by: Maxim Ivanov <ivanov.maxim@gmail.com>
@codecov
Copy link

codecov bot commented Apr 1, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@635f359). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #36756   +/-   ##
=========================================
  Coverage          ?   34.93%           
=========================================
  Files             ?      614           
  Lines             ?    45645           
  Branches          ?        0           
=========================================
  Hits              ?    15944           
  Misses            ?    27607           
  Partials          ?     2094

@tonistiigi tonistiigi merged commit 7410b04 into moby:master Apr 2, 2018
@redbaron redbaron deleted the userns-copy-fifo-fix branch April 2, 2018 07:01
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.

5 participants