[06:29] <zyga-ubuntu> good morning
[06:29] <JamieBennett> Good morning zyga-ubuntu
[06:30] <zyga-ubuntu> JamieBennett: hey :)
[06:30] <zyga-ubuntu> how are you doing? you're up early!
[06:30] <JamieBennett> nah, in Germany today so I've gain an hour ;)
[06:30] <zyga-ubuntu> aha, I see
[06:32]  * zyga-ubuntu looks at PRs
[06:32] <zyga-ubuntu> JamieBennett: is it as hot in Germany as it is in Poland this week?
[06:33] <JamieBennett> 35 degrees or so
[06:33] <zyga-ubuntu> who needs Spain with weather like that ;-)
[06:33] <JamieBennett> indeed
[07:22] <zyga-ubuntu> ogra: do you understand the impact of https://github.com/snapcore/core-build/pull/15 ?
[07:42]  * zyga-ubuntu looks at https://github.com/snapcore/snapd/pull/3260
[09:07] <ogra> zyga-ubuntu, no, but i think enough cloud people spoke up there to merge it
[09:07] <popey> ogra: any luck with the nano pi kernel update? :)
[09:07] <ogra> popey, sorry, not yet
[09:07] <popey> ok, no worries
[09:08] <ogra> i'll let you know
[09:08]  * popey puts it back on the shelf for now
[09:09]  * zyga-ubuntu reads through endless reviews
[09:09] <zyga-ubuntu> tests are somewhat unhappy late
[09:09] <zyga-ubuntu> lately*
[09:10] <zyga-ubuntu> download speeds from DC are low
[09:10] <zyga-ubuntu> (or from CDN)
[09:10] <zyga-ubuntu> 111KB/s
[09:10] <zyga-ubuntu> then tests time out
[09:25] <zyga-ubuntu> Chipaca: can you please look at https://github.com/snapcore/core-build/pull/15#pullrequestreview-53445957
[09:25] <mup> PR core-build#15: cloud-init: fix strict mode, ensure cloud-init only runs on positive id <Created by raharper> <https://github.com/snapcore/core-build/pull/15>
[09:27] <Chipaca> no
[09:27]  * Chipaca lies
[09:28] <Chipaca> zyga-ubuntu: +1
[09:33] <zyga-ubuntu> morphis: hey
[09:33] <zyga-ubuntu> morphis: I reviewed the userd branch
[09:33] <morphis> yeah!
[09:33] <zyga-ubuntu> morphis: I marked is as needed changes because there were a few details
[09:33] <morphis> finally I got a review  on it :-)
[09:33] <zyga-ubuntu> morphis: but overal it is good
[09:33] <morphis> thanks very much!
[09:33] <zyga-ubuntu> morphis: I plan to try it on real hardware but I don't think there are packaging changes done yet
[09:33] <zyga-ubuntu> (are there?)
[09:34] <zyga-ubuntu> and lastly I'm melting (warmest day of the year here)
[09:34] <morphis> zyga-ubuntu: there are
[09:34] <zyga-ubuntu> so please forgive me if I missed something
[09:34] <morphis> those are in the PR
[09:34] <zyga-ubuntu> excellent
[09:34] <morphis> for fedora/suse/ubuntu
[09:34] <mwhudson> zyga-ubuntu: any progress on the debian upgrade?
[09:34] <mwhudson> (i haven't made any)
[09:35] <zyga-ubuntu> mwhudson: no, but slowly getting there
[09:35] <zyga-ubuntu> mwhudson: I need to fix 32bit builds and give it a try first
[09:36] <zyga-ubuntu> mwhudson: and there's a bug on debian that I worked on reproducing (successfully) yesterday with new spread tests
[09:37] <mwhudson> zyga-ubuntu: cool
[09:38] <zyga-ubuntu> mwhudson: also I miss winter
[09:38] <zyga-ubuntu> ;)
[09:38] <mwhudson> zyga-ubuntu: anything you need from me? i guess i could/should check that the golang deps in the archive are appropriately close to the version in snapd
[09:38] <mwhudson> zyga-ubuntu: heh, i am kind of tired of winter now
[09:38] <zyga-ubuntu> mwhudson: I didn't check any deps and I expect us to grow some more items
[09:39] <mwhudson> although the days are getting noticeably longer now
[09:39] <zyga-ubuntu> mwhudson: if you want you can do a pass over that
[09:41] <mwhudson> i keep getting mails "Waiting for previous upload(s) to complete their review process. If you want to prioritize this last one, go to the other upload(s) page in https://dashboard.snapcraft.io/ and click on the 'Reject and remove from review queue' button."
[09:41] <zyga-ubuntu> hmmm
[09:41] <zyga-ubuntu> mwhudson: which snap were you uploading?
[09:41] <mwhudson> zyga-ubuntu: go-tip
[09:41] <zyga-ubuntu> mwhudson: is it a classic confinement snap?
[09:41] <mwhudson> yes
[09:41] <zyga-ubuntu> aha
[09:41] <zyga-ubuntu> was it approved before?
[09:41] <mwhudson> yes
[09:42] <zyga-ubuntu> odd
[09:42] <mwhudson> it seems to happen to one arch each upload
[09:42] <zyga-ubuntu> maybe the review database state got lsot
[09:42] <mwhudson> (it's built daily)
[09:42] <zyga-ubuntu> lost*
[09:42] <zyga-ubuntu> jdstrand and roadmr can probably help you out
[09:42] <zyga-ubuntu> but timezone :/
[09:42] <mwhudson> and i *think* the snap gets approved in the end
[09:42] <zyga-ubuntu> ondra: hey, any plan to iterate on 3624?
[09:42] <zyga-ubuntu> or do you want me to?
[09:42] <mwhudson> oh yeah i wonder which architecture this is
[09:43] <mwhudson> (store emails do not mention the arch :()
[09:45] <mwhudson> oh wait no they don't get approved
[09:45] <mwhudson> and it's a different grab bag of arches each day i think
[09:46] <zyga-ubuntu> I think at this point you want to open a forum topic and CC daniel and jamie
[09:46] <zyga-ubuntu> btw, do you get snow down there?
[09:50] <mwhudson> zyga-ubuntu: ack
[09:51] <mwhudson> zyga-ubuntu: nah, not where we are, too close to the sea, it's very moderate temperature wise
[09:51] <zyga-ubuntu> sounds perfect :)
[09:51] <mwhudson> it snowed in 2010 or so, for the first time in 40 years
[09:51] <zyga-ubuntu> mwhudson: if you want please CC me on debian bits, I'm a bit rusty on the process I bet
[09:51] <zyga-ubuntu> and I'd love to help
[09:52] <mwhudson> zyga-ubuntu: all i want from you is an appropriate debian directory :)
[09:52] <mwhudson> i can do the other bits
[09:52] <zyga-ubuntu> aha
[09:53] <mwhudson> ah hahaha i bet github.com/mvo5/libseccomp-golang is not in debian
[09:53] <zyga-ubuntu> pstolowski: ey
[09:53] <pstolowski> zyga-ubuntu, hey! did you get my email?
[09:54] <zyga-ubuntu> hmm, maybe
[09:54]  * zyga-ubuntu looks
[09:55] <zyga-ubuntu> oh! I have it now
[10:00] <mup> PR core-build#15 closed: cloud-init: fix strict mode, ensure cloud-init only runs on positive id <Created by raharper> <Merged by ogra1> <https://github.com/snapcore/core-build/pull/15>
[10:06] <mwhudson> zyga-ubuntu: i think all of github.com/mvo5/libseccomp-golang, github.com/mvo5/net/bpf, github.com/ojii/gettext.go will need packaging
[10:07] <mwhudson> zyga-ubuntu: how come both github.com/ojii/gettext.go and github.com/ojii/gettext.go/pluralforms are in vendor.json?
[10:07] <mwhudson> don't you get the latter along with the former
[10:09] <zyga-ubuntu> mmmm
[10:09]  * zyga-ubuntu looks
[10:09] <zyga-ubuntu> I don't know
[10:09] <zyga-ubuntu> interesting
[10:10] <mwhudson> zyga-ubuntu: at least they specify the same revision :-)
[10:10] <zyga-ubuntu> mwhudson: I think this is how it works (oddly)
[10:10] <zyga-ubuntu> same is done for mgo.v2
[10:10] <mwhudson> oh you have to least each package?
[10:10] <mwhudson> oh yeah
[10:10] <zyga-ubuntu> or go-systemd/
[10:10] <mwhudson> seems like a stupid feature but well
[10:10] <mwhudson> not an actual problem
[10:11] <zyga-ubuntu> it seems more of "this is the subset I care about" but yeah, I didn't expect this either
[10:17] <Chipaca> zyga-ubuntu, mwhudson, maybe you can use this feature to make things more interesting for people
[10:19] <mwhudson> Chipaca: because snapd development is too boring
[10:19] <mwhudson> ?
[10:19] <Chipaca> mwhudson: "and here we see an adult snapd developer, luring a mate by making the code less boring"
[10:20] <mwhudson> also if you do use different revs of packages in the same repo i, as a debian packager, will kneecap you
[10:24] <Chipaca> but... but... i like my knobbly knees
[10:26] <mwhudson> Chipaca: so you know what to do!
[10:26] <mwhudson> (or not do)
[10:26] <Chipaca> I'm being repressed!
[10:26] <mwhudson> i'm going to bed
[10:27] <Chipaca> mwhudson: enjoy
[10:28] <ogra> hmpf
[10:29] <ogra> so wlan-only installs on the pi3 work fine but now i end up with a systemd service timeout counter that stalls the boot for 2min :(
[10:29] <ogra> funnily that doesnt happen on the dragonboard
[10:30]  * ogra guesses the unconfigured wired device causes it ... since there is no wired on the db
[10:31] <ogra> ogra@pi3:~$ systemd-analyze blame
[10:31] <ogra>       2min 230ms systemd-networkd-wait-online.service
[10:31] <ogra>           6.473s snapd.service
[10:31] <ogra>           5.658s apparmor.service
[10:31] <ogra> hrm
[10:31] <ogra> not really informative
[10:31] <Chipaca> ogra: which timer?
[10:31] <Chipaca> ah
[10:31] <ogra> systemd-networkd-wait-online.service
[10:32] <Chipaca> ogra: journalctl -u systemd-networkwwhatever-bork-bork?
[10:32] <ogra> does analyze list the services in the order they were started or just ordered by duration ?
[10:33] <ogra> Jul 31 09:45:11 pi3 systemd-networkd-wait-online[837]: ignoring: lo
[10:33] <ogra> Aug 01 10:28:36 pi3 systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE
[10:33] <ogra> Aug 01 10:28:36 pi3 systemd[1]: Failed to start Wait for Network to be Configured.
[10:33] <ogra> Aug 01 10:28:36 pi3 systemd[1]: systemd-networkd-wait-online.service: Unit entered failed state.
[10:33] <ogra> Aug 01 10:28:36 pi3 systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'.
[10:33] <Chipaca> ogra: try: systemd-analyze plot
[10:33] <mup> PR snapcraft#1432 opened: kbuild: Support Makefile without install target <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1432>
[10:33] <ogra> Chipaca, i was to lazy to shovel the picture around :P
[10:33] <Chipaca> aw
[10:34] <ogra> obviously the system wasnt online though ... the clock isnt set in the first line
[10:34] <mwhudson> aargh
[10:34] <ogra> so it waiting may be correct
[10:34] <mwhudson> my impression is that systemd-networkd-wait-online is rarely what you actually want
[10:34] <Chipaca> ogra: python3 -m http.server and dump it into a file in the local dir
[10:35] <Chipaca> mwhudson: bed!
[10:35] <mwhudson> Chipaca: thanks
[10:35] <ogra> yeah!
[10:35] <Chipaca> goo'boy
[10:36] <Chipaca> ogra: of course if you don't actually have network, no http server will help :-)
[10:36] <ogra> i do have network, everything is fine ...
[10:36] <ogra> its just that the boot stalls for 2 min
[10:37] <Chipaca> ogra: tbh it looks like a bug in the wait thing
[10:37] <Chipaca> ogra: "crash and burn" does not sound like "wait"
[10:37] <ogra> well, it doesnt crash and burn and eventually moves
[10:37] <Chipaca> systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE
[10:38] <Chipaca> ^ crashing
[10:39] <ogra> hmm
[10:39] <Chipaca> ogra: https://bugzilla.redhat.com/show_bug.cgi?id=1277257
[10:39] <Chipaca> although that's NetworkManager-wait-online
[10:39] <Chipaca> hrmph
[10:40] <Chipaca> ogra: ah! maybe the problem is that by default systemd-networkd-wait-online waits for _all_ devices to be online?
[10:40] <ogra> ouch
[10:41] <ogra> yeah, that would be it
[10:42] <Chipaca> ogra: man systemd-networkd-wotsit
[10:42] <ogra> yeah, just reading it
[10:42] <Chipaca> k
[10:43] <ogra> it has --ignore and --interface
[10:43] <Chipaca> additionally https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1673092, which is not fixed on xenial
[10:43] <mup> Bug #1673092: systemd doesn't wait until the tentative flag isn't removed before firing units depending on network-online.target <systemd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1673092>
[10:45]  * ogra blames xnox for closing the xenial task
[10:45] <ogra> we dont configure v6 by default though
[10:47] <xnox> ogra, i keep the list of tasks in systemd down, as I do look at /ubuntu/series/+source/systemd as my todo list for things to SRU.
[10:48] <xnox> ogra, if you prefer, i can reopen xenial task and mark it as won't-fix
[10:48] <xnox> ogra, somebody needs to bisect that bug, if they want/need that fix.
[10:49] <Chipaca> xnox: you do you
[10:49] <ogra> i dont "want" it but customers wont be happy if their devices wait for 2min during boot :P
[10:49] <Chipaca> xnox: as long as you include some of that coleslaw in the you you do
[10:49] <Chipaca> :-D
[10:49] <Chipaca> ogra: if we don't enable v6 that bug won't bite though
[10:49] <ogra> well, actually
[10:49] <ogra> i'm sure i didnt configure v6 in console-conf
[10:50] <xnox> is this the same thing that smb compalained about?!
[10:50] <ogra> but that probably says nothing ...
[10:50] <ogra> i see that my wlan0 device actually has a v6 ip
[10:50] <xnox> Chipaca, ogra - in that bug do you per chance receive RA advertisements, that are not true at all?
[10:50] <ogra> wlan0     Link encap:Ethernet  HWaddr b8:27:eb:e1:ab:81
[10:50] <ogra>           inet addr:192.168.2.45  Bcast:192.168.2.255  Mask:255.255.255.0
[10:50] <ogra>           inet6 addr: fe80::ba27:ebff:fee1:ab81/64 Scope:Link
[10:50] <ogra> xnox, how would i check
[10:52] <ogra> xnox, this setup only started working with the last netplan backport ... before you could only configure wlan after already having a working eth0 ... now you can configure wlan standalone and leave eth completely out
[10:53] <Chipaca> ogra: fe80 i think means it's not up
[10:53] <Chipaca> but i might be wrong
[10:53]  * Chipaca knows too little v6, needs to fix this
[10:54] <xnox> this is not ipv6.... fe80 address is like 127.0.0.1
[10:54] <ogra> ok
[10:54] <xnox> note the mac address.....
[10:54] <xnox> fe80::macaddress
[10:54] <ogra> ah
[10:55] <ogra> wopw
[10:56] <ogra> wow even
[10:56] <ogra> http://paste.ubuntu.com/25219497/
[10:57] <ogra> so netplan actually configures it even though i told console-conf not to
[10:57] <ogra> and systemd-networkd-wait-online.service does not check the cable state
[10:59] <ogra> these are the moments where i miss the event based upstart :P
[11:01]  * ogra tries something
[11:02] <ogra> ok .... kind of a mix between a UX and a user error
[11:02] <ogra> console-conf defaults to keep ethernet enabled and configured for dhcp ... even if you never touch its config and only configure wlan
[11:03] <ogra> re-running console-conf and explicitly turning off everythiong around the ethernet device fixes everything ... the defaults are broken
[11:04]  * ogra files a subiquity bug 
[11:11] <Chipaca> go has no support for dbm files :-(
[11:14]  * ogra files Bug #1707888
[11:14] <mup> Bug #1707888: ethernet defaults for unconnected device are wrong <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1707888>
[12:17] <Vamsi> Hi, I hadf queried on the forum about the availablilty of a snappy core specific SDK for a given HW platform. One of the members responded that there was no such SDK availables and that we could work with standard SDKs meant for the HW. This is fine. But my question - sounds a bit trivial but I don't know - is that if I were to use astandard sdk, how are I to make use of snappy core interfaces such as the ones meant to access physical memory
[12:17] <Vamsi>  etc?
[12:17] <ondra> zyga-ubuntu yeah, I made changes you asked, but now two tests panic for me and I can't see reason why
[12:18] <Vamsi> I mean are there some libraries that I can include while developing my snap?
[12:20] <ogra> Vamsi, creating a snap is basically a single yaml file ... there isnt really a need for an SDK for that ... just use whatever SDK you use for your normal development, once done drop a snapcraft.yaml in and run snapcraft
[12:20] <zyga-ubuntu> ondra: can you push, I'll have a look
[12:21] <ondra> zyga-ubuntu sure
[12:21] <ogra> (having hooks in different SDKs to call snapcraft might surely make sense though ... but some dedicated SDK wouldnt)
[12:21] <Son_Goku> well... snapcraft itself counts as an SDK
[12:21] <Son_Goku> it does a crapload of things
[12:21] <Son_Goku> or rather a toolchain
[12:23] <Vamsi> ogra: I got that. So in the interface, I would just be detailing what methods could be used for the communication?
[12:23] <zyga-ubuntu> Vamsi: note that interfaces don't do anything new or require new APIs, instead they model existing interactions with the system
[12:24] <zyga-ubuntu> Vamsi: interfaces can control available system calls, acccess to files, access to dbus, etc
[12:24] <zyga-ubuntu> Vamsi: if you give me an example that you care about we can discuss how the interface would look like
[12:25] <Vamsi> zyga-ubuntu: Got it. I shall get back to you shortly with my requirement.
[12:31] <ogra> cachio, did you get my reply from last night btw ?
[12:37] <jdstrand> mwhudson (cc zyga-ubuntu): I looked in the store for 'go-tip' and could not find the snap. do you have a store url?
[12:44] <ondra> zyga-ubuntu it's updated now
[12:44] <jdstrand> mwhudson: fyi, I asked in https://forum.snapcraft.io/t/go-snap-getting-stuck-in-review/1512/5 so feel free to respond there
[12:47] <zyga-ubuntu> ondra: thanks,
[12:48] <ondra> zyga-ubuntu I get this https://paste.ubuntu.com/25219883/
[12:53] <zyga-ubuntu> right
[12:53] <zyga-ubuntu> let me fix that
[12:57] <cachio> ogra, no
[12:59] <mup> PR snapd#3623 closed: interfaces/builtin: implement broadcom-asic-control interface <Created by morphis> <Merged by zyga> <https://github.com/snapcore/snapd/pull/3623>
[12:59] <ogra> cachio, all images except amd64 (for kvm) do not have any free space at all until first boot, they all resize to full space before mounting writable for the first time ... seems the resize failed for some reason in your pi2 and  setup
[13:00] <ogra> cachio, the resize hook of the initrd atually writes a log into /dev/.initramfs (thats not saved, so you need to capture it right after first boot)
[13:01] <ogra> cachio, err ... sorry thats /run/initramfs actually
[13:02] <cachio> ogra, ok, I'll try to reproduce it again
[13:02] <cachio> and see what happened
[13:02] <zyga-ubuntu> Chipaca: standup?
[13:02] <ogra> cachio, try to capture the logs when it happens
[13:02] <cachio> ogra, so far all the tries that I did with the pi2 and 3 have failed
[13:03] <cachio> because of this error or other errors as I showed before
[13:03] <ogra> what kind of Sd is that ? how do you write to it ?
[13:03] <ogra> (and do you do any modifications before the first boot)
[13:04] <Chipaca> man i'm terrible at the standup
[13:19] <cachio> ogra, microsd card
[13:20] <cachio> I use dd to write on it
[13:20] <ogra> heh, yeah, i guessed that
[13:20] <ogra> (given there is only a microSD slot :) )
[13:20] <ogra> how big is that card ... what brand etc
[13:21] <cachio> 8GB
[13:21] <ogra> and do you modify anything or do you let it boot straight away ?
[13:21] <cachio> kingston
[13:21] <cachio> I don't touch it
[13:21]  * ogra will check if he finds such a card in his drawer 
[13:21] <cachio> I just boot it
[13:22] <ogra> ok ... well, the resizing definitely failed for whatever reason
[13:22] <ogra> there are two steps to it ...
[13:22] <cachio> ogra, with the sandisk cards that I tried yesterday I got the error doing tar that I showed yesterday
[13:22] <ogra> first it adjusts the partition table, second it runs resizefs
[13:22] <cachio> I reproduced that with 3 different cards
[13:23] <ogra> would be good to know which of the two steps fails (and indeed why ... )
[13:24] <ogra> the logs should tell ... i havent seen resize fail in ages here in my tests
[13:25] <ogra> ogra@pi3:~$ df -h|grep writable
[13:25] <ogra> /dev/mmcblk0p2  3.6G  1.4G  2.1G  40% /writable
[13:25] <ogra> ogra@pi3:~$
[13:25] <ogra> (from last wed.)
[13:28] <cachio> ogra, ok, I am writting again the card
[14:29] <cachio> ogra, I used a sandisk card and got the same results
[14:30] <cachio> it is after I run console conf and connect through ssh to the pi2
[14:30] <cachio> >> /dev/mmcblk0p2  496M  345M  116M  75% /writable
[14:30] <cachio> always using 8GB cards
[14:30] <ogra> cachio, did you capture the logs ?
[14:31] <ogra> also the output of "sudo sgdisk -p /dev/mmcblk0" would be interesting
[14:31] <ogra> (note the logs are gone after the first reboot)
[14:32] <cachio> ogra, yes https://paste.ubuntu.com/25220346/
[14:32] <cachio> ogra, https://paste.ubuntu.com/25220352/
[14:33] <ogra> cachio, wow
[14:33] <ogra> that smells like the first sector of the SD is broken ... (though then you should not see it if you use another SD)
[14:34] <cachio> mmm, I got the same with 2 sdcards
[14:34] <cachio> ogra, I can try with a different one, np
[14:34] <ogra> cachio, http://paste.ubuntu.com/25220363/ is roughly what you should see
[14:35] <ogra> (except for the sizes indeed, that should match your phys. size)
[14:36] <cachio> ogra, should I format the cards in any specific way previous to run dd?
[14:36] <ogra> no
[14:36] <ogra> dd should binary overwrite anything you do to the card
[14:37] <ogra> so whatever you would do would be wiped anyway
[14:44] <ogra> cachio, oh, where exactly do you write the SD, is that an ubuntu desktop machine ?
[14:44] <ogra> if so ... did you make sure that auto-mounting of the SD didnt happen ... dd'ing to a mounted SD can indeed cause weird unexpected issues
[14:50] <cachio> https://paste.ubuntu.com/25220436/
[14:51] <cachio> ogra, the same happened with the other card
[14:51] <cachio> ogra, it is automounting
[14:51] <ogra> and do you manually unmount it ?
[14:51] <ogra> before dd'ing
[14:53] <ogra> i always have to do "sudo umount /dev/sdc1; sudo umount /dev/sdc2, dd ...." when writing an SD here
[14:53] <cachio> ogra, I am umounting the cards
[14:53] <ogra> hmm
[14:54]  * ogra is baffled ... i havent seen such behaviour in about a year ... and i use SDs from 4GB up to 256GB randomly here when testing my edge images
[14:55] <cachio> I am trygin again with no flags for dd
[14:55] <ogra> what are the flags you use ?
[14:55] <ogra> (should only be bs= to speed up the write ...)
[14:56] <cachio> bs=4M oflag=sync status=noxfer
[14:56] <cachio> I removed thost
[14:56] <cachio> those
[14:56] <ogra> keep bs
[14:56] <cachio> ok
[14:57] <ogra> (though if you have a lot of ram actually raise the 4M a bit ... i use 64M on my desktop machine with 16GB  ram and 2M on my laptop ... that gets me the fastest write rates)
[14:57] <ogra> err
[14:57] <ogra> s/2M/32M
[14:58] <ogra> (bs defines the size of the chunks dd pulls iinto ram before dumping it to disk)
[14:58] <cachio> ogra, yes
[14:58] <cachio> writting
[15:01]  * ogra wonders if ubuntu-image changed in any way that could cause a corrupt partition table 
[15:03] <ogra> cachio, i'd be interested to know if you see such bahaviour with http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ as well ... (which is what i regulary test)
[15:03] <ogra> (thats edge though)
[15:07] <cachio> ogra, ok, I'll try
[15:08] <ogra> i can really not explain what happens there ... the resize log doesnt show any particularly bad errors or anything and you should see a proper partition table
[15:13] <cachio> ogra, well, it worked well just with bs=4M
[15:14] <cachio> and nothing else
[15:14] <ogra> you mean the resize worked ?
[15:14] <cachio> yes
[15:14] <ogra> phew
[15:14] <ogra> ok
[15:15] <cachio> >> /dev/mmcblk0p2  3.6G  345M  3.0G  11% /writable
[15:15] <ogra> status=noxfer should really only suppress the final output though
[15:15] <ogra> not sure why oflag=sync would mess u anything either
[15:15] <ogra> *up
[15:17] <cachio> I don't understand neither
[15:18] <cachio> ogra, I am running the tests now, I'll see how they go
[15:19]  * ogra goes to read up about oflag=sync
[15:30] <cachio> zyga, abaut your comment of --disable-seccomp
[15:30] <cachio> in the opensuse branch
[15:30] <cachio> I uncommented this and all the tests passed
[15:30] <cachio> zyga-ubuntu, is it enough?
[15:32] <zyga-ubuntu> cachio: yes, I think that's good
[15:40] <mup> PR snapd#3634 closed: interfaces/many, cmd/snap-confine: miscellaneous policy updates <Created by jdstrand> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/3634>
[16:23] <roadmr> jdstrand: hey, tools r892 are now deployed!
[16:23] <roadmr> r893 is in the queue, should be there in the next couple of days
[16:58] <bub_> Hi, following https://tutorials.ubuntu.com/tutorial/create-your-first-snap#0 .. and it's not working.. anyone else had any problem at all with this tutorial? "hello" doesn't run after I've installed the snap
[16:58] <zyga-ubuntu> bub_: what happens when you try to run it?
[16:59] <bub_> -bash: hello: command not found
[16:59] <bub_> uhm, thinking of it, do I have to get out of classic-mode?
[17:00] <zyga-ubuntu> bub_: can you provide a trace of what you did so far?
[17:00] <nacc> bub_: also, what is in PATH currently?
[17:01] <bub_> https://tutorials.ubuntu.com/tutorial/create-your-first-snap#3 .. and down to typing 'hello'
[17:01] <zyga-ubuntu> bub_: are you doing this *on* a all-snap/core device with the classic snap installed?
[17:01] <zyga-ubuntu> bub_: can you run "snap version" to make sure we know some basics?
[17:01] <bub_> /home/admin/bin:/home/admin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
[17:02] <bub_> zyga, yes, I'm in classic-mode, creating the snap
[17:02] <zyga-ubuntu> bub_: aha, you may need to go out to run it
[17:02] <zyga-ubuntu> not sure, I never tried it this way
[17:02] <bub_> haha, that was it
[17:02] <bub_> 'exit' first.. then 'hello' worked as intented
[17:03] <bub_> tyty all!
[17:03] <bub_> first snap, now.. to build our proprietary software, using Qt.. I think I might be in for a lot of pain
[17:04] <zyga-ubuntu> bub_: I think it should be fairly easy
[17:04] <zyga-ubuntu> bub_: snapcraft has support for lots of things
[17:04] <zyga-ubuntu> bub_: if I can suggest something though
[17:04] <zyga-ubuntu> bub_: build a version that works on classic ubuntu first
[17:05] <zyga-ubuntu> bub_: so built a snap that runs on your desktop
[17:05] <zyga-ubuntu> bub_: are you making software for an embedded product or for desktop devices?
[17:05] <bub_> embedded
[17:05] <bub_> dell edge actually
[17:05] <zyga-ubuntu> bub_: does it have a GUI?
[17:05] <zyga-ubuntu> bub_: or is it a web/remote software?
[17:05] <bub_> nopes
[17:05] <zyga-ubuntu> ah
[17:05] <bub_> no GUI, afaik
[17:05] <zyga-ubuntu> headless is very easy
[17:05] <zyga-ubuntu> you should be just fine
[17:05] <bub_> we just got it, hehe..
[17:05] <zyga-ubuntu> but
[17:05] <zyga-ubuntu> still
[17:05] <zyga-ubuntu> dell is x86 AFAIK
[17:06] <bub_> yeah
[17:06] <zyga-ubuntu> so just do it all on your destkop
[17:06] <zyga-ubuntu> once it works there you can just try it on the gateway
[17:06] <zyga-ubuntu> and it's much easier to iterate this way
[17:06] <zyga-ubuntu> bub_: in case you need help see forum.snapcraft.io
[17:06] <zyga-ubuntu> bub_: lots of people making or using snaps there
[17:07] <bub_> ah, my bad.. some of the executables in our software is GUI.. but first we're going to focus on the servermodule, which is non-GUI
[17:07] <bub_> ok, it's a whole new world for me
[17:07] <zyga-ubuntu> bub_: for a gui you will need a few more things
[17:07] <zyga-ubuntu> (display server or embedded qt)
[17:07] <bub_> quite experienced with linux, but not ubuntu core, or any other embedded-linux for that matter
[17:08] <janisozaur> zyga-ubuntu: I ended up being busy yesterday, sorry. I have some time to spend on debugging my Arch now
[17:08] <bub_> ah ok, will look into it
[17:08] <bub_> zyga-ubuntu: tyty for info and help!
[17:08] <zyga-ubuntu> janisozaur: no worries, I'm melting in the heat today
[17:08] <zyga-ubuntu> janisozaur: I managed to do some code reviews and I'm debugging one thing
[17:08] <janisozaur> ugh, tell me about it
[17:08] <zyga-ubuntu> janisozaur: but still haven't touched openGL
[17:09] <zyga-ubuntu> bub_: ubuntu core is different and familiar at once, once you wrap your head around immutable snaps and how snapcraft build them it gets easier
[17:09] <zyga-ubuntu> bub_: there are some non-obvious things that happen at runtime
[17:10] <zyga-ubuntu> janisozaur: let me boot my arch VM (if it works, I think it's not very cooperative lately)
[17:10] <janisozaur> I can build snapd 2.26.14 by tweaking the package version, is that good enough?
[17:11] <janisozaur> I haven't figured out how to build one outside of the package
[17:11] <janisozaur> or should I try sticking to master?
[17:11] <zyga-ubuntu> janisozaur: I'd start by using the released tarball
[17:11] <zyga-ubuntu> let me check if mvo made one
[17:11] <zyga-ubuntu> janisozaur: the version can be generated with a script in the tree
[17:12] <janisozaur> Arch's PKGBUILD will pull the release from tag on github
[17:12] <zyga-ubuntu> ah
[17:12] <zyga-ubuntu> mvo didn't :/
[17:12] <zyga-ubuntu> we want 2.26.14 for now https://github.com/snapcore/snapd/releases
[17:12] <zyga-ubuntu> janisozaur: booting now
[17:17] <zyga-ubuntu> hmm
[17:17] <zyga-ubuntu> (watching fsck log)
[17:18] <zyga-ubuntu> ok, I can log into a text console
[17:36] <janisozaur> I can't seem to be able to run the simplest commands from within snap now…
[17:37] <zyga-ubuntu> janisozaur: I'm fixing my arch systme, I'm in #archlinux as well
[17:37] <janisozaur> right, I should probably join there too
[17:46] <jdstrand> roadmr: awesome, thanks! :)
[18:06] <janisozaur1> welp, can't even install snaps now
[18:07] <zyga-ubuntu> janisozaur1: I poked you in arch channel
[19:58] <wililupy> cyphermox: Do you know if there is an equivlent of manual setting in ifupdown with netplan?
[20:00] <wililupy> cyphermox: for example, in ifupdown I can set an interface to manual and the boot process will not be held up waiting for that interface to raise. How do I acheive the same thing with netplan?
[20:11] <cyphermox> there is no equivalent; except you might be able to approximate this by setting a static IP you'd want to be included, making that sufficiently private and I would expect systemd to let your system finish booting
[20:12] <cyphermox> I have not tested that though :)
[20:19] <wililupy> cyphermox: hmm... I can give that a shot, I worry about how the interface would work when the child interfaces come online.... Thanks!
[20:21] <cyphermox> don't do that on the member of a bridge or bond, that won't work
[20:22] <cyphermox> in that kind of case it should be the bond/bridge that blocks you, not the underlying device
[20:22] <jdstrand> roadmr: hey. I have some code for fetching stuff from the store, but it doesn't seem to be working right: http://paste.ubuntu.com/25222189/
[20:23] <cyphermox> that is, unless your network setup is very complex; in which case you might want to set a dummy IP like that on more than one... it depends on the network layout really
[20:23] <roadmr> jdstrand: let me see
[20:23] <cyphermox> (assuming that trick works at all)
[20:23] <jdstrand> roadmr: both of these were given to me some time ago. it wouldn't surprise me at all if things changed
[20:24] <roadmr> jdstrand: which snap name are you trying that doesn't work?
[20:24] <jdstrand> roadmr: ufw
[20:24] <jdstrand> roadmr: I can get a response, but not the snap yaml
[20:25] <roadmr> jdstrand: aaa
[20:25] <jdstrand> roadmr: while the first one would be handy, it is actually the python code I was trying to use just now, which just gives me a list like:
[20:25] <jdstrand> ...
[20:25] <jdstrand> zeronet: {'package_name': 'zeronet', 'name': 'zeronet.mkg20001'}
[20:25] <jdstrand> zerotier-one: {'package_name': 'zerotier-one', 'name': 'zerotier-one.lh'}
[20:25] <jdstrand> zile-tealeg: {'package_name': 'zile-tealeg', 'name': 'zile-tealeg.tealeg'}
[20:25] <jdstrand> ie, no 'plugs'
[20:26] <jdstrand> roadmr: I tried both on and off the vpn
[20:26] <jdstrand> (I have a 3rd snippet that needs to be on the vpn for grabbing assertions)
[20:27] <roadmr> jdstrand: right. Let me check something quickly
[20:28] <jdstrand> that third one is for assertions. it still seems to work
[20:31] <roadmr> jdstrand: so I don't think you can specify a list of fields when doing a search. You'd have to then walk by "package_name" doing something like
[20:32] <roadmr> https://api.snapcraft.io/api/v1/snaps/details/$THE_PACKAGE_NAME?fields=name,channel_maps_list,confinement
[20:32] <roadmr> channel_maps_list,confinement are just example fields. You'd say "plugs,slots" - but I just tried it and it doesn't work hehe :) still checking.
[20:34] <jdstrand> roadmr: ok, so the url I had was search.apps.ubuntu.com, so that seems to be part of it
[20:34] <roadmr> jdstrand: if you leave fields blank or omit it, it gets you all the fields *except* for plugs/slots :(
[20:34] <roadmr> jdstrand: the URL shouldn't matter, the old one redirects to this
[20:35] <jdstrand> I see
[20:35] <roadmr> jdstrand: same with the snap_yaml_raw; I don't see it in the data if there's no field specified. Let me ask Celso (though he was away, will be a bit)
[20:36] <jdstrand> ok, thanks
[20:39] <jdstrand> yeah, hmm: curl -H 'x-ubuntu-series: 16' -H 'x-ubuntu-architecture: amd64' https://search.apps.ubuntu.com/api/v1/snaps/details/ufw (no plugs)
[20:41] <jdstrand> curl -s 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=ufw' -H 'X-Ubuntu-Series: 16' | jq .
[20:41] <jdstrand> also no
[20:41]  * jdstrand is looking at bug reports where plugs used to be listed
[20:41] <roadmr> jdstrand: yep; as I said, the old URL just redirects to the new service anyway
[20:44] <jdstrand> right
[20:44] <jdstrand> that isn't what I meant. I meant the details/ vs search/ vs different -H-*
[20:44] <roadmr> oh! I see
[20:44] <jdstrand> plugs is just gone
[20:45] <roadmr> jdstrand: I concur. Asking Celso just in case we're doing it wrong (tm), but I suspect this is a bug :)
[21:11] <roadmr> jdstrand: no celso, I'll file a bug since I'm almost EOD
[21:17] <mup> PR snapd#3637 opened: interfaces/unity7: allow receiving media key events in (at least) gnome-shell <Created by jdstrand> <https://github.com/snapcore/snapd/pull/3637>
[21:18] <roadmr> jdstrand: curl -s -H 'X-Ubuntu-Series: 16' -H "X-Ubuntu-Architecture: amd64" "https://api.snapcraft.io/api/v1/snaps/details/ufw?fields=snap_yaml_raw" |jq .
[21:18] <roadmr> jdstrand: plugs and slots are there. cprov says they're no longer exposed as individual fields in the details json
[21:19] <jdstrand> roadmr: ok thanks. I can work with that
[21:19] <roadmr> jdstrand: so it complicates your process a bit: first do the search, then walk the list of packages getting details, ask for snap_yaml_raw in the fields, and then json-parse that to get plugs/slots
[21:19]  * jdstrand nods
[21:20] <roadmr> jdstrand: aaactually.. you *can* search?q=whatever&fields=snap_yaml_raw
[21:22] <jdstrand> curl -s -H 'X-Ubuntu-Series: 16' https://api.snapcraft.io/api/v1/snaps/search?fields=snap_yaml_raw | jq .
[21:22] <jdstrand> cool
[21:23] <jdstrand> roadmr: thanks again!
[21:23] <roadmr> np :)
[22:00] <mwhudson> ogra: why does ubuntu core boot block on systemd-networkd-wait-online?
[22:03] <mup> PR snapcraft#1433 opened: core: cache FileBase entries when a checksum is provided <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1433>