On some systems snapd relies on apparmor.service systemd unit to load apparmor profiles on boot. As we found in https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1803476 the service may be disabled for arbitrary reason, leading to hard-to-diagnose issues. The interface manager's ensure method might ask systemd about the state of apparmor.service and if such unit exists but is disabled, issue a warning about it to the user.
On some systems snapd relies on apparmor.service systemd unit to load apparmor profiles on boot. As we found in https:/ /bugs.launchpad .net/ubuntu/ +source/ snapd/+ bug/1803476 the service may be disabled for arbitrary reason, leading to hard-to-diagnose issues. The interface manager's ensure method might ask systemd about the state of apparmor.service and if such unit exists but is disabled, issue a warning about it to the user.