mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #26773 from Moredread/patch-1
nixos: replaced "userns" with "user namespaces" for clarity
This commit is contained in:
commit
8accb9cb1c
@ -55,7 +55,7 @@ with lib;
|
|||||||
# same privileges as it would have inside it. This is particularly
|
# same privileges as it would have inside it. This is particularly
|
||||||
# bad in the common case of running as root within the namespace.
|
# bad in the common case of running as root within the namespace.
|
||||||
#
|
#
|
||||||
# Setting the number of allowed userns to 0 effectively disables
|
# Setting the number of allowed user namespaces to 0 effectively disables
|
||||||
# the feature at runtime. Attempting to create a user namespace
|
# the feature at runtime. Attempting to create a user namespace
|
||||||
# with unshare will then fail with "no space left on device".
|
# with unshare will then fail with "no space left on device".
|
||||||
boot.kernel.sysctl."user.max_user_namespaces" = mkDefault 0;
|
boot.kernel.sysctl."user.max_user_namespaces" = mkDefault 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user