B OpenNebula/one#6584: Fix location for datastores path in apparmor policy file and uncomment#2912
Open
B OpenNebula/one#6584: Fix location for datastores path in apparmor policy file and uncomment#2912
Conversation
Signed-off-by: Mikalai Kutouski <mkutouski@opennebula.io>
3 tasks
rsmontero
approved these changes
Aug 6, 2024
rsmontero
reviewed
Aug 6, 2024
| Depending on the type of OpenNebula deployment, the AppArmor can block some operations initiated by the OpenNebula Front-end, which results in a failure of the particular operation. It's **not recommended to disable** the apparmor on production environments, as it degrades the security of your server, but to investigate and workaround each individual problem, a good starting point is `AppArmor HowToUse Guide <https://wiki.debian.org/AppArmor/HowToUse/>`__. The administrator might disable the AppArmor to temporarily workaround the problem or on non-production deployments the steps for disabling it can be found `here <https://wiki.debian.org/AppArmor/HowToUse#Disable_AppArmor>`__. | ||
|
|
||
| .. note:: Depending on your OpenNebula deployment type, the following lines might be required at ``/etc/apparmor.d/abstractions/libvirt-qemu`` profile: | ||
| .. note:: Depending on your OpenNebula deployment type, the following lines might be required at ``/etc/apparmor.d/local/abstractions/libvirt-qemu`` profile: |
Member
There was a problem hiding this comment.
The patch seems to be wrong, in 2404:
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
The path in the documentation seems to be right (i.e. no local) ?
$ ls -la /etc/apparmor.d/abstractions/libvirt-qemu
-rw-r--r-- 1 root root 9776 Jul 1 18:12 /etc/apparmor.d/abstractions/libvirt-qemu
rsmontero
requested changes
Aug 6, 2024
Member
rsmontero
left a comment
There was a problem hiding this comment.
Please check path seems that current one is correct
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix location for datastores path in apparmor policy file and remove the leading
#as it's treated by apparmor. as comment.Branches to which this PR applies