Skip to content

Commit b0af891

Browse files
authored
Merge pull request #108 from will-ca/patch-1
Update README.md
2 parents 80ba5f3 + afacf5e commit b0af891

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,21 @@ $ grep CONFIG_USER_NS /boot/config-$(uname -r)
3434
CONFIG_USER_NS=y
3535
```
3636

37-
On debian-based system this feature might be disabled by default.
37+
You can also try reading `/proc/sys/kernel/unprivileged_userns_clone`. This flag should be present, and set to `1`:
38+
39+
```console
40+
$ cat /proc/sys/kernel/unprivileged_userns_clone
41+
1
42+
```
43+
44+
<!-- Tested on Debian-based and on Arch-based. -->
45+
46+
On Debian or Arch-based system this feature might be disabled by default.
3847
However they provide a [sysctl switch](https://superuser.com/a/1122977)
3948
to enable it at runtime.
4049

50+
Note that there [may](https://lists.debian.org/debian-kernel/2020/03/msg00237.html) be [security implications](https://security.stackexchange.com/questions/209529/what-does-enabling-kernel-unprivileged-userns-clone-do) to enabling user namespaces.
51+
4152
On RedHat / CentOS 7.4 user namespaces are disabled by default, but can be
4253
enabled by:
4354

@@ -117,7 +128,7 @@ $ ln -s /usr/lib/x86_64-linux-gnu/libcuda.so.1 /nix/var/nix/opengl-driver/lib
117128
If this directory didn't exist when you first entered the nix user chroot, you
118129
will need to reenter for /run/opengl-driver/lib to be mounted.
119130

120-
## Whishlist
131+
## Wishlist
121132

122133
These are features the author would like to see, let me know, if you want to work
123134
on this:

0 commit comments

Comments
 (0)