liuxgdoes 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. thanks00:19
liuxgI am now using a ubuntu core device to build a snap.00:20
mupBug #1648702 opened: We don't have a network interface that allows only local communication <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1648702>05:47
=== chihchun_afk is now known as chihchun
=== Skuggen_ is now known as Skuggen
mupBug #1648712 opened: Whole /etc content from host accessible to the snap <Snappy:New> <https://launchpad.net/bugs/1648712>07:03
FJKongliuxg: you can edit config file directly07:49
liuxgFJKong, but it is too much work. do you mean the sources.list file?07:49
liuxgFJKong, for some of the channels, there could be no correspondence.07:50
FJKongjust %s/a/b/cgi with vim, you can skip some of it, this should be very fast07:52
FJKongbackup before editing, by the way07:54
mupPR snapd#2442 opened: snap/snapenv: don't obscure HOME if snap uses classic confinement <Created by zyga> <https://github.com/snapcore/snapd/pull/2442>08:51
mupPR snapd#2443 opened: removing circular dependency between snapstate and hookstate <Created by cyberb> <https://github.com/snapcore/snapd/pull/2443>08:54
mupPR snapd#2444 opened: debian: depend on snap-confine at least 2.19 <Created by zyga> <https://github.com/snapcore/snapd/pull/2444>08:54
mupPR snapd#2445 opened: cmd/snap,tests: alias support in snap run <Created by pedronis> <https://github.com/snapcore/snapd/pull/2445>09:05
mupPR snapd#2446 opened: cmd/snap-confine: fix compilation on platforms with gcc < 4.9.0 <Created by zyga> <https://github.com/snapcore/snapd/pull/2446>09:08
mupPR snapd#2447 opened: many: fixes cherry-picked for the 2.19.1 release <Created by zyga> <https://github.com/snapcore/snapd/pull/2447>09:12
mupPR snapd#2428 closed: debian: add dependencies and build rules for snap-confine <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/2428>09:17
mupPR snapd#2446 closed: cmd/snap-confine: fix compilation on platforms with gcc < 4.9.0 <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2446>10:26
palassoHello, I noticed from times to times spam gets through into the snapcraft mailing list. Shall spams be removed from the archive?11:17
palassoSome include links which I haven't clicked11:18
mupPR snapd#2435 closed: store: retry assertions <Created by stolowski> <Closed by stolowski> <https://github.com/snapcore/snapd/pull/2435>11:27
mupBug #1648777 opened: writing a (3GB sized) x86 image to a 3GB SD card makes the filesystem resizing being skipped <Snappy:New> <initramfs-tools-ubuntu-core (Ubuntu):Triaged by ogra> <https://launchpad.net/bugs/1648777>11:28
* ogra_ loves how filing a bug brings an IRC highlight as freebie every time :P11:29
palassoThose are some spams I found on the snapcraft mailing list (some of which include links to files) http://pastebin.com/eeXLTfT411:32
dslulhas anyone managed to get this tutorial work https://developer.ubuntu.com/en/snappy/guides/mir-snaps/ ?11:43
dslulin particular mir kiosk11:43
dslulon a virtual machine11:43
dslulit gives Mir fatal error: Failed to get frontbuffer11:43
dslulwhere can I file this bug?11:44
didrocksdslul: hey, I think kgunn will be interested in your feedback11:45
didrockshe should show up a little bit later on on this channel11:45
blundenis 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 snap11:56
blundenbut they don't get picked up properly when exported11:57
blundenI also think the use of PORT is kind of stupid as there is bound to be another application reading that generic variable as well11:58
didrocksblunden: yeah, environment is stripped. You need to use configure hook for this11:58
blundendidrocks: is that documented somewhere?11:58
blundenI'm clearly missing the correct search term when googling :P11:58
didrocksblunden: well, TBH, the documentation isn't there yet11:59
didrocksI have an example!11:59
blundenthat works too :D11:59
didrocksI've created a very generic configure hook: https://github.com/ubuntu/snow-on-me-snap/blob/master/meta/hooks/configure11:59
didrocksit enables to set and remove variables that are stored in a file12:00
didrocksthat your app can pick up12:00
didrockssnap set <snap_name> key=value12:00
didrocks(/!\ you need to do it on ubuntu core, doesn't work well yet with snapd version on desktop)12:00
didrocksand 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#L7112:01
blundenthis is on a normal ubuntu server 16.04.1 instance12:01
blundenso this is something that needs to get upstreamed to the rocket.chat project?12:02
didrocksyeah, I would suggest that12:02
didrockssupporting dynamic configuration and such12:02
didrocks(would be a nice contribution I think :))12:03
blundenI was hoping for something that I could do right now :)12:03
blundenI really don't want to bloat up this server with all the cruft their project depends on12:04
didrocksI don't think there is other way, you can modify their snap as well and build it yourself if you have the source12:05
didrocksthen, a small wrapper watching for the config file12:05
didrocksonce the config file is there, reading it and exporting PORT before exec their service12:06
blundenideally they should just read the values from the config file instead of using a bunch of very generically named env variables in my opinion12:07
blundenthanks for the examples though :)12:07
didrocksyw! :)12:08
blundendidrocks: that "snap set" part where you set the port... is that using your hook too?12:08
blundenah, it said so above :)12:10
didrocksblunden: yes :)12:14
blundenand by "you can only set on of those" you mean that they need to be set one at a time?12:14
didrocksblunden: no, just setting one from the supported keys in the configure hook12:15
didrocksso, in that case port and title12:15
didrocksyou can either do:12:15
didrockssnap set <snap_name> port=4242 title="blablabla"12:15
didrocksor just12:15
didrockssnap set <snap_name> port=424212:15
didrocksor even snap set <snap_name> port=""12:16
didrockswhich will remove the key from the configuration12:16
blundenthat's not how I read "Of course, you can set only one of those parameters."12:16
blundenI misread it12:17
blundenI basically read it as "Of course, it's only possible to set one of those parameters"12:17
blundenthe sentence is ambiguous12:18
blundennow that I look at it more, your example looks very nice and generic12:19
blundenthanks again12:20
didrocksyw :)12:23
didrocksblunden: do not hesitate to rephase it (PR accepted), as not being a native speaker here… :)12:24
blundenI'm home from work sick so I might just do that12:26
didrocksoh, hope you're feeling better soon!12:27
blundenpull request sent :)12:46
didrocksand merged, thanks!12:52
morphis_kyrofa: ping13:15
dslulkgunn, I had problems running mir kiosk, I wrote in private the details13:26
didrocksogra_: oh, grub! that starts to all make sense then13:38
ogra_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 arches13:38
didrocksogra_: well, nobody noticed the libpng which could be popular…13:40
didrocksogra_: yeah, that was the point of the bug, to stay in sync :)13:40
ogra_didrocks, well, for libpng i'D expect most snaps to just ship it inside13:41
didrocksogra_: what I did, until snapcraft strips it :p13:48
ogra_evil :)13:48
ogra_anyway, we got it now :)13:49
=== vigo is now known as vigo|lunch
kgunndslul: just not getting on for the morning, lemme catch up13:51
renato__popey, hey could you review this, please? https://code.launchpad.net/~renatofilho/ubuntu-docviewer-app/ubunut-app-platform/+merge/31291314:18
jdstrandogra_: fyi, I don't know this, but suspect libfuse2 has something to do with lxd14:20
jdstrandperhaps historically. I don't know14:20
ogra_jdstrand, you mean thats the reason why grub-common depends on it ?14:22
jdstrandogra_: oh, I idn't read your email that way. I didn't realize grub depended on it. ignore me then14:23
ogra_heh, i didnt either, i just found out before you pinged :)14:23
ogra_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 x8614:24
mupPR snapd#2448 opened: Account for trusty-specifics in interfaces <Created by vosst> <https://github.com/snapcore/snapd/pull/2448>14:34
didrocksogra_: while you are in those image rebuilding, will it be easy to have i2c enabled in rpi* images gadget snaps?15:00
=== vigo|lunch is now known as vigo
mupBug #1639981 opened: request canceled (Client.Timeout exceeded while awaiting headers) <Click Package Index:Confirmed> <Snappy:Confirmed> <https://launchpad.net/bugs/1639981>15:12
ogra_didrocks, i2c is enabled in the gadgets (in config.txt) ...15:51
ogra_does it not work ?15:51
kyrofamorphis_, good morning! What's up?15:54
morphis_ogra_: we need actual i2c slot definitions in the gadget snap.yaml15:56
morphis_kyrofa: morning!15:56
morphis_kyrofa: just wanted to find out what the outcome of the snapcraft/hooks meeting was :-)15:56
kyrofamorphis_, a redesign :P15:57
kyrofamorphis_, and it was placed behind another feature, which likely bumps it to the next cycle15:57
didrocksogra_: snap interfaces didn't show up on my core15:58
didrocksogra_: I didn't try since last week though15:58
didrocksis that recent?15:58
didrocksor should I reflash?15:58
kyrofamorphis_, 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 wrappers16:01
morphis_kyrofa: I see, so what would this mean in terms of actual dates16:01
morphis_next year I guess, right?16:01
kyrofamorphis_, yeah I'm afraid so16:02
ogra_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 release16:21
* diddledan laughs maniacally about hijacking messages meant for didrocks16:46
bregmahey 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?17:34
kyrofabregma, probably a question for ogra_ if he's around18:00
ogra_bregma, serial should work, we enable both consoles by default18:03
ogra_(and both should show the press enter ... did you wait long enough ?18:03
mupPR snapd#2425 closed: store: decode response.Body json inside retry loops <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/2425>18:18
mupPR snapd#2449 opened: overlord/patch: patch to flag in the state required snaps from model <Created by pedronis> <https://github.com/snapcore/snapd/pull/2449>18:58
=== mup_ is now known as mup
=== genii_ is now known as genii
kgunnmorphis: if you're still about...tried pa from the beta channel20:10
kgunngetting this20:10
bregmaogra_, 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 cope20:12
bregmait'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 on20:13
kyrofakgunn, pa doesn't like ACDC-- you didn't know that?20:15
kyrofakgunn, do you see any denials from snappy-debug?20:16
kgunnlemme check20:16
kgunnkyrofa: ah...that's it...i shoulda checked...20:18
kgunnreinstalling with --demode20:19
kgunnwell..it seems it's playing someplace but i don't hear it20:21
kgunnmaybe a prob with my vm?20:22
kyrofakgunn, still seeing something like this? http://pastebin.ubuntu.com/23604968/20:23
kgunnkyrofa: after devmode...now looks like this20:25
kyrofaHuh, even in devmode?20:25
kyrofaOh wait, allowed, nevermind20:25
kyrofakgunn, I assume the previous denial was from the lack of a home interface?20:30
kgunnthat's right, it could access it's home20:32
kgunnkyrofa: i'm wondering if it's the sound device selected by this vm20:33
kyrofakgunn, yeah I wouldn't be surprised. Honestly I'm not sure I've ever tried playing audio in a VM before. KVM?20:33
=== boo is now known as Guest78889
Guest78889what basic thing am I missing. I have ubuntu core up and running on a pi3. How do I install nano or samba?20:59
kyrofaGuest78889, remember that ubuntu core uses snaps, not debs21:00
kyrofaGuest78889, `snap find nano` shows nano-editor as an option. Have you tried that?21:00
kyrofa(I have not)21:01
Guest78889yes I have21:01
Guest78889it doesn't find it21:01
kyrofaGuest78889, nano-editor.nano ?21:02
kyrofaWorks for me21:02
Guest78889when I look at the web page version of the store I can find nano-editor but then download is only amd6421:02
kyrofa(just tried it)21:02
kyrofaOh, I see21:02
kyrofaPerhaps rws only published an amd64 version, then21:03
Guest78889seems that way for everything I could think of searching for21:03
Guest78889so I thought I must be missing something21:03
Guest78889or is this all just that new21:03
kyrofaGuest78889, most snaps are provided by developers. Looks like rws build nano on their own amd64 machine instead of multiple architectures21:07
mupPR snapd#2391 closed: Discard mount namespace on a content i/f plug connect/disconnect <Created by albaguirre> <Closed by albaguirre> <https://github.com/snapcore/snapd/pull/2391>21:54
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!