[00:19] does anyone know how to select a different mirror server in ubuntu core using command. The reason for this is that some of the servers are far away from my region, and the build process is very long. thanks [00:20] I am now using a ubuntu core device to build a snap. [05:47] Bug #1648702 opened: We don't have a network interface that allows only local communication === chihchun_afk is now known as chihchun === Skuggen_ is now known as Skuggen [07:03] Bug #1648712 opened: Whole /etc content from host accessible to the snap [07:49] liuxg: you can edit config file directly [07:49] FJKong, but it is too much work. do you mean the sources.list file? [07:50] FJKong, for some of the channels, there could be no correspondence. [07:52] just %s/a/b/cgi with vim, you can skip some of it, this should be very fast [07:54] backup before editing, by the way [08:51] PR snapd#2442 opened: snap/snapenv: don't obscure HOME if snap uses classic confinement [08:54] PR snapd#2443 opened: removing circular dependency between snapstate and hookstate [08:54] PR snapd#2444 opened: debian: depend on snap-confine at least 2.19 [09:05] PR snapd#2445 opened: cmd/snap,tests: alias support in snap run [09:08] PR snapd#2446 opened: cmd/snap-confine: fix compilation on platforms with gcc < 4.9.0 [09:12] PR snapd#2447 opened: many: fixes cherry-picked for the 2.19.1 release [09:17] PR snapd#2428 closed: debian: add dependencies and build rules for snap-confine [10:26] PR snapd#2446 closed: cmd/snap-confine: fix compilation on platforms with gcc < 4.9.0 [11:17] Hello, I noticed from times to times spam gets through into the snapcraft mailing list. Shall spams be removed from the archive? [11:18] Some include links which I haven't clicked [11:27] PR snapd#2435 closed: store: retry assertions [11:28] Bug #1648777 opened: writing a (3GB sized) x86 image to a 3GB SD card makes the filesystem resizing being skipped [11:29] * ogra_ loves how filing a bug brings an IRC highlight as freebie every time :P [11:32] Those are some spams I found on the snapcraft mailing list (some of which include links to files) http://pastebin.com/eeXLTfT4 [11:43] hello [11:43] has anyone managed to get this tutorial work https://developer.ubuntu.com/en/snappy/guides/mir-snaps/ ? [11:43] in particular mir kiosk [11:43] on a virtual machine [11:43] it gives Mir fatal error: Failed to get frontbuffer [11:44] where can I file this bug? [11:45] dslul: hey, I think kgunn will be interested in your feedback [11:45] he should show up a little bit later on on this channel [11:56] is there a way to pass environment variables to snap packages? ie. I want to pass PORT and ROOT_URL to a rocket.chat server installed via snap [11:57] but they don't get picked up properly when exported [11:58] I also think the use of PORT is kind of stupid as there is bound to be another application reading that generic variable as well [11:58] blunden: yeah, environment is stripped. You need to use configure hook for this [11:58] didrocks: is that documented somewhere? [11:58] I'm clearly missing the correct search term when googling :P [11:59] blunden: well, TBH, the documentation isn't there yet [11:59] but [11:59] I have an example! [11:59] that works too :D [11:59] https://github.com/ubuntu/snow-on-me-snap [11:59] I've created a very generic configure hook: https://github.com/ubuntu/snow-on-me-snap/blob/master/meta/hooks/configure [12:00] it enables to set and remove variables that are stored in a file [12:00] that your app can pick up [12:00] snap set key=value [12:00] (/!\ you need to do it on ubuntu core, doesn't work well yet with snapd version on desktop) [12:01] and a simple nodejs example on watching for a change and picking it up: https://github.com/ubuntu/snow-on-me-snap/blob/master/main.js#L71 [12:01] this is on a normal ubuntu server 16.04.1 instance [12:02] so this is something that needs to get upstreamed to the rocket.chat project? [12:02] yeah, I would suggest that [12:02] supporting dynamic configuration and such [12:03] (would be a nice contribution I think :)) [12:03] I was hoping for something that I could do right now :) [12:04] I really don't want to bloat up this server with all the cruft their project depends on [12:05] I don't think there is other way, you can modify their snap as well and build it yourself if you have the source [12:05] then, a small wrapper watching for the config file [12:06] once the config file is there, reading it and exporting PORT before exec their service [12:07] ideally they should just read the values from the config file instead of using a bunch of very generically named env variables in my opinion [12:07] thanks for the examples though :) [12:08] yw! :) [12:08] didrocks: that "snap set" part where you set the port... is that using your hook too? [12:10] ah, it said so above :) [12:14] blunden: yes :) [12:14] and by "you can only set on of those" you mean that they need to be set one at a time? [12:15] blunden: no, just setting one from the supported keys in the configure hook [12:15] so, in that case port and title [12:15] you can either do: [12:15] snap set port=4242 title="blablabla" [12:15] or just [12:15] snap set port=4242 [12:16] or even snap set port="" [12:16] which will remove the key from the configuration [12:16] that's not how I read "Of course, you can set only one of those parameters." [12:16] ooh [12:16] nvm [12:17] I misread it [12:17] I basically read it as "Of course, it's only possible to set one of those parameters" [12:18] the sentence is ambiguous [12:19] now that I look at it more, your example looks very nice and generic [12:20] thanks again [12:23] yw :) [12:24] blunden: do not hesitate to rephase it (PR accepted), as not being a native speaker here… :) [12:25] ok [12:26] I'm home from work sick so I might just do that [12:27] oh, hope you're feeling better soon! [12:27] hoping* [12:27] thanks [12:46] pull request sent :) [12:52] and merged, thanks! [12:53] np [13:15] kyrofa: ping [13:26] kgunn, I had problems running mir kiosk, I wrote in private the details [13:38] ogra_: oh, grub! that starts to all make sense then [13:38] didrocks, yeah ... but we should still stay in sync with the content ... more worrying is that nobody noticed fuse support missing on all non x86 arches [13:40] ogra_: well, nobody noticed the libpng which could be popular… [13:40] ogra_: yeah, that was the point of the bug, to stay in sync :) [13:41] didrocks, well, for libpng i'D expect most snaps to just ship it inside [13:48] ogra_: what I did, until snapcraft strips it :p [13:48] bah [13:48] evil :) [13:49] anyway, we got it now :) === vigo is now known as vigo|lunch [13:51] dslul: just not getting on for the morning, lemme catch up [14:18] popey, hey could you review this, please? https://code.launchpad.net/~renatofilho/ubuntu-docviewer-app/ubunut-app-platform/+merge/312913 [14:20] ogra_: fyi, I don't know this, but suspect libfuse2 has something to do with lxd [14:20] perhaps historically. I don't know [14:22] jdstrand, you mean thats the reason why grub-common depends on it ? [14:23] ogra_: oh, I idn't read your email that way. I didn't realize grub depended on it. ignore me then [14:23] heh, i didnt either, i just found out before you pinged :) [14:24] in any case we have core providing the fuse interface by default ... so not having the lib seeded will most likely cause issues on non x86 [14:33] indeed [14:34] PR snapd#2448 opened: Account for trusty-specifics in interfaces [15:00] ogra_: while you are in those image rebuilding, will it be easy to have i2c enabled in rpi* images gadget snaps? === vigo|lunch is now known as vigo [15:12] Bug #1639981 opened: request canceled (Client.Timeout exceeded while awaiting headers) [15:51] didrocks, i2c is enabled in the gadgets (in config.txt) ... [15:51] does it not work ? [15:54] morphis_, good morning! What's up? [15:56] ogra_: we need actual i2c slot definitions in the gadget snap.yaml [15:56] kyrofa: morning! [15:56] kyrofa: just wanted to find out what the outcome of the snapcraft/hooks meeting was :-) [15:57] morphis_, a redesign :P [15:57] morphis_, and it was placed behind another feature, which likely bumps it to the next cycle [15:58] ogra_: snap interfaces didn't show up on my core [15:58] ogra_: I didn't try since last week though [15:58] is that recent? [15:58] or should I reflash? [16:01] morphis_, now instead of specifying them in the YAML, you'll place them in the snap/hooks directory, and snapcraft will then generate the actual hooks via wrappers [16:01] kyrofa: I see, so what would this mean in terms of actual dates [16:01] next year I guess, right? [16:02] morphis_, yeah I'm afraid so [16:02] hm [16:21] diddledan, ah, well, it is enabled but there is no iterface, now i get it ... the gadgets didnt change in a while and will only for next stable release [16:46] * diddledan laughs maniacally about hijacking messages meant for didrocks [17:34] hey folks I', tryin to evaluate Ubuntu Core on a RasPi2... I can get it to boot but I never get the "Press enter to confiugure" prompt at the end of the boot sequence. I'm using only the serial port on the Pi, is this supported or is a USB keyboard and HDMI monitor required for first boot? [18:00] bregma, probably a question for ogra_ if he's around [18:03] bregma, serial should work, we enable both consoles by default [18:03] (and both should show the press enter ... did you wait long enough ? [18:03] ) [18:18] PR snapd#2425 closed: store: decode response.Body json inside retry loops [18:58] PR snapd#2449 opened: overlord/patch: patch to flag in the state required snaps from model === mup_ is now known as mup === genii_ is now known as genii [20:10] morphis: if you're still about...tried pa from the beta channel [20:10] getting this [20:10] http://pastebin.ubuntu.com/23604916/ [20:12] ogra_, I've waited for 150 minutes now, still no prompt; I see the serial console enabled in the kernel command line and I see the boot messages, so I suspect the problem is whatever it that's does the first-time setup just can't cope [20:13] it's OK, other distros just let me get work done, so first impression of Ubuntu Core on the Pi2 is "doesn't work, don't bother" and I'll just move on [20:15] kgunn, pa doesn't like ACDC-- you didn't know that? [20:16] kgunn, do you see any denials from snappy-debug? [20:16] lemme check [20:18] kyrofa: ah...that's it...i shoulda checked... [20:19] reinstalling with --demode [20:21] well..it seems it's playing someplace but i don't hear it [20:22] maybe a prob with my vm? [20:23] kgunn, still seeing something like this? http://pastebin.ubuntu.com/23604968/ [20:25] kyrofa: after devmode...now looks like this [20:25] http://pastebin.ubuntu.com/23604974/ [20:25] Huh, even in devmode? [20:25] Oh wait, allowed, nevermind [20:30] kgunn, I assume the previous denial was from the lack of a home interface? [20:32] that's right, it could access it's home [20:33] kyrofa: i'm wondering if it's the sound device selected by this vm [20:33] kgunn, yeah I wouldn't be surprised. Honestly I'm not sure I've ever tried playing audio in a VM before. KVM? === boo is now known as Guest78889 [20:59] what basic thing am I missing. I have ubuntu core up and running on a pi3. How do I install nano or samba? [21:00] Guest78889, remember that ubuntu core uses snaps, not debs [21:00] Guest78889, `snap find nano` shows nano-editor as an option. Have you tried that? [21:01] (I have not) [21:01] yes I have [21:01] it doesn't find it [21:02] Guest78889, nano-editor.nano ? [21:02] Works for me [21:02] when I look at the web page version of the store I can find nano-editor but then download is only amd64 [21:02] (just tried it) [21:02] Oh, I see [21:03] Perhaps rws only published an amd64 version, then [21:03] seems that way for everything I could think of searching for [21:03] so I thought I must be missing something [21:03] or is this all just that new [21:07] Guest78889, most snaps are provided by developers. Looks like rws build nano on their own amd64 machine instead of multiple architectures [21:54] PR snapd#2391 closed: Discard mount namespace on a content i/f plug connect/disconnect === JanC_ is now known as JanC