-
Notifications
You must be signed in to change notification settings - Fork 454
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
[docker] don't set m3dbnode binary caps in build #1672
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1672 +/- ##
=========================================
+ Coverage 32.2% 71.9% +39.6%
=========================================
Files 4 974 +970
Lines 341 81215 +80874
=========================================
+ Hits 110 58401 +58291
- Misses 221 18980 +18759
- Partials 10 3834 +3824
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@schallert was this what was triggering the permissions error? Its definitely not the syscall itself that M3DB is making now? Wonder if we should also set PROCESS_LIMITS_RAISE
to false in the default image as well although not sure if that had any effect.
Also how did you encounter this? I ran into it a few hours ago with location store's C.I
@richardartoul my understanding is that Linux won't even let you exec a file if it has capabilities on it that you don't have (not sure which set this considers, "bounding" or another), way before you even get to making the syscall. For example, removing Docker from the equation, since my current bash shell has
However if I use
According to Docker's docs, I happened to encounter this while doing some testing with the new setcap image and a Kubernetes cluster with locked down privs lol |
fd72f89
to
ca0072f
Compare
ca0072f
to
5f83473
Compare
What this PR does / why we need it:
Fixes #1671
Special notes for your reviewer:
Does this PR introduce a user-facing and/or backwards incompatible change?:
Does this PR require updating code package or user-facing documentation?: