opencontainers / opencontainers/runc

contrib: AppArmor profile (and docs) for kernel.apparmor_restrict_unprivileged_userns

Open
#4,069 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/apparmor
Dominant language
Go
Stars
13.5k
Forks
2.3k
Avg merge
2d 8h
Merged PRs (30d)
30

Description

https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces

As such, unprivileged processes will only be able to create user namespaces if they are confined and have the “userns,” rule in their AppArmor profile (or if they have CAP_SYS_ADMIN).

This feature will be first available as an opt-in in Ubuntu 23.1.

Probably we should provide an apparmor profile in contrib/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Ubuntu blog link and inspect the existing contrib/ contents to understand how runc-related profiles are organized. Define the AppArmor profile and accompanying documentation needed for kernel.apparmor_restrict_unprivileged_userns; completion should include both artifacts, with their scope and validation approach made explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
documentation, operating-systems, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.