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

apparmor_parser fail on ububut 18.04 #50

Open
linuxemb opened this issue Jun 16, 2020 · 4 comments
Open

apparmor_parser fail on ububut 18.04 #50

linuxemb opened this issue Jun 16, 2020 · 4 comments

Comments

@linuxemb
Copy link

linuxemb commented Jun 16, 2020

Hi I was trying to create a nfs server container follow you instruction, got failed here.
$ sudo apparmor_parser -r -W /home/lshi/extra/docker/nfs-server-alpine/erichough-nfs

AppArmor parser error for /home/lshi/extra/docker/nfs-server-alpine/erichough-nfs in /home/lshi/extra/docker/nfs-server-alpine/erichough-nfs at line 3: Could not open 'abstractions/lxc/container-base'

----------------file erichough-nfs-------------------
#include <tunables/global>
profile erichough-nfs flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/lxc/container-base>
mount fstype=nfs*,
mount fstype=rpc_pipefs,
}

@linuxemb linuxemb changed the title apparmor_parser on ububut 18.04 apparmor_parser fail on ububut 18.04 Jun 16, 2020
@ehough
Copy link
Owner

ehough commented Jul 23, 2020

Hello and my apologies for my terrible response time. This problem was mentioned in #23, and someone there reported that installing lxc resolved the parser error. Could you give that a try and let us know if it works for you? i.e. apt-get install lxc.

If it works for you, I'll update the docs accordingly. Thanks!

@tcaselli
Copy link

For my part I had this exact same error and apt-get install lxc fixed the problem. Thanks !

@linuxemb
Copy link
Author

linuxemb commented Aug 19, 2020 via email

@buzink
Copy link

buzink commented Sep 3, 2023

I also had the same problem today and for me "apt-get install lxc" als worked. @ehough, could you maybe commit the PR for the docs? It will save us a google query :).

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

4 participants