Skip to content
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

Remove world-writability from {profiles,gcroots}/per-user #3136

Merged
merged 9 commits into from Oct 9, 2019

Conversation

edolstra
Copy link
Member

@edolstra edolstra commented Oct 9, 2019

These directories are now created on demand by the daemon.

Also some simplifications to the profile scripts.

Alternative to #3134, #3135.

@grahamc
Copy link
Member

grahamc commented Oct 9, 2019

The install matrix failed on almost all cases: https://buildkite.com/organizations/grahamc/pipelines/nix-install-matrix/builds/33/jobs/b20b2d91-a52a-41be-b210-ca8b6a5709eb/artifacts/bdfccc3f-8bd0-4917-b266-96a5a0ce0b23

Seems the problem is quite consistently:

error: opening lock file '/nix/var/nix/db/big-lock': Permission denied

I ran this after the first push. I'll re-run (but on a bigger server so it doesn't take 2h...)

@edolstra
Copy link
Member Author

edolstra commented Oct 9, 2019

Where are you seeing that? Your link shows a lot of "command not found" errors.

@grahamc
Copy link
Member

grahamc commented Oct 9, 2019

pro tip: open them in two windows next to each other, and zoom out of the page as much as possible to compare.

Copy link
Member

@alyssais alyssais left a comment

Choose a reason for hiding this comment

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

Code LGTM although haven’t tested it. And @edolstra is right that this feels less error-prone than having to check in the profiles.

@alyssais
Copy link
Member

alyssais commented Oct 9, 2019

Can we please have the CVE in at least one of the commit messages, for future reference?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants