Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-semantic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- reopened
- synchronize
permissions:
pull-requests: read
pull-requests: write
jobs:
semantic-pr-title:
name: Semantic PR Title
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,19 @@ Canonical [decided to restrict user namespaces for security reasons](https://dis
To still be able to use `linux-sandbox` without disabling `apparmor` run the following commands on your host:

```bash
sudo tee /etc/apparmor.d/bazel-linux-sandbox > /dev/null <<EOF
# prefix with aaa for ordering with default Ubuntu user namespace rule, which would restrict linux-sandbox
sudo tee /etc/apparmor.d/aaa-bazel-linux-sandbox > /dev/null <<EOF
abi <abi/4.0>,
include <tunables/global>

profile linux-sandbox /var/cache/bazel/install/*/linux-sandbox flags=(unconfined) {
userns,

# Site-specific additions and overrides. See local/README for details.
include if exists <local/bazel-linux-sandbox>
include if exists <local/aaa-bazel-linux-sandbox>
}
EOF
sudo apparmor_parser -r /etc/apparmor.d/bazel-linux-sandbox
sudo apparmor_parser -r /etc/apparmor.d/aaa-bazel-linux-sandbox
```

When done
Expand Down
Loading