Skip to content

Commit

Permalink
allow unprivileged userns
Browse files Browse the repository at this point in the history
  • Loading branch information
mgree authored Oct 10, 2024
1 parent 3acbbaf commit aae999a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
run: |
sudo apt-get install util-linux expect mergerfs attr pandoc
- name: Debug unshare install
run: |
echo unshare is at $(which unshare)
findmnt
unshare --mount --propagation unchanged --user --pid --fork -- ls
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -56,6 +50,10 @@ jobs:
if: github.event.pull_request.draft == false

steps:
- name: Allow unprivileged user namespaces (for Ubuntu 24.04)
run: |
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
- name: Install dependencies
run: |
sudo apt-get install expect mergerfs attr pandoc
Expand Down Expand Up @@ -98,6 +96,10 @@ jobs:
if: github.event.pull_request.draft == false

steps:
- name: Allow unprivileged user namespaces (for Ubuntu 24.04)
run: |
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
- name: Install dependencies
run: |
sudo apt-get install expect mergerfs attr pandoc
Expand Down

0 comments on commit aae999a

Please sign in to comment.