Re: Snapcraft 2.25 has been released.

2017-01-19 Thread XiaoGuo Liu
Hi, For the desktop, can each of the app have its own icon? If yes, how can we define the icons for each of them? Thanks & best regards, XiaoGuo On Thu, Jan 19, 2017 at 10:47 AM, Sergio Schvezov wrote: > Hello snapcrafters! > > We are pleased to announce the release of version `2.25` of snapcr

ANN: snap for TLA+Toolbox

2017-01-19 Thread Andrew Wilkins
Hi folks, I've recently been re-living my misspent university days learning about modelling complex systems and model-checking. In particular, I've been reading about TLA+ (Temporal Logic of Actions) [0], a language conceived by Leslie Lamport, and playing with the TLA+Toolbox. The TLA+Toolbox is

Re: Ubuntu core on BBB

2017-01-19 Thread Mohammad Moradi
HiIt's good to hear that Ubuntu core supports BBB again. it's unfair to deprive such a great SBC.Thank you Ubuntu developers Mohammads Sent from Yahoo Mail on Android On Fri, Dec 16, 2016 at 18:17, Oliver Grawert wrote: hi, Am Freitag, den 16.12.2016, 13:17 + schrieb Jamie Bennett: > >

Re: Error using custom image

2017-01-19 Thread Luke Williams
In the assertion file for the image, if it is amd64, is the model and gadget still pc or is it core now? Thanks, Luke Williams - Technical Partner Manager, Open Networking/Ubuntu-Core email: luke.willi...@canonical.com http://www.canonical.com/

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread XiaoGuo Liu
I think it would be good to let "snappy-debug" snap output what are the needed plugs. Sometimes, the utility does not give us hints. Is there any way to improve the app? It is even easier than looking for some info on the website. https://github.com/snapcore/snapd/wiki/Security Thanks & best re

Re: Please test my asciinema snap

2017-01-19 Thread Michael Hudson-Doyle
PYTHONHOME also leaks into the recording environment. On 20 January 2017 at 13:03, Michael Hudson-Doyle < michael.hud...@canonical.com> wrote: > This confused me for a while: https://asciinema.org/ > a/2ua1d08k6v8jiyy1m2uyvn8rx (spoiler: python3 inside 'asciinema rec' is > python3 from the core s

Classic confinement success for LDC D compiler

2017-01-19 Thread Joseph Rushton Wakeling
On 13/01/17 21:46, Joseph Rushton Wakeling wrote: Hearing about classic confinement was rather exciting given that it seems tailor-made for the use-cases of my current WiP snaps for the ldc2 D compiler and the dub D build system: https://github.com/WebDrake/ldc2.snap/pull/1 https://github.com/Web

Re: Please test my asciinema snap

2017-01-19 Thread Michael Hudson-Doyle
This confused me for a while: https://asciinema.org/a/2ua1d08k6v8jiyy1m2uyvn8rx (spoiler: python3 inside ' asciinema rec' is python3 from the core snap). Cheers, mwh On 18 January 2017 at 22:16, Mark Shuttleworth wrote: > Hi folks > > (For those of you who Gmail does not filter this email on >

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Oliver Ries
On Thu, Jan 19, 2017 at 8:54 AM, Sergio Schvezov < sergio.schve...@canonical.com> wrote: > On Thu, 19 Jan 2017 07:58:53 -0700, Oliver Ries wrote: > > On Thu, Jan 19, 2017 at 2:49 AM, Jamie Bennett < > jamie.benn...@canonical.com> > > wrote: > > > >> Hi Tonny, > >> > >> A quick grep of the snapd so

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Jamie Strandboge
On Thu, 2017-01-19 at 22:56 +0800, Tonny Tzeng wrote: > BTW, while trying different interfaces for getting permission for > /dev/rfkill, I accidentally set 'kernel-module-control' plug in my snap, > which triggers pending review of the snap, and blocking following pushes. > How could I withdraw or

Re: Snapping webapps

2017-01-19 Thread Pat McGowan
There was an issue where you need to uninstall the snap, reinstall it, connect it (before running it) then run and all is well. I believe it was fixed in a recent snapd. On Thu, Jan 19, 2017 at 4:08 PM, Fabio Colella wrote: > Nice, thank you. > > Unfortunately when I build it locally and I try t

Re: Snapping webapps

2017-01-19 Thread Fabio Colella
Nice, thank you. Unfortunately when I build it locally and I try to run it, it endlessly asks me to be connected to the ubuntu-app-platform even if I already connected it.. On 19 January 2017 at 21:52, Pat McGowan wrote: > > > On Thu, Jan 19, 2017 at 10:20 AM, Fabio Colella < > fabiocolella1...

Re: Snapping webapps

2017-01-19 Thread Pat McGowan
On Thu, Jan 19, 2017 at 10:20 AM, Fabio Colella wrote: > Hello, > I'm trying to snap a simple webapp for HexGL. > > Here's the code: https://github.com/fcole90/fcole-hexgl-webapp > > Unfortunately it's failing to start due to the following error: > > Qt: Session management error: None of the auth

Re: Classic confinement and core_dynamic_linker

2017-01-19 Thread Joseph Rushton Wakeling
On 19/01/17 16:56, Joe Talbott wrote: 'snapcraft build' only builds the part. You'd need to run 'snapcraft stage' to get files into the stage directory and 'snapcraft prime' to get files into the prime directory. 'snapcraft prime' will do a 'snapcraft stage' as part of its lifecycle. :-\ I'

Fwd: Snapping webapps

2017-01-19 Thread Fabio Colella
Hello, I'm trying to snap a simple webapp for HexGL. Here's the code: https://github.com/fcole90/fcole-hexgl-webapp Unfortunately it's failing to start due to the following error: Qt: Session management error: None of the authentication protocols specified are supported QGtkStyle could not resol

Re: Locally extending trusted certificates

2017-01-19 Thread Tyler Hicks
On 01/18/2017 07:00 PM, Manik Taneja wrote: > hi there, > > just wanted to follow-up on this query and see if we have a solution to > this problem? There have been some offline discussions about possible solutions but they're still in the early stages and nobody is actively work on this right now

Re: Error using custom image

2017-01-19 Thread Oliver Grawert
hi, Am Donnerstag, den 19.01.2017, 09:08 -0800 schrieb Luke Williams: > That fixed it for the most part. Now we are getting dropped to a > maintenance shell saying that our /lib/modules/ directory is empty. I > feel this might have something to do with how we are building the > kernel itself.  so

Re: Signing snaps with your own keys on your own local store.

2017-01-19 Thread nitin mahendru
Mark, Thank you for such a quick reply. I'll wait for the release of the store code from you guys. Meanwhile I will try to see if I can modify the public one for my needs. Thanks Nitin On Thu, Jan 19, 2017 at 8:11 AM Mark Shuttleworth wrote: > > I would suggest you start with classic (deb-bas

Re: Error using custom image

2017-01-19 Thread Luke Williams
That fixed it for the most part. Now we are getting dropped to a maintenance shell saying that our /lib/modules/ directory is empty. I feel this might have something to do with how we are building the kernel itself. Thanks, Luke Williams - Technical Partner Manager, Open Networking/Ubuntu-Core

Re: Signing snaps with your own keys on your own local store.

2017-01-19 Thread Mark Shuttleworth
I would suggest you start with classic (deb-based) Ubuntu and make 'classic' snaps. When those are working well you can start devmode development to add the confinement, which gives you fully confined ('strict') snaps. At that point, you can use Ubuntu Core. On the store, there are various folks

Re: Classic confinement and core_dynamic_linker

2017-01-19 Thread Joe Talbott
On Wed, Jan 18, 2017 at 7:37 PM, Joseph Rushton Wakeling wrote: > On 18/01/17 02:21, Sergio Schvezov wrote: >> >> The logic is still run, but the resulting binary in classic uses rpath and >> no dynamic loading so there is no resolution to a on-system library we can >> pick up. I guess we can do s

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Sergio Schvezov
On Thu, 19 Jan 2017 07:58:53 -0700, Oliver Ries wrote: > On Thu, Jan 19, 2017 at 2:49 AM, Jamie Bennett > wrote: > >> Hi Tonny, >> >> A quick grep of the snapd source code shows that /dev/rfkill is part of >> the network-control and network-manager interfaces. >> > > this method (grep the code) ha

Signing snaps with your own keys on your own local store.

2017-01-19 Thread nitin mahendru
Hi Everyone, I am new to the world of snaps and am pretty excited to learn more about it. I am trying to run ubuntu core on a Raspberry pi and I want to securely update snaps which run on it. What I want to do is: 1. Build my own snap 2. upload it to my own instance of a snap store where while

Snapping webapps

2017-01-19 Thread Fabio Colella
Hello, I'm trying to snap a simple webapp for HexGL. Here's the code: https://github.com/fcole90/fcole-hexgl-webapp Unfortunately it's failing to start due to the following error: Qt: Session management error: None of the authentication protocols specified are supported QGtkStyle could not resol

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Oliver Ries
On Thu, Jan 19, 2017 at 2:49 AM, Jamie Bennett wrote: > Hi Tonny, > > A quick grep of the snapd source code shows that /dev/rfkill is part of > the network-control and network-manager interfaces. > this method (grep the code) has been a repeated answer in the last few days, do we have any way of

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Tonny Tzeng
BTW, while trying different interfaces for getting permission for /dev/rfkill, I accidentally set 'kernel-module-control' plug in my snap, which triggers pending review of the snap, and blocking following pushes. How could I withdraw or drop the pending snap and it's successors in the Store? Best

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Tonny Tzeng
Thanks for your quick responses, Simon & Jamie, it works by connect the snap to 'network-control' interface. Many thanks! Best Regards, Tonny On Thu, Jan 19, 2017 at 5:50 PM, Simon Fels wrote: > On 19.01.2017 10:41, Tonny Tzeng wrote: > > Hi, > > > > I'd like to unblock the Bluetooth interface

Snapcraft 2.25 has been released.

2017-01-19 Thread Sergio Schvezov
Hello snapcrafters! We are pleased to announce the release of version `2.25` of snapcraft has been released: https://launchpad.net/snapcraft/+milestone/2.25 This release is now available on xenial-updates, yakkety-updates and zesty. What follows are the full release notes (the prettier version c

Snapcraft 2.25 has been released

2017-01-19 Thread Sergio Schvezov
Hello snapcrafters! We are pleased to announce the release of version `2.25` of snapcraft has been released: https://launchpad.net/snapcraft/+milestone/2.25 This release is now available on xenial-updates, yakkety-updates and zesty. What follows are the full release notes (the prettier version c

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Simon Fels
On 19.01.2017 10:41, Tonny Tzeng wrote: > Hi, > > I'd like to unblock the Bluetooth interface on Ubuntu Core, so I use > 'stage-packages' keyword to install 'rfkill' package to my snap. If I > install the snap in devmode, the rfkill command works as expected. But > if the snap is installed in conf

Re: Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Jamie Bennett
Hi Tonny, A quick grep of the snapd source code shows that /dev/rfkill is part of the network-control and network-manager interfaces. Regards, Jamie. > On 19 Jan 2017, at 09:41, Tonny Tzeng wrote: > > Hi, > > I'd like to unblock the Bluetooth interface on Ubuntu Core, so I use > 'stage-pac

Which snap interface allows accessing /dev/rfkill?

2017-01-19 Thread Tonny Tzeng
Hi, I'd like to unblock the Bluetooth interface on Ubuntu Core, so I use 'stage-packages' keyword to install 'rfkill' package to my snap. If I install the snap in devmode, the rfkill command works as expected. But if the snap is installed in confined mode, I always get 'Permission denied', and the