GPG error during "sudo apt update" in "classic" snap

2017-01-20 Thread Jian LUO
Hi list, as the topic suggested I got GPG error in classic snap exactly like Bug #1577926 [1] described. strace leads me to this syscall error: [pid 2650] execve("/usr/bin/apt-key", ["/usr/bin/apt-key", "--quiet", "--readonly", "verify", "--status-fd", "3", "/tmp/apt.sig.usElcl", "/tmp/apt.data.B

Re: GPG error during "sudo apt update" in "classic" snap

2017-01-23 Thread Jian LUO
iemeyer" wrote: This smells like an apparmor denial, which shouldn't happen inside the classic snap itself. Can you reproduce the issue when using the stock kernel? On Fri, Jan 20, 2017 at 6:46 PM, Jian LUO wrote: > Hi list, > > as the topic suggested I got GPG erro

Re: GPG error during "sudo apt update" in "classic" snap

2017-01-23 Thread Jian LUO
Hi Oli, Thanks for the information. I think I'll just wait for the notes. Jian On Jan 23, 2017 15:02, "Oliver Grawert" wrote: hi, Am Montag, den 23.01.2017, 14:51 +0100 schrieb Jian LUO: > > > I'll try kernel w/o real-time patch next time. Will let you guys know

Configs are still available after snap is removed. Bug or feature?

2017-03-07 Thread Jian LUO
Hi list, I found out that if a certain snap got removed, its configuration set by snapctl is still accessible through 'snap get'. Is it a bug or a feature? And if it's a feature, what is the use case? Thanks, Jian -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubsc

Re: Configs are still available after snap is removed. Bug or feature?

2017-03-07 Thread Jian LUO
Thanks Pat. Should try searching on Launchpad first.😅 Cheers, Jian Am 07.03.2017 11:25 nachm. schrieb "Pat McGowan" : On Tue, Mar 7, 2017 at 1:38 PM, Jian LUO wrote: > Hi list, > > I found out that if a certain snap got removed, its configuration set by > snapc

Different values of environment variables during build time and run time, eg. JAVA_HOME and PATH

2016-10-10 Thread Jian LUO
Hi List, Is there any formal way in snapcraft to set environment variables separately for build time and run time? The use case I'm facing is building a Java snap on amd64 host for armhf target. Thanks! Jian -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe

Re: Different values of environment variables during build time and run time, eg. JAVA_HOME and PATH

2016-10-10 Thread Jian LUO
Hi, I don't think it counts as cross compiling since Java (at least in my case) is cross platform. Just wanted to compile Java with one JDK and run with another. Jian On Oct 10, 2016 20:05, "Manik Taneja" wrote: > > > On Mon, Oct 10, 2016 at 6:33 AM, Jian LUO wrote

Re: Different values of environment variables during build time and run time, eg. JAVA_HOME and PATH

2016-10-11 Thread Jian LUO
pplies both to build time and to the generated wrapper nonetheless. How can i override runtime only env in the plugin? Jian On Oct 11, 2016 09:53, "Didier Roche" wrote: Le 10/10/2016 à 23:49, Jian LUO a écrit : Hi, I don't think it counts as cross compiling since Java (at least

Re: Different values of environment variables during build time and run time, eg. JAVA_HOME and PATH

2016-10-11 Thread Jian LUO
On Oct 11, 2016 12:23, "Sergio Schvezov" wrote: > > El martes, 11 de octubre de 2016 06h'38:49 ART, Jian LUO < jian.luo...@gmail.com> escribió: >> >> Hi, >> >> Thanks for the explanation. That's exactly what comes first in my mind. >>

Request for snap interface that expose user-space device APIs

2016-11-14 Thread Jian LUO
Hi snapcrafters, Embedded systems (which are likely called IoT devices these days :) sometime need access to peripherals via user-space device APIs, namely i2cdev[1], spidev[2] and uio[3]. Snaps of type core and gadget should be able to expose these interfaces to other privileged snaps. I've open

Re: Wifi setup problem on Bubblegum 96board ubuntu core snappy

2016-11-28 Thread Jian LUO
Hi, Ubuntu Core now uses netplan[1] for network configuration. You can find a good example in the repository[2]. [1] https://lists.ubuntu.com/archives/ubuntu-devel/2016-July/039464.html [2] https://git.launchpad.net/netplan/tree/doc/example-config Jian On Nov 28, 2016 14:19, "Zechao Wang" wrot