Comment 0 for bug 1806135

Revision history for this message
Zygmunt Krynicki (zyga) wrote : Interface manager ought to monitor the status of apparmor.service, warn when disabled

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.