Mentions kernel.yama.ptrace_scope = 3 breaks lxc v6+ procfs

See <https://github.com/lxc/lxcfs/issues/636> and <https://github.com/lxc/lxcfs/issues/639>.
This commit is contained in:
Samuel FORESTIER 2024-05-02 19:01:57 +00:00 committed by GitHub
parent feeb1516bc
commit 0283efcc03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,6 +42,8 @@ kernel.kptr_restrict = 2
# - 1: only a parent process can be debugged
# - 2: only admins can use ptrace (CAP_SYS_PTRACE capability required)
# - 3: disables ptrace completely, reboot is required to re-enable ptrace
# be aware disabling ptrace completely breaks lxc v6+ procfs emulation for unprivileged containers
# (see https://github.com/lxc/lxcfs/issues/636)
kernel.yama.ptrace_scope = 3
# restrict kernel logs to root only