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
NixOps - VirtualBox - "kernel driver not accessible" #370
Comments
@Markwot: Can you please paste the exact error message you get from NixOps? |
@aszlig: here a screenshot. There is nothing in |
@Markwot: What do you get by issuing |
|
@Markwot: You need to remove VirtualBox from your user environment, because if you're running in hardened mode on your host, only the store paths referenced by the suid wrappers can have access to the kernel modules. |
Yes, it is resolved!!11! Thank you very much @aszlig . |
When I start VirtualBox without Nixops, I can create and use virtual machines without any problems.
But when I try to deploy a vm with nixops (as a not-root-user), I get the error "kernel driver not accessible".
My configuration.nix looks like this:
My machine.nix looks like this:
I do the following shell commands:
The same commands as root yield no errors.
The text was updated successfully, but these errors were encountered: