From f7d9be7ae42690d3cb08cbce568a4b905be27000 Mon Sep 17 00:00:00 2001 From: Luiz Motta Date: Fri, 13 Dec 2024 17:47:57 -0300 Subject: [PATCH] Disable AppArmor allowing unpriviledge user namespace --- .github/actions/setup-env/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml index d10f0cd9138..ba701e7e763 100644 --- a/.github/actions/setup-env/action.yml +++ b/.github/actions/setup-env/action.yml @@ -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'