Kernel missing features

When snapd starts it says that

apparmor is enabled but some kernel features are missing: dbus, network

I use Linux with kernel 5.14

How can I fix that or bypass it, because at this moment when I try to use the package installed with snap I got snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks

What is snap version on your system?

snap and snapd 2.52.1, series 16

Can you please show the full output ?

snap    2.52.1
snapd   2.52.1
series  16
kali    2021.4
kernel  5.15.0-kali2-amd64

I found that enabling snapd.apparmor can help, so I do that, and snap-confine elevated permission problem is gone. But the missing features are still appearing

you’d have to have a kernel with these features enabled, nothing that can be done on the snapd side, snapd is just a consumer (but will gracefully fall back to degraded security on such kernels)

So just I have to ignore that? Do these have any negative impact on snap’s functions?

only to the secure confinement, it should not have any functional impact …