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
nixos/memcached: Isolate the service #62936
Conversation
memcached is (as the name suggests) an in-memory database so FS access is not required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in principle but haven't tested it.
@GrahamcOfBorg test memcached |
@GrahamcOfBorg test nextcloud |
Did some testing and it looks good. |
Error work in hardened mode
Error:
|
Error work with |
@Izorkin so is the hardened error due to PrivateUsers? Or are these two unrelated? |
I disabled PrivateUsers and the service worked. Checked with test nixos/tests/memcached.nix. Added to config memcached.nix <nixpkgs/nixos/modules/profiles/hardened.nix> |
@dasJ is it possible to fix it? |
memcached is (as the name suggests) an in-memory database so FS access
is not required.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)