-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
Add options to configure idmapd.conf #97616
Comments
@justinlovinger what about an option like this so you can easily override/append values as you see fit? |
That looks great. I'm a big fan of RFC 42 :) Just one question though. Can you remove an option, such as |
Good question. @infinisil can we bug you for some advice on how you can remove values from a |
There's nothing builtin for that. The best that can be done is to just filter out |
Thanks for mentioning @infinisil! |
@aanderse I did a double-check on |
@justinlovinger are you interested in opening a PR? Feel free to use the branch I posted. |
I can open a pull request. Just one question: is there a reason the option and variables are called |
Typo 🤷♂️ |
@aanderse pull request is up. I fixed the |
Issue description
If you want root access to an NFS share secured with Kerberos, you need to modify the default idmapd.conf . Currently, I override the idmapd.conf source, because NixOS has no options to modify idmapd.conf :
The text is mostly copied from the default NixOS idmapd.conf . The only changes are
This solution is brittle, and requires manual intervention if the default idmapd.conf ever changes. I'm not sure exactly what the NixOS options should look like, but there should be mechanisms to modify idmapd.conf in NixOS.
Technical details
"x86_64-linux"
Linux 5.4.62, NixOS, 20.03.2882.51d115ac89d (Markhor)
yes
yes
nix-env (Nix) 2.3.6
"nixos-20.03.2882.51d115ac89d"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: