Last active
September 11, 2024 13:04
-
-
Save vancanhuit/d51d2ec51ef07cdd4fc02512a078a4d6 to your computer and use it in GitHub Desktop.
Handling SELinux for incus-agent on Red Hat based VMs
This file contains 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
# https://github.com/lxc/incus/commit/b2cd793ae4ce016ca7da128cc2d14544c041c801 | |
# https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/using_selinux/changing-selinux-states-and-modes_using-selinux#enabling-selinux-on-systems-that-previously-had-it-disabled_changing-selinux-states-and-modes | |
semanage fcontext -a -t bin_t /var/run/incus_agent/incus-agent | |
restorecon -R /run/incus_agent | |
fixfiles -F onboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment