feat(zhulan): add restricted remote development cell
This commit is contained in:
parent
5f9e83e1b7
commit
366b8911e4
22 changed files with 4503 additions and 0 deletions
10
server-tools/zhulan-remote-cell/deploy/zhulan-bwrap.apparmor
Normal file
10
server-tools/zhulan-remote-cell/deploy/zhulan-bwrap.apparmor
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Ubuntu 24.04 restricts unprivileged user namespaces unless the executable
|
||||
# has an AppArmor profile that explicitly allows userns. This profile applies
|
||||
# only to the root-owned Zhulan bwrap copy; that binary is executable only by
|
||||
# root and the zhulan-runtime group.
|
||||
abi <abi/4.0>,
|
||||
include <tunables/global>
|
||||
|
||||
profile zhulan-remote-cell-bwrap /opt/guanghu/zhulan-remote-cell/runtime/zhulan-bwrap flags=(unconfined) {
|
||||
userns,
|
||||
}
|
||||
Loading…
Reference in a new issue