Skip to content

Commit

Permalink
Disable AppArmor allowing unpriviledge user namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmotta committed Dec 13, 2024
1 parent 28f02cd commit f7d9be7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ runs:
libxml2-utils > /dev/null 2>&1
fi
- name: "Allow unprivileged user namespace (Ubuntu Only)"
if: runner.os == 'Linux'
shell: bash
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

- name: "Update bash for macOS (macOS Only)"
shell: bash
if: runner.os == 'macOS'
Expand Down

0 comments on commit f7d9be7

Please sign in to comment.