Snap install apparmor error: 'profile has merged rule with conflicting x modifiers'

Seth Arnold seth.arnold at canonical.com
Fri Jan 20 23:32:53 UTC 2017


On Sat, Jan 21, 2017 at 12:14:44AM +0100, Joseph Rushton Wakeling wrote:
> - Setup snap "dub" (unset) security profiles (cannot setup apparmor for snap
> "dub": cannot load apparmor profile "snap.dub.dub": cannot load apparmor
> profile: exit status 1
> apparmor_parser output:
> profile has merged rule with conflicting x modifiers
> ERROR processing regexs for profile snap.dub.dub, failed to load
> )

> Can anyone suggest what could be wrong here?  The package builds and
> installs fine with `strict` confinement.

Hello, classic doesn't work well with plugs or slots:

https://bugs.launchpad.net/snappy/+bug/1655369

Try removing those from your yaml and see if that lets you move forward.

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170120/1ad03ea7/attachment.sig>


More information about the Snapcraft mailing list