Re: How do I share a namespace between snap commands?

2016-08-08 Thread Didier Roche
Le 08/08/2016 à 17:50, David Garrod a écrit : > I just wanted follow up on this issue: > > Re: > >> From: Jamie Strandboge [mailto:ja...@canonical.com] >> Sent: Wednesday, July 27, 2016 1:03 PM >> ... >> To your specific question, I would expect one app within your snap to be >> able to create a n

Re: godeps plugin enhancement... maybe?

2016-08-08 Thread Ian Booth
I tried: source: /path/to/my/go/juju/src But it seems the godeps plugin ignores that as it still wanted to run godeps in /parts/juju/src/dependencies.tsv The plugin is really new, and works well with git sources. Just not directories yet. On 09/08/16 15:50, Simon Fels wrote: > On 09.08.2016 07

Re: godeps plugin enhancement... maybe?

2016-08-08 Thread Simon Fels
On 09.08.2016 07:46, Ian Booth wrote: > Hi folks > > Firstly, thanks for the recent godeps plugin. > > I'd like to be able to control where the git checkout goes, or better just > snap > from source. When the pull step runs, it places all the source into > /parts/juju/go/src > > It takes a looo

godeps plugin enhancement... maybe?

2016-08-08 Thread Ian Booth
Hi folks Firstly, thanks for the recent godeps plugin. I'd like to be able to control where the git checkout goes, or better just snap from source. When the pull step runs, it places all the source into /parts/juju/go/src It takes a lng time to checkout everything and then run godeps, especi

Re: How to handle conffiles in snaps?

2016-08-08 Thread Simon Fels
On 08.08.2016 22:06, Christian Ehrhardt wrote: > Hi, > I was wondering how conffiles should be handled with snapcraft / snaps in > general. > I understand that for a more "app" style application the configuration is > mostly > via some kind of UI/ webserver and it can store that "locally" in it'

Re: .desktop files for app-in-snap

2016-08-08 Thread Vasilisc
09.08.2016 07:52, Vasilisc пишет: 08.08.2016 11:13, Eloy García (PC Actual) пишет: Hi! You can take a loot at snappy playpen github repository. There is an application (wallpaperdownloader) that it is java-based and it has a desktop icon working fine. This is the URL: https://github.com/ubuntu/

Re: .desktop files for app-in-snap

2016-08-08 Thread Vasilisc
08.08.2016 11:13, Eloy García (PC Actual) пишет: Hi! You can take a loot at snappy playpen github repository. There is an application (wallpaperdownloader) that it is java-based and it has a desktop icon working fine. This is the URL: https://github.com/ubuntu/snappy-playpen Best wishes! El 8

How to handle conffiles in snaps?

2016-08-08 Thread Christian Ehrhardt
Hi, I was wondering how conffiles should be handled with snapcraft / snaps in general. I understand that for a more "app" style application the configuration is mostly via some kind of UI/ webserver and it can store that "locally" in it's data dir. But for the common pattern of a server applicatio

Re: ntopng strict snap published

2016-08-08 Thread Sergio Schvezov
El 08/08/16 a las 13:35, Blake Rouse escribió: > Good news. > > Upstream has merged my pull request that places the snapcraft.yaml in > the root of the project. Nice! > I now have a question on how I can provide them with an account that > will allow them to upload as ntopng. Currently ntopng

Re: ntopng strict snap published

2016-08-08 Thread Blake Rouse
Good news. Upstream has merged my pull request that places the snapcraft.yaml in the root of the project. I now have a question on how I can provide them with an account that will allow them to upload as ntopng. Currently ntopng is a reserved name. I would like to setup some travis CI that will a

Re: How do I get a postinst stage properly executed - traceroute will not install correctly

2016-08-08 Thread Oliver Grawert
hi, On Di, 2016-08-02 at 12:35 +0200, Loïc Minier wrote: > Hi David, > > > Yes I know I can do some special messing around to try and fix up > > the installation but I don’t think that is a good idea. How can I > > get the package to install fully and correctly inside the SNAP, > > i.e. properly e

RE: How do I get a postinst stage properly executed - traceroute will not install correctly

2016-08-08 Thread David Garrod
Re: Ø Perhaps there should be a separate plugin which does the "true .deb" installation process in a chroot etc., but for your specific traceroute use case it seems easier to just add the missing symlinks created by update-alternatives yourself (or simply move the binaries to the expected pl

RE: How do I share a namespace between snap commands?

2016-08-08 Thread David Garrod
I just wanted follow up on this issue: Re: >From: Jamie Strandboge [mailto:ja...@canonical.com] >Sent: Wednesday, July 27, 2016 1:03 PM > ... > To your specific question, I would expect one app within your snap to be able > to create a network namespace for another app in your snap to access. T

Re: snapcraft cleanbuild problem

2016-08-08 Thread Sergio Schvezov
El 08/08/16 a las 11:42, Cemil Azizoglu escribió: > Hi, > > I've created a snap for mesa demos [1, 2] to add to the playpen. While > building using "snapcraft cleanbuild" I'm getting "500 Internal Server > Error" [3]. My lxc/lxd setup looks sane. Any ideas what might be wrong? This may be rela

snapcraft cleanbuild problem

2016-08-08 Thread Cemil Azizoglu
Hi, I've created a snap for mesa demos [1, 2] to add to the playpen. While building using "snapcraft cleanbuild" I'm getting "500 Internal Server Error" [3]. My lxc/lxd setup looks sane. Any ideas what might be wrong? Thanks [1] http://www.mesa3d.org/intro.html [2] https://cgit.freedesktop.org/m

Re: Connecting snap interfaces

2016-08-08 Thread Zygmunt Krynicki
> El 8 ago 2016, a las 16:09, Christopher Arges > escribió: > > I'm snapping up a daemon and client program that requires several > non-auto-connect interfaces. > > Right now for a user to install and run the program(s) correctly requires: > > snap install daemon-program_1_amd64.snap > snap c

Re: Connecting snap interfaces

2016-08-08 Thread Blake Rouse
I have the same problem with the ntopng snap. Instead auto connecting restricted interfaces I would prefer to see it restart the daemon that required those interfaces once all are connected. - Blake On Mon, Aug 8, 2016 at 10:09 AM, Christopher Arges < chris.j.ar...@canonical.com> wrote: > I'm sn

Connecting snap interfaces

2016-08-08 Thread Christopher Arges
I'm snapping up a daemon and client program that requires several non-auto-connect interfaces. Right now for a user to install and run the program(s) correctly requires: snap install daemon-program_1_amd64.snap snap connect daemon-programd:hardware-observe ubuntu-core:hardware-observe snap connec

Re: Getting QT apps running.

2016-08-08 Thread Dietmar Winkler
Hi, so today i decided to switch back to Unity (but still have the ubuntu-mate-desktop dependencies installed). Turns out the IPE snap is _now_ able to display the menu despite me running Unity. This was not the case before I installed the ubuntu-mate-desktop meta package. So properly confused n

Re: First snaps

2016-08-08 Thread Jacob Zimmermann
Hi Didier > I couldn't get fsuae to work, does it require devmode? (I don't know if > snapd already has the feature to warn/force people to use --devmode when > confinment: devmode is set, Michael?). > > Did you get any issue/missing interfaces that we could report to > upstream (not logged as an b

Re: Using sudo from within a snap

2016-08-08 Thread Oliver Grawert
hi, Am Montag, den 08.08.2016, 09:36 +0200 schrieb Simon Fels: > On 06.08.2016 15:54, Chris Wayne wrote: > > > > Hi guys, > > > > I seem to be having some issues while running anything as sudo from > > within a  > > snap (namely bug https://bugs.launchpad.net/ubuntu/+source/snapd/+b > > ug/161029

Re: .desktop files for app-in-snap

2016-08-08 Thread PC Actual
Hi! You can take a loot at snappy playpen github repository. There is an application (wallpaperdownloader) that it is java-based and it has a desktop icon working fine. This is the URL: https://github.com/ubuntu/snappy-playpen Best wishes! El 8 ago. 2016 9:46 a. m., "Didier Roche" escribió: >

Re: .desktop files for app-in-snap

2016-08-08 Thread Didier Roche
Le 08/08/2016 à 08:47, Vasilisc a écrit : > 08.08.2016 08:50, Didier Roche пишет: >> Le 06/08/2016 à 09:47, Vasilisc a écrit : Please help me. If I launch the program in the Terminal - well done, but I can't start program from Unity Launcher. I tried to change parameter Exe

Re: Using sudo from within a snap

2016-08-08 Thread Simon Fels
On 06.08.2016 15:54, Chris Wayne wrote: > Hi guys, > > I seem to be having some issues while running anything as sudo from within a > snap (namely bug > https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1610292). If you package sudo within your snap snapcraft will strip the necessary suid

Re: Using sudo from within a snap

2016-08-08 Thread Zygmunt Krynicki
> El 6 ago 2016, a las 20:53, Fabio Colella escribió: > > I think using sudo should require proper plug an permission, because I assume > your action to be something out of the ordinary app bounds This is not really true. Any snap can have a background application that runs a root. Sudo feels