I installed LXD with snap (source here) on Centos 8, and on starting a container, I get this error. I just need a hack around this. Or, is there a config flag (or something similar) for snap to not bother with the security subsystem? (I am not using a mainline kernel because I have some patches in this which I need, its all dev env, I don’t need a production-ready hack for this)
lxc start ready-frog 2020/07/10 12:57:58.062876 cmd_run.go:918: WARNING: cannot create user data directory: failed to verify SELinux context of /root/snap: exit status 1 cannot create SELinux context from context string kernel: Invalid argument, $ snap version snap 2.45-1.el8 snapd 2.45-1.el8 series 16 centos 8 kernel 5.7.0-rc1+
I can NOT disable SELinux as a workaround because that is what I am working on. Any help?