<div dir="ltr"><div><div><div><div>Hey<br><br></div>This bug is fixed in the recently released snapd 2.21. Mark's suggestion is correct. You should not (until 2.21) combine interfaces and classic confinement. Since you may be interested what happens when you do. In 2.21 you can install a snap that is using classic confinement with --jailmode which will enable all those plugs/slots and treat it as any other snap.<br><br></div>I hope this helps you out<br><br></div>Best regards<br></div>ZK<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 16, 2017 at 10:02 AM, Mark Shuttleworth <span dir="ltr"><<a href="mailto:mark@ubuntu.com" target="_blank">mark@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span class="">
    <div class="m_-6321581250811133731moz-cite-prefix">On 15/01/17 08:58, Luke Williams wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I have the following error when I try to install my snap in
          classic mode:</div>
        <div><br>
        </div>
        <div>
          <div style="font-size:12.8px">root@ubuntu:~# snap install
            flexswitch_1.0.0.178.0_amd64.s<wbr>nap --classic
            --force-dangerous                                          
                 </div>
          <div style="font-size:12.8px">error: cannot perform the
            following tasks:                                            
                                                              </div>
          <div style="font-size:12.8px">- Setup snap "flexswitch"
            (unset) security profiles (cannot setup apparmor for snap
            "flexswitch": cannot load apparmor profile "snap.flex</div>
          <div style="font-size:12.8px">switch.flexswitch": cannot load
            apparmor profile: exit status 1                            
                                                         </div>
          <div style="font-size:12.8px">apparmor_parser output:        
                                                                       
                                                         </div>
          <div style="font-size:12.8px">profile has merged rule with
            conflicting x modifiers                                    
                                                            </div>
          <div style="font-size:12.8px">ERROR processing regexs for
            profile snap.flexswitch.flexswitch, failed to load          
                                                            </div>
          <div style="font-size:12.8px">)                              
                                                                       
                                                         </div>
          <div style="font-size:12.8px">- Setup snap "flexswitch"
            (unset) security profiles (cannot load apparmor profile
            "snap.flexswitch.flexswitch": cannot load apparmor prof</div>
          <div style="font-size:12.8px">ile: exit status 1              
                                                                       
                                                        </div>
          <div style="font-size:12.8px">apparmor_parser output:        
                                                                       
                                                         </div>
          <div style="font-size:12.8px">profile has merged rule with
            conflicting x modifiers                                    
                                                            </div>
          <div style="font-size:12.8px">ERROR processing regexs for
            profile snap.flexswitch.flexswitch, failed to load          
                                                            </div>
          <div style="font-size:12.8px">)                              
                                                                </div>
          <div><br>
          </div>
          <div>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?</div>
          <div><br>
          </div>
          <div>I am trying to install this snap on 16.04 Server.</div>
        </div>
      </div>
    </blockquote>
    <br></span>
    I have a feeling this is when one tries to combine "confinement:
    classic" with plugs on commands.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Mark<br>
  </font></span></div>

<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br></div>