Comment 15 for bug 1939949

Revision history for this message
Anton Troyanov (troyanov) wrote :

One possible solution might be just to add allowance rule to the AppArmor profile of `snap.maas.supervisor`
However, if you do this MAAS can potentially read all your data!

On your host machine you can edit `/var/lib/snapd/apparmor/profiles/snap.maas.supervisor`:
1. Navigate to the section `profile "snap.maas.supervisor" (attach_disconnected,mediate_deleted)`
2. Add the following line inside the scope `/dev/sda r,`