-
Notifications
You must be signed in to change notification settings - Fork 44
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
DLPX-86533 CIS: default umask #449
DLPX-86533 CIS: default umask #449
Conversation
1173012
to
f6ba3a1
Compare
f6ba3a1
to
56a213a
Compare
...n/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml
Outdated
Show resolved
Hide resolved
56a213a
to
5b7e410
Compare
5b7e410
to
ae6b3f3
Compare
Note to @dbj-delphix and @prakashsurya, this change has a chance of negatively impacting variants that aren't covered in ab-pre-push automated testing:
If you have recommendations on how to mitigate the risks here, please do suggest them. I don't see an immediate risk to dcol given that this would only impact new deployments, but the build server image is frequently re-built. That's the one I'm most concerned about. |
@sebroy if you're suggesting/asking if we could generate a buildserver with this change, and then rebuild all packages with that buildserver, I'm sure we can accomplish that.. Iet me see how we might do that.. |
as-is, we'd have to build the variant via |
I've opened: https://github.com/delphix/devops-gate/pull/1524 |
|
Running the builds with this change here |
Problem
Solution
/etc/profile.d/set-umask-for-all-users.sh
to set umask to022
also added the same in/etc/bash.bashrc
file as well.Testing Done
ab-pre-push
: http://selfservice.jenkins.delphix.com/job/github/job/delphix/job/delphix-platform/job/appliance-build-orchestrator/job/pre-push/282/consoleFailed due to issue in yml syntax
ab-pre-push
: http://selfservice.jenkins.delphix.com/job/github/job/delphix/job/delphix-platform/job/appliance-build-orchestrator/job/pre-push/291/Passed
Commit 2
,ab-pre-push
: http://selfservice.jenkins.delphix.com/job/github/job/delphix/job/delphix-platform/job/appliance-build-orchestrator/job/pre-push/300/Passed
Commit 3
,ab-pre-push
: http://selfservice.jenkins.delphix.com/job/github/job/delphix/job/delphix-platform/job/appliance-build-orchestrator/job/pre-push/303/Passed