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

Improve reliability and refactor API #3

Merged
merged 13 commits into from
Oct 14, 2022
Merged

Improve reliability and refactor API #3

merged 13 commits into from
Oct 14, 2022

Conversation

pjbgf
Copy link
Owner

@pjbgf pjbgf commented Oct 14, 2022

No description provided.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
The call to aa_is_enabled seems to be less reliable than reading
the enabled file within AppArmor's parameters dir. In some machines
running as root in the host, and still it would complain of not
having enough permissions to determine whether or not AppArmor
was enabled.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Calls aa_find_mountpoint did not seem to work reliably,
removing and using the standard mounts instead.

Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Dockerfile Show resolved Hide resolved
@pjbgf pjbgf force-pushed the isloaded branch 3 times, most recently from 8890971 to eec1d43 Compare October 14, 2022 17:44
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Dockerfile Show resolved Hide resolved
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
@pjbgf pjbgf marked this pull request as ready for review October 14, 2022 18:45
@pjbgf pjbgf merged commit 59b7f13 into main Oct 14, 2022
@pjbgf pjbgf deleted the isloaded branch October 14, 2022 18:45
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

Successfully merging this pull request may close these issues.

1 participant