AFAICT lxc-4.0.4 got rid of security_context_t:
commit 15d82dfe4f7900be54e06b6ca0a79321ee2a9b34 Author: Christian Brauner <christian.brau...@ubuntu.com> Date: Sat Jul 25 11:36:46 2020 +0200 selinux: remove security_context_t usage as it's deprecated Link: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1888705 Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com> I would suggest to use upstream's new version. Regards Harri