<div dir="ltr">After talking to people in IRC I've been lead to believe that I can't actually create and start a network bridge without the user running additional commands.<div><br></div><div>My user experience is:</div><div><br></div><div>$ snap install conjure-up</div><div><br></div><div>.. custom LXD bridge is created during that install, the bridge is then started</div><div><br></div><div>But what I'm being told is I have to do:</div><div><br></div><div>$ snap install conjure-up</div><div>$ snap connect</div><div>$ some form of systemctl command</div><div><br></div><div>This is required even though I've set in my snapcraft.yaml that I need access to those plugins (network-control, network-bind, firewall-control). This is actually a blocker for me as I can not replicate the same user experience as if the user was installing via deb packages.</div><div><br></div><div>Am I missing anything? Can this be resolved to just running a single install command and having everything setup for the user to start with?</div><div><br></div><div>For reference this is my snapcraft and files I need to work:</div><div><br></div><div><a href="https://github.com/conjure-up/conjure-up/tree/patch-add-bridge-to-snap/snapcraft">https://github.com/conjure-up/conjure-up/tree/patch-add-bridge-to-snap/snapcraft</a><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 16, 2016 at 5:04 PM Jamie Strandboge <<a href="mailto:jamie@canonical.com">jamie@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 2016-08-16 at 19:07 +0000, Adam Stokes wrote:<br>
> I've found some discussion on this here:<br>
><br>
> <a href="https://lists.ubuntu.com/archives/snappy-app-devel/2015-November/000477.html" rel="noreferrer" target="_blank">https://lists.ubuntu.com/archives/snappy-app-devel/2015-November/000477.html</a><br>
><br>
> I am curious to know if this is possible now or still a work in progress? I<br>
> have a snap that requires a custom LXD bridge and would like to make use of<br>
> that if possible.<br>
<br>
The 'network-control' interface is meant to be used for this sort of thing and<br>
should give you the permissions required for setting up bridges, etc. If there<br>
are bugs with the security policy, please file them at:<br>
<br>
<a href="https://bugs.launchpad.net/snappy/+filebug" rel="noreferrer" target="_blank">https://bugs.launchpad.net/snappy/+filebug</a><br>
<br>
and add the 'snapd-interface' tag.<br>
<br>
--<br>
Jamie Strandboge | <a href="http://www.canonical.com" rel="noreferrer" target="_blank">http://www.canonical.com</a><br>
<br>
</blockquote></div>