I am nesting lxc container ( c) inside lxc container (H). Host container(H) and container in host ( C) both are created with
-c security.privileged=true -c security.nesting=true.
Everything is working fine in the container ( C). However, with certain commands, I am getting the following errors: ( eg tasksel running)
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Failed to query AppArmor policy: Permission denied tasksel: apt-get failed (100)
I am unable to get the perfect solution to get rid of this error. Any help?