Re: classic snap fails to find libraries

2017-01-23 Thread Dan Kegel
I dunno if there's a bug open for it, but I mentioned another workaround earlier this month: https://lists.ubuntu.com/archives/snapcraft/2017-January/002307.html On Mon, Jan 23, 2017 at 7:49 PM, Leo Arias wrote: > After reading the other thread about a similar issue, I

Configuring apparmor / seccomp for a snap to allow sendmsg and mkfifo?

2016-10-24 Thread Dan Kegel
I'm trying to snap a largish package; works fine in devmode, but as the app likes to use unix sockets and fifos, it fails in confined mode with $ sudo /snap/bin/snappy-debug.security scanlog = AppArmor = Time: Oct 24 11:41:09 Log: apparmor="DENIED" operation="sendmsg" profile="snap.foo" pid=8536

Re: [NEWS] Ubuntu built with Qt

2016-11-11 Thread Dan Kegel
Hrmf. Seems like Qt and snappy should be listed in http://dfkoz.com/iot-landscape/ I say this because the people at my company looking for IoT frameworks are looking at that page. On Thu, Nov 3, 2016 at 9:45 PM, Zoltán Balogh wrote: > Hi, > > nice news about the

Client authentication for private snap stores?

2016-11-01 Thread Dan Kegel
We might like to have snap stores which require a client to have a certain certificate to be able to connect and download packages, just as one can do with apt. I think the way go works, the word 'Certificates' would be in the source tree for snapd if this were already supported but I don't

Re: Client authentication for private snap stores?

2016-11-01 Thread Dan Kegel
n be set for specific >> devices by the brand. >> >> Mark >> >> >> On 01/11/16 21:29, Dan Kegel wrote: >>> We might like to have snap stores which require a client to have a >>> certain certificate to be able to connect and download packages, jus

Re: Variables in snapcraft.yaml?

2016-10-15 Thread Dan Kegel
=foo, and support ${joe-bob} and ${billyjoe}, or whatever variables the author cares to define. On Sat, Oct 15, 2016 at 3:29 PM, Leo Arias <leo.ar...@canonical.com> wrote: > On Sat, Oct 15, 2016 at 12:49 PM, Dan Kegel <d...@kegel.com> wrote: >> >> Thoughts? > > >

Variables in snapcraft.yaml?

2016-10-15 Thread Dan Kegel
I'm snapping an app that uses a library. The library has its major number in its package name and directories, as is customary. I'd like to use the same snapcraft.yaml even when the major number of the library changes (we build several versions all the time), except perhaps for changing a

add-apt-repository and snapcraft cleanbuild?

2016-10-15 Thread Dan Kegel
Hey all, Day 3 of using snapcraft, and I've managed to get both piglit and a proprietary app snapped and running. Snapcraft's learning curve is not too steep, kudos. Problem: I can't do 'snapcraft cleanbuild' on my proprietary apps because they depend on packages in a ppa and/or a private apt

opengl on ubuntu core on pi3?

2016-12-15 Thread Dan Kegel
So, I installed ubuntu core 16 on my pi and verified that with classic I was able to build my little world. Next step: run an opengl program. So I created a local password, logged into the console, and ... what? startx isn't there, and even in classic, there's nothing in apt that looks especially

Re: opengl on ubuntu core on pi3?

2016-12-15 Thread Dan Kegel
On Thu, Dec 15, 2016 at 9:49 AM, Oliver Grawert wrote: >> way to test what they've got (what's the snap equivalent of a ppa?). > > a snap ;) Or, I suppose, a snap store... -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at:

Re: opengl on ubuntu core on pi3?

2016-12-15 Thread Dan Kegel
On Thu, Dec 15, 2016 at 9:44 AM, Dan Kegel <d...@kegel.com> wrote: > GLES is what I'm after. > >> but there are still >> some kernel issues to be solved to make the driver work properly. >> >> probably paolo pisati, kevin gunn or thomas voss can chime in here, &

Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-15 Thread Dan Kegel
On Thu, Dec 15, 2016 at 2:47 AM, Oliver Grawert wrote: > http://pad.lv/1650207 Thanks. I added a comment there asking for /etc/issue to be classic-ized, too. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at:

Development environment for debs and snaps for raspberry pi 3?

2016-12-13 Thread Dan Kegel
Hi, I'm building debs and snaps for a raspberry pi 3. Questions: 1) when last I did this, https://ubuntu-pi-flavour-maker.org/ was the best place to get real ubuntu for the pi 3 (the one listed on the ubuntu wiki didn't boot reliably). Is that still true? What do other folks use? 2) if one were

Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-13 Thread Dan Kegel
On Tue, Dec 13, 2016 at 11:52 AM, David Callé wrote: > An easy way to achieve this is to install the "classic" snap Ah, yeah, I'd forgotten about that, thanks. - Dan -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at:

Re: can't log in on ubuntu core console via sso...

2016-12-13 Thread Dan Kegel
ss you're looking for it I agree. Hit it myself. > > --Greg > > On Tue, Dec 13, 2016 at 2:46 PM, Dan Kegel <d...@kegel.com> wrote: >> >> Trying ubuntu core on the pi3 for the first time. Install went fine, >> and I can ssh to the box just fine, >>

Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-14 Thread Dan Kegel
Trying the classic snap now. First hitch: /etc/lsb-release is not very classic, my scripts choke because it doesn't match normal ubuntu. I guess I can try special-casing them to pretend they see xenial there. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe

Ubuntu core update corresponding to Zesty?

2016-12-16 Thread Dan Kegel
I need a newer gstreamer than is shipped in Ubuntu Core 16 (gst-omx doesn't build against 1.8, but does against 1.10). I can build the whole gstreamer stack from source, but going forward would like to avoid that. Is there a Ubuntu Core daily somewhere corresponding to Zesty? Or when Zesty's

Re: opengl on ubuntu core 16 on artik 10?

2017-01-10 Thread Dan Kegel
> Did you run the oxide-eglfs-snap example on Pi? If so, do you still need > other platform to run opengl on ubuntu core? Thank you for the links! The Pi is awesome as a starting point for users, but is underpowered for some of our applications. It's attractive to have a faster/fatter

snappy core: "reboot scheduled to update the system"

2017-01-05 Thread Dan Kegel
Just noticed this message "reboot scheduled to update the system" during a long-running build. Fortunately I was there and could do shutdown -c. Presumably this is the gadget snap (raspberry pi 3), and a real appliance would control this so it doesn't happen during critical operations. Where can

Re: opengl on ubuntu core 16 on artik 10?

2017-01-05 Thread Dan Kegel
On Thu, Jan 5, 2017 at 10:50 AM, Zygmunt Krynicki wrote: >> has anyone tried artik 10 with ubuntu core 16, >> and what's the story with opengl there? > > I don't have access to that hardware so I don't know personally. If the > kernel and userspace contain the

Re: snapd 2.20 release available in {xenial,yakkety}-updates

2017-01-05 Thread Dan Kegel
Can you say a few words about classic confinement? I didn't see doc... (Like the fact that you're supporting 14.04. Some large customers are stuck on that version still, could be handy.) On Thu, Jan 5, 2017 at 2:13 PM, Michael Vogt wrote: > Hi, > > > the new snapd

Re: opengl on ubuntu core 16 on artik 10?

2017-01-05 Thread Dan Kegel
I crossposted the question to https://developer.artik.io/forums/t/opengl-on-ubuntu-core-16-on-artik-10/2234 including a link to the userspace driver library that someone mentioned. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at:

classic mode slow, taking up one full core with apparmor logging

2017-01-06 Thread Dan Kegel
When building a c++ app on a raspberry pi 3 in classic mode, I noticed two things that hurt performance substantially. 1) the obvious: if you crank config.txt's gpu_mem up above the default, life is bad :-) Don't do that on build machines. 2) the not so obvious: apparmor is keeping systemctl's

Re: classic mode slow, taking up one full core with apparmor logging

2017-01-06 Thread Dan Kegel
, Dan Kegel <d...@kegel.com> wrote: > When building a c++ app on a raspberry pi 3 in classic mode, > I noticed two things that hurt performance substantially. > > 1) the obvious: if you crank config.txt's gpu_mem up above the > default, life is bad :-) Don't do that on

Re: Thinking of installing snap on Debian due to scarcity of snap packages for armhf

2017-01-03 Thread Dan Kegel
On Tue, Jan 3, 2017 at 9:49 AM, Leo Arias wrote: >> - Debian + snaps via snap > > This will give you a complete traditional system. Everything you > learned in debian and ubuntu before will just work. So it could be a > softer transition while you learn about snaps and

lxc not working in classic on pi?

2017-01-02 Thread Dan Kegel
I have a script from a classic ubuntu environment that wants to be able to create lxc containers on the fly. I tried running it on ubuntu core on the pi3, in the classic environment, but it failed: (classic)user@localhost:~$ sudo apt install lxc ... (classic)user@localhost:~$ sudo lxc-create -n

/snap/bin not on PATH for noninteractive ssh?

2017-01-04 Thread Dan Kegel
Does /etc/profile.d/apps-bin-path.sh not fire on noninteractive logins? Evidently not: $ ssh pi3 'echo $PATH' /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games Workaround #1: make it fire, dammit: --- .bashrc.orig 2017-01-04 19:55:33.105726685 + +++

snappy swap redux

2017-01-04 Thread Dan Kegel
Hi all, the ol' oom killer is getting me down. What's the kosher way of setting up swap in ubuntu core 16 (on raspberry pi)? https://lists.ubuntu.com/archives/snappy-devel/2016-March/001632.html mentions it should be done in a gadget. Is there a gadget tutorial?