Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AppArmor profile setup for rootlesskit on Ubuntu 23.10+ #3820

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fahedouch
Copy link
Member

@fahedouch fahedouch commented Jan 15, 2025

This PR fix #2847:

  • Introduce configuration of AppArmor profile for rootlesskit to handle restrictions on unprivileged user namespaces in Ubuntu 23.10 and later.
  • Ensure proper installation by checking for necessary AppArmor files and restarting the AppArmor service as needed.
  • Update the uninstallation script to remove existing AppArmor profiles when cleaning up.

@fahedouch fahedouch force-pushed the reflect-apparmor-restrict-unprivileged-userns branch 2 times, most recently from 1df39ce to 2831b14 Compare January 15, 2025 17:30
Introduce automatic creation and cleanup of an AppArmor profile for rootlesskit to handle restrictions on unprivileged user namespaces in Ubuntu 23.10 and later. Ensure proper installation by checking for necessary AppArmor files and restarting the AppArmor service as needed. Update the uninstallation script to remove existing AppArmor profiles when cleaning up.

Signed-off-by: fahed dorgaa <[email protected]>
@fahedouch fahedouch force-pushed the reflect-apparmor-restrict-unprivileged-userns branch from 2831b14 to d9e3658 Compare January 15, 2025 17:33
@fahedouch fahedouch added this to the v2.0.3 milestone Jan 15, 2025
@fahedouch fahedouch marked this pull request as draft January 15, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant