Comment 2 for bug 1379488

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

The suggested fix by Jamie didn't work in preliminary testing. That said due to the difficulties of releasing autopilot and maintaining these rules (see https://bugs.launchpad.net/ubuntu-app-launch/+bug/1376423), I feel it would be better to workaround them by dropping mocking support on the device and requiring the test runner to setup a clean environment. This assumption should work fine in CI as images are flash at the beginning of each test run.

By dropping mocking support, we don't use the fakeenv and thus these rules are not invoked (and therefore won't cause apparmor denials). See the MP for calculator as an example.