Apparmor error when using classic mode

Mark Shuttleworth mark at ubuntu.com
Mon Jan 16 09:02:49 UTC 2017


On 15/01/17 08:58, Luke Williams wrote:
> Hello,
>
> I have the following error when I try to install my snap in classic mode:
>
> root at ubuntu:~# snap install flexswitch_1.0.0.178.0_amd64.snap
> --classic --force-dangerous                                          
>      
> error: cannot perform the following tasks:                            
>                                                                   
> - Setup snap "flexswitch" (unset) security profiles (cannot setup
> apparmor for snap "flexswitch": cannot load apparmor profile "snap.flex
> switch.flexswitch": cannot load apparmor profile: exit status 1      
>                                                                    
> apparmor_parser output:                                              
>                                                                    
> profile has merged rule with conflicting x modifiers                  
>                                                                   
> ERROR processing regexs for profile snap.flexswitch.flexswitch, failed
> to load                                                           
> )                                                                    
>                                                                    
> - Setup snap "flexswitch" (unset) security profiles (cannot load
> apparmor profile "snap.flexswitch.flexswitch": cannot load apparmor prof
> ile: exit status 1                                                    
>                                                                   
> apparmor_parser output:                                              
>                                                                    
> profile has merged rule with conflicting x modifiers                  
>                                                                   
> ERROR processing regexs for profile snap.flexswitch.flexswitch, failed
> to load                                                           
> )                                                                    
>               
>
> I cannot find any information on why it is failing to install. Any
> thing I should look at to see what is keeping this from working or any
> more information you need to assist in troubleshooting?
>
> I am trying to install this snap on 16.04 Server.

I have a feeling this is when one tries to combine "confinement:
classic" with plugs on commands.

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170116/874523f6/attachment-0001.html>


More information about the Snapcraft mailing list