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

Enroot Apparmor error on Ubuntu Jammy #201

Open
twh opened this issue Jul 23, 2024 · 1 comment
Open

Enroot Apparmor error on Ubuntu Jammy #201

twh opened this issue Jul 23, 2024 · 1 comment

Comments

@twh
Copy link

twh commented Jul 23, 2024

Upgrading a test host on my cluster to 3.5 and Apparmor fails to load:
AppArmor parser error for /etc/apparmor.d/enroot in profile /etc/apparmor.d/enroot at line 1: Could not open 'abi/4.0': No such file or directory

@flx42
Copy link
Member

flx42 commented Jul 23, 2024

We need to fix this, but for your Ubuntu version (22.04) you should be able to just disable the enroot apparmor profile:

$ sudo ln -s /etc/apparmor.d/enroot /etc/apparmor.d/disable/enroot

The apparmor profile is required for Ubuntu 23.10 and above: https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants