Skip to content

Commit ead69f7

Browse files
committed
Ensure it can access file system that isn't bind mounted
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 9e1da42 commit ead69f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ jobs:
163163
run: |
164164
# Github actions container runner creates a docker network without IPv6 support. We enable it manually.
165165
sysctl -w net.ipv6.conf.lo.disable_ipv6=0
166-
cat /sys/kernel/security/lsm
167-
echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns
166+
cat /proc/1/root/sys/kernel/security/lsm
167+
echo 0 > /proc/1/root/proc/sys/kernel/apparmor_restrict_unprivileged_userns
168168
sysctl -w kernel.unprivileged_userns_clone=1
169169
./scripts/bazel_ignore_codes.sh test ${{ matrix.args }} --target_pattern_file=target_files/${{ matrix.tests }} \
170170
2> >(tee bazel_stderr)

0 commit comments

Comments
 (0)