mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-16 03:52:05 +08:00
update: 通用ACE
This commit is contained in:
6
src/usr/lib/sysctl.d/@PKG_NAME@.conf
Normal file
6
src/usr/lib/sysctl.d/@PKG_NAME@.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
# ACE app runs in a container, need privileges within user namespace, so we need to set it
|
||||
kernel.unprivileged_userns_clone=1
|
||||
# Ubuntu 24.04 has more limitation on unprivileged user namespace,so we have to disable them.
|
||||
# refer to https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces
|
||||
kernel.apparmor_restrict_unprivileged_unconfined=0
|
||||
kernel.apparmor_restrict_unprivileged_userns=0
|
||||
Reference in New Issue
Block a user