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

give directions on how to fix namespaces when they are disabled #31

Merged
merged 1 commit into from
Apr 4, 2018

Conversation

cleverca22
Copy link
Collaborator

under debian, user namespaces are disabled by default, this error detects the fault and gives directions on how to enable them

@matthewbauer matthewbauer merged commit 496f2b5 into nix-community:master Apr 4, 2018
@cleverca22 cleverca22 deleted the unshare-eperm branch April 4, 2018 17:38
@dtzWill
Copy link
Contributor

dtzWill commented Apr 4, 2018

lol, can Nix do this too? :D

@matthewbauer
Copy link
Member

matthewbauer commented Apr 4, 2018

Doesn't Nix have the daemon with root access?

@cleverca22
Copy link
Collaborator Author

ive seen it fail when nix was running as root under a chroot

@matthewbauer
Copy link
Member

But the sysctl thing probably wouldnt fix it then right?

@cleverca22
Copy link
Collaborator Author

yeah, it probably wont fix that

@matthewbauer
Copy link
Member

I wonder if Nix is using unprivileged namespaces in multi-user mode? Each nix build user will do unshare I think.

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.

3 participants