Re: Using docker for clean builds of classic snaps

2017-02-02 Thread Loïc Minier
There are a bunch of Docker images providing snapcraft , unfortunately they are all behind. These should be autobuilt instead of manually updated, in the mean time I suggest you build your own (relatively easy)

Re: Using docker for clean builds of classic snaps

2017-02-05 Thread Loïc Minier
Hi Joseph, On Sun, Feb 5, 2017 at 3:13 PM, Joseph Rushton Wakeling < joseph.wakel...@webdrake.net> wrote: > $ sudo docker run -v $PWD:$PWD -w $PWD [my-image-id] snap install core && > snapcraft clean && snapcraft > 2017/02/05 14:07:35.998824 main.go:220: WARNING: cannot create syslog > logger >

Re: dlopen cannot load shared library

2017-02-03 Thread Loïc Minier
libraries from the core snap which doesn't contain X11. I suggest you embed X11 and other libs that your dlopen-ed library depends on. Cheers, - Loïc Minier -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Relationship between snaps and containers, if any

2017-01-25 Thread Loïc Minier
you would want to run containers on top of an all snap system: when your workload is already packaged as a container, or when you want to use the resource limits featured in Docker or LXD (e.g. limit network usage, CPU usage etc.). Cheers, - Loïc Minier On Wed, Jan 25, 2017 at 12:53 AM, Luther G

Re: pro tip: use scriptlets instead of custom plugins

2017-02-20 Thread Loïc Minier
a solution in place, so this was just FYI On Mon, Feb 20, 2017 at 6:33 PM, Kyle Fazzari <kyle.fazz...@canonical.com> wrote: > On Feb 20, 2017 9:14 AM, "Loïc Minier" <loic.min...@ubuntu.com> wrote: > > > > On Mon, Feb 20, 2017 at 5:55 PM, Kyle Fazzari

Re: IPC between snaps

2017-02-09 Thread Loïc Minier
Hi, Yes, this is typically how you allow a snap to talk to snapd or docker daemon or lxd. You need a new interface to grant access to this socket path. If you'd like some examples or look at existing ones, grep for socket under github.com/snapcore/snapd/interfaces. Cheers, - Loïc On Thu, Feb 9,

Re: New ubuntu-device-flash cannot use own gadget snap?

2016-08-31 Thread Loïc Minier
but because ubuntu-device-flash ought to be replaced by ubuntu-image soon it's probably not worth addressing right now.) Cheers, - Loïc Minier On Wed, Aug 31, 2016 at 8:27 PM, Loïc Minier <loic.min...@ubuntu.com> wrote: > Yep; but the failure in kpartx didn't seem specific to local

Re: Snappy takes long time to boot when no network

2016-09-01 Thread Loïc Minier
Hi Yann, Following up from our IRC exchange :-) What would you expect to be working before network is up? Is it startup of the snaps' services, or the console, or the Snapweb web UI etc. [1]? Cheers, - Loïc [1] of course, still need to address Snapweb not starting properly with no network On

Re: Access to a Serial Port using Java RXTX library

2016-09-07 Thread Loïc Minier
ext" > > So the paths were not being set up correctly for me. > > I changed it to > case $JAVA_VERSION in > 1.2*|1.3*|1.4*|1.5*|1.7*) > > Thanks a million for your suggestion. > > Jenny > > > On 7 September 2016 at 15:01, Loïc Minier <loic.min...@

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Loïc Minier
wrote: > >> >> > On 7 Sep 2016, at 16:05, Loïc Minier <loic.min...@ubuntu.com> wrote: >> > >> > Hi, >> > >> > You need to use: >> > plugs: [serial-port] >> > >> >> I don’t think this will work as this is a 15.04 bas

Re: Access denied to /dev/ttyUSB0

2016-09-07 Thread Loïc Minier
Hi, You need to use: plugs: [serial-port] In your snapcraft.yaml; then you also have to connect your snap to that interface manually as it's not autoconnected; check "snap interfaces" to see which plugs and slots are connected. Cheers, - Loïc Minier On Wed, Sep 7, 2016 at 4:00

Re: New ubuntu-device-flash cannot use own gadget snap?

2016-08-31 Thread Loïc Minier
Works for me: $ sudo -E UBUNTU_DEVICE_FLASH_IGNORE_UNSTABLE_GADGET_DEFINITION=1 /snap/bin/ubuntu-device-flash --verbose core 16 -o snappy.img --channel edge --gadget pc --kernel pc-kernel --os ubuntu-core Determining gadget configuration 836.00 KB / 836.00 KB

Re: Build snaps in container

2016-09-12 Thread Loïc Minier
Hi folks, Could we also get the docker container snapcore/snapcraft built for ARM? (I'm using classic mode for now though.) Thanks! - Loïc Minier On Tue, Aug 23, 2016 at 2:48 PM, Sergio Schvezov < sergio.schve...@canonical.com> wrote: > > > El 23/08/16 a las 07:33, Loïc Minier e

Re: Build snaps in container

2016-09-13 Thread Loïc Minier
, - Loïc On Tue, Sep 13, 2016 at 4:31 AM, YC Cheng <yc.ch...@canonical.com> wrote: > Hi Loic, > > Maybe you already knew that https://hub.docker.com/r/vicamo/ubuntu/tags/ > have both > > xenial-arm64 and xenial-armhf tag. > > YC > > 2016-09-12 23:00 GMT+08:00

Re: Docker image for building Ubuntu (amd64/i386/armhf/arm64) snaps

2016-09-22 Thread Loïc Minier
Hi! Is there a big difference with the https://hub.docker.com/r/snapcore/snapcraft/ image? Perhaps we can merge the two to avoid confusion from end-users? Thanks, - Loïc On Thu, Sep 22, 2016 at 3:24 PM, Rex Tsai wrote: > > This image includes toolchains and snapcraft

Re: Build snaps in container

2016-08-23 Thread Loïc Minier
ub.docker.com/r/didrocks/snapcraft/ https://hub.docker.com/r/sergiusens/snapcraft/ I guess we should consolidate these and have some kind of official Ubuntu namespace and images. Cheers, - Loïc Minier -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://l

Re: My second snap ;-)

2016-10-02 Thread Loïc Minier
Hi, Right; matplotlib expects matplotlibrc to be installed. Looking at matplotlib/__init__.py, you can see rc_params() calls matplotlib_fname() to get the default config filename. The search order there is: - `$PWD/matplotlibrc` - `$MATPLOTLIBRC/matplotlibrc` -

Re: [snaps/deb] Cross dependencies / forward compatibility between debs & snaps?

2016-11-05 Thread Loïc Minier
a is trying to solve with their fork! Obviously these are all long shots and I didn't provide any practical answer on improving deb to snap or snap to deb transition; this is a larger question not specific to the docker snap that we need to keep working on. Cheers, - Loïc Minier -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Confined Docker snap available

2016-10-20 Thread Loïc Minier
On Thu, Oct 20, 2016 at 8:18 PM, Dustin Kirkland wrote: > > Because the docker.sock path is hardcoded in a lot of images, this snap > > conflicts with docker debs, so make sure you remove them first: > > sudo apt purge docker docker-engine > > Hmm, that feels like

Re: Docker to snappy

2016-11-28 Thread Loïc Minier
er it's likely simpler to snap Discourse! Have you tried this? Did you face some questions that we can perhaps help you with? Thanks for your work on getting Discourse on snappy systems! :-) Cheers, - Loïc Minier -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Confined Docker snap available

2016-11-01 Thread Loïc Minier
Hi, What's the output of snap --version? Thanks! - Loïc Minier On Tue, Nov 1, 2016 at 4:21 AM, Peng Liu <pengliu.m...@gmail.com> wrote: > Hi Loïc, > > I encountered some errors when I tried to connect the interfaces

Re: Removing a key

2016-10-13 Thread Loïc Minier
It is likely deleting keys isn't implemented yet: https://myapps.developer.ubuntu.com/docs/api/account.html In the mean time, I suggest you just register and use another key. Cheers, - Loïc Minier On Thu, Oct 13, 2016 at 11:54 PM, Luke Williams <luke.willi...@canonical.com > wrote: &

Re: docker snap not working

2016-12-06 Thread Loïc Minier
> > > On 06/12/16 05:05, Manik Taneja wrote: > > > > On Dec 6, 2016, at 4:51 AM, Loïc Minier <loic.min...@ubuntu.com> wrote: > > Hi, > > On Tue, Dec 6, 2016 at 3:49 AM, Peng Liu <pengliu.m...@gmail.com> wrote: > >> There is some known issue of

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

2016-12-15 Thread Loïc Minier
--Greg > > > On Tue, Dec 13, 2016 at 3:31 PM, Loïc Minier <loic.min...@ubuntu.com> > wrote: > >> Hi! >> >> On Tue, Dec 13, 2016 at 8:46 PM, Dan Kegel <d...@kegel.com> wrote: >> >>> 2) if one were to want to use the official snappy co

Re: is there an Avahi (mDNS) service snap?

2016-11-29 Thread Loïc Minier
Hi! I suggest you look at the short mDNS implementation used by snapweb; it relies on a Go module called github.com/presotto/go-mdns-sd: https://github.com/snapcore/snapweb/blob/master/avahi/avahi.go Cheers, - Loïc Minier PS: I've sent the same reply to your ask.u.c post :-) On Tue, Nov 29

Re: docker snap not working

2016-12-06 Thread Loïc Minier
t # umount --lazy /var/lib/snapd/hostfs/sys The fix is in snap-confine git and is planned for upload this Friday. Best regards, - Loïc Minier -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Locally extending trusted certificates

2017-01-06 Thread Loïc Minier
to hear how people think this should best be addressed in the snap/snapd world. Cheers, - Loïc Minier -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: udev rules

2017-03-21 Thread Loïc Minier
Hi! On Mon, Mar 20, 2017 at 8:29 PM, Jamie Strandboge wrote: > The aksusbd case seems like it could be covered by existing interface > techniques. The providing snap slots the hasp interface and that interface > could > add udev rules that point to (the snappy command

udev rules

2017-03-20 Thread Loïc Minier
requirements, not sure about the latter. Perhaps I should add these to some existing design doc? Thanks, - Loïc Minier -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: classic 32 bit application

2017-04-04 Thread Loïc Minier
und for some reason, create your own wrapper to launch your executable by calling the runtime linker directly (run "/lib/ld-linux.so.2" to get help output or see man page). Hope this helps! - Loïc Minier -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or

Re: Issues creating webapps snaps with stric confinement

2017-03-31 Thread Loïc Minier
Hi Vincent, What plugs did you use? This is a quick snap I assembled recently which I tested successfully on top of X11: https://github.com/lool/soracom-console-snap/blob/master/snapcraft.yaml Cheers, - Loïc On Fri, Mar 31, 2017 at 3:28 PM, Vincent JOBARD wrote: > Hi