diff --git a/.github/actions/nix/action.yml b/.github/actions/nix/action.yml index a604bb7..4ba88ac 100644 --- a/.github/actions/nix/action.yml +++ b/.github/actions/nix/action.yml @@ -40,3 +40,12 @@ runs: - name: "Show Nix Info" shell: bash run: nix run "nixpkgs#nix-info" -- -m + + # https://git.lix.systems/lix-project/lix/issues/545 + # https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces + - name: "Revert ubuntu change that broke lix tests" + shell: bash + run: | + sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0 + sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 +