Skip to content

Commit 4e651a8

Browse files
committed
Fix pipeline (Ubuntu restricted user namespaces)
1 parent 9f5d99d commit 4e651a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,11 @@ jobs:
1818
check-latest: true
1919
go-version-file: 'go.mod'
2020

21+
# cf. https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces
22+
- name: Allow Unconfined NS
23+
run: |
24+
sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
25+
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
26+
2127
- name: Run Tests
2228
run: make test

0 commit comments

Comments
 (0)