Skip to content

Commit 8049898

Browse files
add comments
1 parent 33185f9 commit 8049898

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ sudo -E env PATH=$PATH setpriv \
7272
--reuid=$(id -u) \
7373
--regid=$(id -g) \
7474
--clear-groups \
75+
# Note: sys_admin is only needed in restricted environments (e.g., Docker with seccomp).
76+
# If boundary works without it on your system, you can remove +sys_admin from both flags.
7577
--inh-caps=+net_admin,+sys_admin \
7678
--ambient-caps=+net_admin,+sys_admin \
7779
boundary --allow "domain=github.com" -- curl https://github.com

scripts/boundary-wrapper.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ if [ "$(id -u)" -eq 0 ]; then
2020
fi
2121

2222
# Run boundary with proper privilege handling
23+
# Note: sys_admin is only needed in restricted environments (e.g., Docker with seccomp).
24+
# If boundary works without it on your system, you can remove +sys_admin from both flags.
2325
exec sudo -E env PATH="$PATH" setpriv \
2426
--reuid="$(id -u)" \
2527
--regid="$(id -g)" \

0 commit comments

Comments
 (0)