Re: Issues using dbus in strict

2017-04-03 Thread knitzsche
Hi Jamie, Do you have any input on this issue? thanks On 03/31/2017 10:55 AM, Sergey Borovkov wrote: Hi. I am running a couple of daemons (daemon: simple) and they interact between each other using dbus. Unfortunately I've ran into the issue when porting them from devmode to strict, I am

Re: Issues using dbus in strict

2017-03-31 Thread knitzsche
Hi folks, any tips here to unblock this critical issue? Thanks On 03/31/2017 10:55 AM, Sergey Borovkov wrote: Hi. I am running a couple of daemons (daemon: simple) and they interact between each other using dbus. Unfortunately I've ran into the issue when porting them from devmode to strict, I

Re: workaround for connect no autoconnect interfaces without login on system

2017-03-10 Thread knitzsche
Hi Jamie On 03/10/2017 07:20 AM, Jamie Strandboge wrote: Gadget developers are supposed to have a voice in what is autoconnected on their devices and it seems that Nicolino is asking for advice on how to make that happen. This comes up from time to time so once there is a definitive answer,

Re: Updating a gadget snap

2017-03-09 Thread knitzsche
Hi, Is there a description/understanding of to expect with a time frame? This information would help Renat and others who want to be sure that products made today have an upgrade path in the field. Cheers, kyleN On 03/08/2017 05:54 AM, Ренат Галимов wrote: Thanks, Jamie. The reason we

Re: content interface, DENIED mounting $SNAP/mydir

2017-03-09 Thread knitzsche
solve is auto connecting to a content interface mount. Currently, one needs to create the SNAP_COMMON/dir (into which the content is mounted) *before* connecting the interface, and it is hard to do that when the interface is auto-connected. Cheers, kyleN On 03/02/2017 01:33 PM, knitzsche

Re: Issue with ubuntu OS snap first time boot.

2017-02-15 Thread knitzsche
probably this bug: https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1652270 On 02/13/2017 11:04 PM, XiaoGuo Liu wrote: Today, I had the same problem. I downloaded the Raspberry Pi3 image at: http://cdimage.ubuntu.com/ubuntu-core/16/stable/ The date is: ubuntu-core-16-pi3.img.xz

Re: Exposing dbus interface and using it inside the same snap

2017-02-13 Thread knitzsche
Hi Jamie, Can you please point out the error in the below? I believe he is getting an error like this (perhaps truncated): Feb 13 19:33:07 ubuntu snap[3207]: GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.49" is not allowed to own the

launchpad snap recipe fails with classic confinement

2017-02-09 Thread knitzsche
Is building a snap with *classic* confinement from a recipe supported on lp? I created a snap recipe for my imported git branch and tried to build, and the builds fail with: Preparing to pull env classic confinement requires the core snap to be installed. Install it by running `snap install

connecting a non-auto interface, automatically

2017-02-07 Thread knitzsche
What is the approach to connect interfaces that are not auto-connecting without user intervention? That is, there's a snap (built into an image) that declares the log-observe plug. Log-observe interface does not auto-connect [1]. In this product, the user does not have a console, so they

Re: How to add custom libs to snap?

2017-01-09 Thread knitzsche
On 01/09/2017 05:14 AM, Alan Pope wrote: Hi Andrey, On 9 January 2017 at 08:59, Andrey Rogovsky wrote: I need add custom precompiled libs (no sources) to my snap. I have directory with libs. Need put it into snap. How I can do it? I achieved this with one of my snaps

scratch-qt project

2017-01-04 Thread knitzsche
Over the holidays, I scratched an itch to write a Qt/QML/C++ threaded app snapped with ubuntu-app-platform. Goals: * C++ backend using controller/worker thread approach so QML GUI is non-blocking when user taps buttons and backend methods run * Concurrent execution of backends * Easy to use

Re: Shared content example - ubuntu-app-platform

2016-12-07 Thread knitzsche
Great idea! How do consumers (snap devs) know the lib/API versions contained? On touch we had the concept of a "framework", whose version implied a set of API commitments. Since this puts QT together with other (Ubuntu ) libs, what's the reasonable expectation? On 11/11/2016 02:46 PM, Timo