-
Notifications
You must be signed in to change notification settings - Fork 485
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
refactor: Rework entry point scripts to run 'listenTcp' command as non-root #3292
refactor: Rework entry point scripts to run 'listenTcp' command as non-root #3292
Conversation
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.
the combination between exec and & doesn't fit well...
cmd/security-bootstrapper/entrypoint-scripts/consul_wait_install.sh
Outdated
Show resolved
Hide resolved
cmd/security-bootstrapper/entrypoint-scripts/consul_wait_install.sh
Outdated
Show resolved
Hide resolved
…n-root closes edgexfoundry#3221 Signed-off-by: lenny <[email protected]>
Signed-off-by: lenny <[email protected]>
5c807f8
to
aec761c
Compare
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.
LGTM
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## master #3292 +/- ##
=======================================
Coverage 42.53% 42.53%
=======================================
Files 183 183
Lines 15838 15838
=======================================
Hits 6737 6737
Misses 8663 8663
Partials 438 438 Continue to review full report at Codecov.
|
PR Checklist
Please check if your PR fulfills the following requirements:
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
What is the current behavior?
'listenTcp' command runs as root everywhere it is used.
Issue Number: #3221
What is the new behavior?
'listenTcp' command now runs as non-root everywhere it is used.
Does this PR introduce a breaking change?
New Imports
Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information