From ed78bdbf3a6ccebb8c704c8dc39b4d3380194148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Jo=C3=A3o=20Motta?= Date: Sun, 15 Dec 2024 11:59:52 -0300 Subject: [PATCH] NO-ISSUE: Disable AppArmor allowing unpriviledge user namespace to fix VS Code E2E tests (#2808) --- .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'