/srv/irclogs.ubuntu.com/2016/10/25/#snappy.txt

=== cmars` is now known as cmars
mupBug #1616833 changed: need new interface: time-hardware <snapd-interface> <Snappy:Expired> <https://launchpad.net/bugs/1616833>04:20
=== hikiko|off is now known as hikiko
mupBug #1616833 opened: need new interface: time-hardware <snapd-interface> <Snappy:New> <https://launchpad.net/bugs/1616833>05:50
liuxgdoes anyone know a configure hook example for snappy? I want to make use of it in my project. thanks06:19
liuxgdidrocks, ping06:26
didrockshey liuxg06:28
dholbachgood morning06:28
didrocksliuxg: do you run snapd master?06:28
didrocksyou need it to have configure hook support06:28
didrockshey dholbach06:28
dholbachsalut didrocks06:28
liuxgdidrocks, it was nice to meet you there in Netherlands.  yes, I just read the doc at https://github.com/snapcore/snapd/blob/master/docs/hooks.md. it was not so clear to me.06:28
didrocksliuxg: yeah, it's not in the current xenial snapd version, but will be in next release06:29
liuxgdidrocks, what should I do in the snapcraft.yaml file? How to implement it in practice? should I create a directory like the "setup" in for the desktop file? or I need to do sth in the snapcraft.yaml file?06:30
liuxgdidrocks, the document is not clear to me, and I think it may be confusing to others as well.06:31
didrocksliuxg: documentation remarks is for davidcalle :)06:31
didrocksliuxg: but you can contribute to them as well!06:31
didrocksliuxg: you were in the session about hook and snapcraft IIRC06:31
didrocksas told there, nothing is supported yet06:31
liuxgdidrocks, yeah, I know. if I know how to do it, I can definitely contribute to it.06:31
liuxgdidrocks, ok. then it is clear to me.06:31
didrocksfor now, the only thing right now is to ship a "configure" file in the correct place06:32
didrocksand it will be executed06:32
liuxgdidrocks, I see. thanks06:32
didrocksliuxg: then snap set <snap_name> key value will execute it06:32
liuxgdidrocks, I think I can use "dump" to set the file into the right place. do you mean that the current snapd does not support it yet, right? if this is the case, I have no way to test it.06:33
didrocksliuxg: IIRC, there was a piece missing for the current snapd to execute it (I didn't test it myself). You can compile master git version and replace your snapd with it though06:34
didrocksliuxg: yeah, dump plugin is possible06:34
didrocksliuxg: I'll spend some times in the following week to provide an example and shape best practices FYI06:35
liuxgdidrocks, ok. I'll try it to see how it goes.06:35
liuxgdidrocks, that would be cool :)06:35
didrocksliuxg: keep me posted! ;)06:35
didrocksyep06:35
mupBug #1636383 opened: autoupdate.md needs an update <snap-docs> <Snappy:New> <https://launchpad.net/bugs/1636383>06:35
didrockswe need best practices to have all hooks similars06:36
liuxgdidrocks, yes, definitely06:36
liuxgdidrocks, I used to use config to do that in 15.0406:37
didrocksright! It's not that different06:37
=== darrenwu_ is now known as darrenwu
=== ondra_ is now known as ondra
zygao/07:14
=== mbriza_ is now known as mbriza
liuxgdidrocks, I did not update the snapd, when I tried to configure my hello example. it complained that "- Run configure hook for hello (cannot snap-exec: cannot find hook "configure" in "hello")". The configure file is located inside the package http://paste.ubuntu.com/23377809/07:51
didrocksliuxg: yeah, so I guess you need latest tip master07:53
liuxgdidrocks, I think I might need to wait for the latest snapd. interestingly, it did search for the hook.07:55
morphis_mwhudson: you know when subiquity 0.20 will land in xenial-updates?08:05
=== seb128_ is now known as seb128
ogra_morphis_, it is in the image PPA since friday08:50
ogra_so in all recent core snaps08:50
ogra_morphis_, i also dont see any upload to xenial at all for 0.20 beyond this08:52
mvoogra_: hey, how are things looking today on pi2/pi3/dragon - anything new? or still network issues? if so, what are the details? just wifi or wired as well?08:52
ogra_mvo, only wifi ... though ewhen you try to config wifi the whole network setup breaks (cant configure wired anymore, needs reboot)08:53
ogra_mvo, it seems also that console-conf never actually applies the changed config (i get the default network setup that was applied during boot before console-conf ran unless i call "netplan apply" or do a reboot)08:54
ogra_so it looks like two issues ... wifi ... and applying the config without reboot08:55
mvoogra_: hmm, ok. do we have bugs for this yet? if so, I will add them to trello to ensure we have it as a blocker08:55
ogra_beyond this, there is still the slowness when creating the user that i try to dig down since a while08:55
mvoogra_: thanks! so wifi means its not possible to configure it at all? or does it crash?08:55
ogra_both ...08:56
ogra_it is not possible at all ... if you then restart the network config often enough you finally get a traceback (10-20x)08:56
mvohrm hrm08:57
ogra_(but i guess most people reboot before they get into that area to actually see a crash, since you cant really do anything)08:57
mupPR snapd#2209 opened: interface hooks: confirm plug slot hooks <Created by stolowski> <https://github.com/snapcore/snapd/pull/2209>08:57
ogra_there is definitely interaction issuesbetween netplan and console-conf on some layer ...08:57
ogra_what seems to work is: configure with wired interface, reboot and then run sudo console-conf again, that actually lets you re-configure to use wlan only08:59
ogra_there is something in the firstboot that plays into the wlan issue here ... on second boot the interface is there08:59
ogra_(all very obscure)08:59
ogra_mvo, bug 163238709:01
mupBug #1632387: console-conf wifi only setup on pi3 beta3 image not possible <Snappy:New> <https://launchpad.net/bugs/1632387>09:01
ogra_bug 162432209:02
mupBug #1624322: console-conf wlan race on pi3 <Snappy:New> <subiquity (Ubuntu):Confirmed> <https://launchpad.net/bugs/1624322>09:02
morphis_ogra_: hm, then we need to get it into xenial-updates soon otherwise the release on thursday is without it09:03
ogra_morphis_, ?09:03
rvrogra_: Is the Dragonboard network problem fixed?09:04
ogra_morphis_, it is in the core snap09:04
ogra_morphis_, in the one we'll push to stable09:04
morphis_ogra_: from what I've heard stable will be be only build from xenial and not the overlay ppa09:04
morphis_so everything from the overlay needs to go into the archive09:04
ogra_morphis_, yeah, we wish to do that ... but if that doesnt work we wont artificially regress the core rootfs :)09:04
morphis_ogra_: its just a wish? :-)09:05
morphis_niemeyer sounded different on this last week09:05
ogra_we'll try our best ... but do you really think we'll rip things out on release day if they dont land in time ?09:06
morphis_not really :-)09:06
mwhudsonmorphis_: np09:07
mwhudsoner09:07
mwhudsonmorphis_: no09:07
morphis_mwhudson: ok09:08
mwhudsonmorphis_: i didn't realize that it was particularly desired09:09
ogra_well, we want stable images to come from the archive09:09
mvomwhudson: hey, nice to see you :) did you/your team had a chance to look at the issues that ogra outlined with networking with console-conf?09:09
mwhudsonmvo: the only issues i've seen mention of seem completely inscrutable09:09
mwhudsonmvo: but to be clear, which issues do you mean?09:10
ogra_mwhudson, see the two bugs above as a start09:10
mwhudsonogra_: so https://bugs.launchpad.net/snappy/+bug/1632387 is the one that makes no sense at all09:10
mupBug #1632387: console-conf wifi only setup on pi3 beta3 image not possible <Snappy:New> <https://launchpad.net/bugs/1632387>09:10
mvomwhudson: I'm just the messanger, I don't have a pi3/dragonboard but AIUI from ogra_ these are blockers on these boards09:11
mwhudsonogra_: i have a plan for https://bugs.launchpad.net/snappy/+bug/1624322 but going to be quite involved09:11
mupBug #1624322: console-conf wlan race on pi3 <Snappy:New> <subiquity (Ubuntu):Confirmed> <https://launchpad.net/bugs/1624322>09:11
mwhudson(i.e not this week)09:11
ogra_mwhudson, i think either console-conf starts to early or there is something missing in the first boot at all ... that might be a systemic thing09:11
ogra_mwhudson, but in general wifi config is impossible since last subiquity update09:12
ogra_for that we dont have a bug yet09:12
mwhudsoni can try it on my (still serial-less :-( ) dragonboard tomorrow09:12
mwhudsonfiling a bug definitely makes it more likely that i will not forget09:13
ogra_indeed ... i spent all day digging into that yesterday, sorry, havent filed that one yet09:13
ogra_mwhudson, also if you restart the network config bit often enough (cancel->start) you eventually get greetet with a two page traceback09:14
ogra_(only found that one yesterday evening)09:14
mwhudsonogra_: huh09:14
mwhudsoni don't suppose you were actually able to read the traceback?09:15
mwhudson(for some reason you get this annoying doubled traceback whenever console-conf crashes)09:15
ogra_something about "file exists" ... seemed to come from netplan09:16
ogra_or from netplan interaction at least09:16
ogra_it only happens on failed config if you repeat it a few times09:17
ogra_(and i have only seen it with multiple network devices (dragon + USB NIC or rpi3 which has two by default)09:18
ogra_)09:18
mwhudsonthe file exists thing is the "extra" traceback09:18
mwhudsonthere would have been one about that09:18
ogra_mwhudson, also, netplan apply is never called when console-conf finishes ...09:19
mwhudsonit's probably something stupid in probert09:19
mwhudson*one above that09:19
mwhudsonogra_: ??09:19
ogra_i can see the /etc/netplan config changed, but not the interface setiup09:19
vigoogra_, I hit bug #1624322 also with dragonboard, with an image build by me wlan0 was not offered and when using your latest image it gives me the network timeout09:19
mupBug #1624322: console-conf wlan race on pi3 <Snappy:New> <subiquity (Ubuntu):Confirmed> <https://launchpad.net/bugs/1624322>09:19
ogra_mwhudson, it keeps the same setup i got from the initial boot before console-conf was up ... if i call "netplan apply" manually after ssh'ing in for the first time, it applies it09:20
ogra_mwhudson, or on reboot09:20
mwhudsonogra_: i definitely did not deliberately delete the code to call netplan apply...09:20
ogra_no, i can definitely see it in the tasks enumeration in the code09:21
ogra_vigo, thanks for confirming !09:21
rvrhttps://bugs.launchpad.net/snappy/+bug/163641909:21
mwhudsonif for some reason it's not being called that would certainly explain why the wlan is never connecting...09:21
mupBug #1636419: Network settings aren't set in Dragonboard <Snappy:New> <https://launchpad.net/bugs/1636419>09:21
mupBug #1636419 opened: Network settings aren't set in Dragonboard <Snappy:New> <https://launchpad.net/bugs/1636419>09:21
mwhudsonogra_: can you dig out the /var/log/console-conf/subiquity-debug.log file?09:22
ogra_mwhudson, right ... if i reboot it shows me the SSID ... but if i re-rty without going to "configure wlan" again it tries to apply it without key09:22
deadlockHello, guys. Someone knows how to install snap on openSUSE Tumbleweed correctly? That doesn't works here: http://snapcraft.io/docs/core/install#opensuse The snapd service doesn't starts.09:23
vigorvr, I passed the network screen09:26
rvrvigo: With today's image?09:26
rvrvigo: Without rebooting?09:26
vigorvr, just after reboot ehehe09:26
vigoyes09:26
rvrvigo: Then it's not the same test case ;)09:26
rvrvigo: Yeah, I could too after rebooting, because the credentials are stored and applied09:27
ogra_mwhudson, http://paste.ubuntu.com/23378076/ ... btw ... you should really hide the WPA key from that log :)09:27
vigorvr, that's it09:27
mwhudsonogra_: yeah, probably, at least its -r-------- now09:27
ogra_deadlock, i guess zyga could help, but i dont know if he is around today09:27
rvrmwhudson: ogra_: Yeah, he should, I sent you mine WPA password yesterday :D09:28
rvrs/mine/my/09:28
ogra_mwhudson, right, but i have to edit it to attach it to bugs or pastebin09:28
mwhudsonogra_: yes, fair, file a bug pls?09:28
ogra_will do09:28
rvrogra_: mwhudson: I already did, see above09:29
mwhudsonwell it sure looks like it calls netplan apply and it returns status == 0 and nothing on stdout or stderr09:29
mwhudsonrvr: about the WPA PSK being in the log?09:29
rvrmwhudson: Nope, about the network in the Dragonboard09:30
mwhudsonrvr: right, that's not what i meant09:30
deadlockogra_, thank you.09:30
deadlockzyga, can you help me?09:30
jgdxquestion: if I were to snap latexlive-full, how would one use pdflatex on an all-snappy system? Would some content transfer be necessary? Usually there's a bunch of files involved, not just the .tex file09:31
ogra_mwhudson, bug 163642109:31
mupBug #1636421: console-conf should hide WLAN keys from logfiles <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1636421>09:31
ogra_rvr, ^^^ feel free to confirm09:32
* ogra_ is afk for 20min09:32
rvrogra_: Done09:33
mupBug #1636421 opened: console-conf should hide WLAN keys from logfiles <Snappy:Confirmed> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1636421>09:34
mwhudsonogra_: ta09:35
vigorvr, I'm confirming your bug ok?09:36
rvrvigo: Thanks!09:36
mvodeadlock: hello, zyga may be able to help with snapd on suse09:41
deadlockmvo, thank you09:42
zygare09:47
zygaah, sorry, lost connection there for a sec09:47
zygadeadlock: how can I help you09:48
mupPR snapd#2203 closed: snap: switch the auto-import dir to /run/snapd/auto-import <Critical> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2203>09:59
mupBug #1635604 opened: console-conf should be localized <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1635604>10:04
Son_Gokudeadlock & zyga: snapd has been FTBFS for Tumbleweed for a while now10:14
Son_Gokuas has snap-confine10:14
Son_Gokuactually, most of the snappy project is broken across Leap and Tumbleweed: https://build.opensuse.org/project/monitor/system:snappy10:14
zygaSon_Goku: yep, I'm guiding deadlock on fixing that10:14
deadlockSon_Goku, thank you. I'm talking with zyga in private10:15
Son_Gokuokay, :)10:15
zygaSon_Goku: I'm looking at https://github.com/zyga/mounted-fs-memory-checker10:16
zygaSon_Goku: there's something super weird going on10:16
zygaSon_Goku: same kernel, same snap, memory usage on UP system is 131MB per mounted snap vs 7MB on a 4-core system10:16
zygaSon_Goku: no idea why yet10:16
Son_Goku~_~10:16
mupPR snapd#2210 opened: debian: only install share/locale if available (missing on powerpc) <Created by mvo5> <https://github.com/snapcore/snapd/pull/2210>10:17
zygaSon_Goku: I'm checking on fedora kernel now10:20
morphis_mvo: where do you guys get the -core image for spread from you have configured in https://github.com/snapcore/snapd/blob/master/spread.yaml#L44 ?10:26
mvomorphis_: the qemu ones? check https://github.com/snapcore/snapd/blob/master/HACKING.md#running-the-spread-tests10:27
morphis_let me see10:27
morphis_mvo: so they are no real core images?10:28
morphis_with kernel and gadget snap etc.10:28
=== e is now known as deadk
zygamorphis_: they are but they are made each time10:29
morphis_interesting10:30
mvomorphis_: they are morphed into them, we need to modify some key aspects (like the snapd) of the image to generate them10:30
mvomorphis_: you should look at the code, its quite fun how we do it10:30
morphis_looking already but that gives me a idea of what the code is doing10:31
mvomorphis_: https://github.com/snapcore/snapd/blob/master/tests/lib/prepare.sh#L8010:31
morphis_wow, you boot a classic image first and then reflash the image on the firstboot?10:32
Son_Gokumvo, is the core snap still called "ubuntu-core" or is it just called "core"?10:33
morphis_mvo: one other quick thing, joc_ currently has problems importing a key into the snap keyring, is that something you can help with?10:33
joc_looks like i need to be using --homedir to get to the correct keyring10:35
joc_yep that did it10:37
ogra_Son_Goku, you should only use "core" for anything new ... the ubuntu-core is still built in parallel but will eventually vanish10:40
Son_Gokuah okay10:40
Son_Gokuhow is the core snap built?10:40
ogra_https://code.launchpad.net/~snappy-dev/+snap/core10:41
ogra_http://bazaar.launchpad.net/~snappy-dev/core-snap/trunk/files has the Makefile this uses10:41
ogra_(there is also a readme)10:42
ogra_Son_Goku, we use livecd-rootfs/live-build as our creator backend ... i guess for fedora you want to use sommething like anaconda (or whatever the successor is since i had to deal last with that stuff)10:43
Son_Gokuwe have lorax for building things like this: http://lorax.readthedocs.io/en/latest/intro.html10:43
Son_Gokuit uses anaconda as the engine10:43
ogra_ah, k10:44
ogra_on the first link, if you click on any of the "Successfully built" links you get to the build details, there is a manifest file that lists all the debs included10:44
Son_Gokucool10:45
ogra_i also have a summary page (mainaly for my own overview) that screen-scrapes launchpad and summarizes everything at http://people.canonical.com/~ogra/core-builds/10:45
ogra_(super hackish, but helpful :) )10:46
Son_Gokuthat's useful10:46
zygaSon_Goku: any luck with the policy? I wanted to see if we can push snapd forward today10:47
Son_Gokunot yet, no10:47
Son_GokuI'm about to send an email asking for some help with this10:48
zygathank you, that would be very useful!10:48
morphis_joc_: great!10:49
zygamorphis_: hey did you guys get a chance to try udisks2 last week?10:49
ogra_rvr, regarding bug 1636419 ... it works for me on second boot (but you need to do all of the configuration again, even if console-conf seems to already have your WLAN credentials)10:50
mupBug #1636419: Network settings aren't set in Dragonboard <Snappy:Confirmed> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1636419>10:50
morphis_zyga: I started with it but I am testing it again today10:50
zygamorphis_: anything broken yet?10:51
rvrogra_: Yes, after reboot it works10:51
morphis_zyga: not yet :-)10:51
ogra_rvr, mention that in the bug then ;)10:51
rvrogra_: vigo did in a comment10:51
ogra_oh, i see it now ... sorry ... blind man here10:51
zygamorphis_: knock on wood, let's hope it stays okay10:52
zygamorphis_: there's some odd memory usage I'm still debugging10:52
morphis_zyga: flashing the rc image for x86 again right now, lets see what comes then10:52
vigoogra_, hehe for me sometimes it takes more than just one reboot I don't know why sometimes is not saving the network conf10:52
ogra_vigo, i noted that it doesnt apply the ppassword if i dont go through the whole wlan config again on second boot10:53
vigoogra_, yeap :(10:54
ogra_(i.e.. it has the SSID in the config file in /etc/netplan but not the password)10:54
mupBug #1624913 changed: Ubuntu-Core does not list any snaps on newly installed device <Snappy:New> <https://launchpad.net/bugs/1624913>10:58
=== Guest95404 is now known as ahasenack
=== ahasenack is now known as Guest59736
mupPR snapcraft#869 closed: Bring docs/upload-your-snap.md in line with http://snapcraft.io/docs/… <Created by dholbach> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/869>11:18
mupBug #1635170 opened: No warnings of what's unclean paths leads to terrible UX <Snappy:Triaged> <https://launchpad.net/bugs/1635170>11:31
Son_Gokuzyga, gah11:37
Son_Gokuthis is all your fault!11:37
Son_Gokuthe label never applies to /run/snapd.sock11:37
Son_Gokuthat's where snapd.socket is creating the file11:37
Son_GokuGAHHH11:40
zygaSon_Goku: why and how is that my fault?11:42
Son_Gokuyour snapd.socket file has the wrong path11:42
Son_Gokuwhich broke everything :P11:42
Son_Gokualso apparently the hello snap can't find the core snap11:42
Son_Gokuit pulled in ubuntu-core instead of core, as well11:42
Son_Goku[root@f24-kde-skuld-vm run]# snap run hello11:42
Son_Gokucannot locate the core snap. errmsg: No such file or directory11:42
zygaSon_Goku: I still don't see how that's my fault or how finger pointing helps but lets not dwell ;)11:43
ogra_there is no coire in the stable channel yet ...11:43
zygaSon_Goku: are you using the new snap-confine from master?11:43
Son_Gokuno11:43
ogra_it might be looking for stable ...11:43
Son_GokuI'm using the latest you built in Koji11:43
zygaSon_Goku: that's the right one11:43
zygaSon_Goku: can you run anything with SNAP_CONFINE_DEBUG=yes please11:43
zygaSon_Goku: it is probably something very trivial11:44
Son_Gokusure11:44
Son_Gokuhttps://paste.fedoraproject.org/460616/39587114/11:44
Son_Gokuzyga ^11:44
zygaand the output of "snap list" please11:45
zygaand lastly see the mounted snaps please11:47
Son_Gokuwith the debug stuff, right?11:47
zygathat is separate11:47
Son_Goku[root@f24-kde-skuld-vm run]# snap list11:47
Son_GokuName         Version  Rev  Developer  Notes11:47
zygaI mean, the environment variable above only affects snap-confine11:47
Son_Gokuhello        2.10     20   canonical  devmode11:47
Son_Gokuubuntu-core  16.04.1  423  canonical  -11:47
zygaok11:47
zygawhere is it mounted?11:48
Son_Gokutmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,seclabel,mode=755)11:48
zygaubuntu-core11:48
Son_Goku /var/lib/snapd/snaps/ubuntu-core_423.snap on /var/lib/snapd/snap/ubuntu-core/423 type squashfs (ro,relatime,seclabel)11:48
Son_Goku /var/lib/snapd/snaps/hello_20.snap on /var/lib/snapd/snap/hello/20 type squashfs (ro,relatime,seclabel)11:48
zygathat looks good11:48
zygacan you check if snap-confine is built with /var/lib/snapd/snap11:48
zygano typos or anything11:48
zygaor mising trailing slash11:48
Son_Gokucertainly11:48
zygait might be something as trivial as this11:49
Son_Gokualso, debugging selinux policy module in #fedora-selinux now too :)11:49
Son_Gokuugh11:49
Son_Gokuyeah, I know what happened11:50
Son_Goku[root@f24-kde-skuld-vm run]# rpm -E "%{_sharedstatedir}/lib/snapd/snap"11:50
Son_Goku /var/lib/lib/snapd/snap11:50
Son_Gokuzyga, take off the "/lib" in http://pkgs.fedoraproject.org/cgit/rpms/snap-confine.git/tree/snap-confine.spec#n4111:50
Son_Gokuit should be "%{_sharedstatedir}/snapd/snap"11:50
zygaah :D11:52
zygado we need the trailing slash?11:53
zygaSon_Goku: so? :) does it work?11:58
Son_Gokudunno, I'm about to rebuild and try11:59
zyga++ thank you11:59
Son_Gokuno trailing slash required12:02
Son_Gokuit works12:02
zyga!!!12:03
zygawooooot12:03
Son_Gokualso... https://gitlab.com/Conan_Kudo/snapcore-selinux/commit/eefa7cedd11ad91da8e240732e474124282f584612:03
zygamerge it back!12:03
Son_GokuI will, one sec12:03
zygawhat's -s vs --12:03
Son_Gokusocket vs regular file12:06
zygaah, I see12:08
Son_GokuI've pushed new snap-confine builds to koji12:11
Son_GokuI'm going to test my changes for the selinux policy12:11
zygaSon_Goku: thank you12:14
popeyogra_: you recall I re-flashed my busted pi3 again yesterday. Today I wake to find it's no longer on the network. Serial console shows localhost login:12:14
popeyogra_: I think it did an update overnight.12:14
abeatojdstrand, hi, https://github.com/snapcore/snapd/pull/2058 should be ready when you have a slot to take a look :)12:15
mupPR snapd#2058: interfaces: add ofono interface <Created by alfonsosanchezbeato> <Conflict> <https://github.com/snapcore/snapd/pull/2058>12:15
diddledan_does cleanbuild create multiple architectures if they're defined in the yaml file?12:16
diddledan_I'm investigating a snap just build and it seems to only have the amd64 stuff12:16
Son_Gokuzyga, did you contact the package maintainer of the dep that's broken in f23 for snapd?12:16
diddledan_I've added `architectures: [amd64, i386]` to the yaml12:16
zygaSon_Goku: not yet12:17
zygaSon_Goku: I don't know which one it is12:17
zygaSon_Goku: it was network related but that's all I know12:17
zygadiddledan_: no, there's no general cross-building12:18
zygadiddledan_: you can use launchpad to build your snap for any architecture if that helps12:18
diddledan_ok. feature request :-)12:18
diddledan_thanks zyga12:18
zygawell, hard to do12:19
diddledan_yeah, I've done manual cross compiling in the distant past and it was painful12:20
Son_Gokucross compiling is always painful12:20
Son_Gokumost tooling isn't designed to handle host and target being different :/12:20
Son_Gokunope, still not working12:22
Son_Gokuyay, I broke the hello snap by simply uninstalling and reinstalling snapd12:32
jdstrandabeato: ack12:36
abeatothnaks12:36
=== mhall119_ is now known as mhall119
ogra_popey, wired or wlan ?12:49
zygaSon_Goku: what happened when you did that?12:52
Son_GokuI get "command not found"12:52
zygaisn't the snap removed when you do that?12:53
Son_Gokuyes, but it's not removed12:53
Son_Gokuall the mounts are broken now, though12:53
zygaSon_Goku: the postup script probably needs to be adjusted12:54
popeyogra_: wired, it came back after a reboot.12:55
ogra_weird12:55
zygaSon_Goku: anything I can merge?12:55
Son_Gokunot yet12:55
Son_Gokuhopefully soon, though12:55
ogra_popey, did you ever reboot it before (i.e. after console-conf)12:55
Son_Gokustill working out kinks in initial policy12:55
popeyogra_: don't think so.12:56
ogra_popey, might be fallout of console-conf not running netplan apply12:57
ogra_(which is then called on reboot apparently)12:57
diddledan_this bug #1580740 is marked as fixed for xenial but seems to have been missed for yakkety13:08
mupBug #1580740: [SRU] Cannot open a browser link from a snap that provides a link <snap-desktop-issue> <verification-done> <xenial> <yakkety> <Snappy:Triaged> <snapd-xdg-open (Ubuntu):Fix Released> <snapd-xdg-open (Ubuntu Xenial):Fix Released> <https://launchpad.net/bugs/1580740>13:08
diddledan_oic, it's present in the archive but hasn't been pulled automatically13:13
diddledan_I think it should be depended upon by something?13:13
zygaSon_Goku: thank you!13:14
morphis_ogra_: you had a site where you listed all content of all core snaps, can you give me the link again?13:16
=== ubuntu is now known as Guest74698
ogra_morphis_, http://people.canonical.com/~ogra/ubuntu-core-builds/ ?13:18
morphis_ogra_: yea!13:18
ogra_morphis_, note though that this only lists auto-built snaps ... if mvo uses the LP ui for a build that wont show up13:19
morphis_hm13:19
ogra_(it only parses the log of the auto-build script)13:19
ogra_so there can be gaps13:19
=== tyhicks` is now known as tyhicks
zygajdstrand: hey, good morning13:42
zygajdstrand: how are you doing?13:42
jdstrandhey zyga :)13:42
jdstrandzyga: I'm good. glad to be back home. trying to get through a mount of email and sprint outcomes to translate to actual work items :)13:43
jdstrandzyga: how are you?13:43
zygajdstrand: do you remember our converstation? I ran some tests and ended up with ... for the same .snap, 1MB all the way up to 131MB13:43
zygajdstrand: my health is not very good after that week but I hope it improves, usual issues with my spine, but mood is good13:43
jdstrandzyga: sorry to here-- hope you feel better soon13:44
zygajdstrand: I asked the kerel team for assistance and I'm working on measuring memory usage with snap-confine environment set up for each snap13:44
jdstrandhear*13:44
jdstrandsounds good13:44
zygajdstrand: I made https://github.com/zyga/mounted-fs-memory-checker in case you want to try13:45
zygajdstrand: the numbers I get are consistent in each VM/box but differ widely for no apparent reason13:45
jdstrandoh neat13:46
mupPR snapd#2211 opened: tests: test-snapd-fuse-consumer needs python-fuse as a build-package <Created by mvo5> <https://github.com/snapcore/snapd/pull/2211>13:49
jdstrandzyga: fyi, I passed this information on to the security team. I know they were interested in this topic13:51
jdstrand(the rest of the security team that is)13:51
zygajdstrand: thanks!13:52
ogra_ppisati, hmm, any idea why i end up with evbug auto-loaded all the time on the rpi  ? its spilling a lot of crap to the logs14:00
mupPR snapd#2212 opened: spread tests: fix snap mode check <Created by stolowski> <https://github.com/snapcore/snapd/pull/2212>14:01
ppisatiogra_: nope14:03
mupPR snapd#2213 opened: tests: skip tests that use expect when expect is not working (like on ppc64el) <Created by mvo5> <https://github.com/snapcore/snapd/pull/2213>14:05
ogra_ppisati, also ... i just booted the pi3 with systemd debug console and see that despite having the brcmfmac module loaded there is no wlan device in /proc/net/dev ... that happens only on first boot though ... the devices shows up once i modprobe -r/modprobe the module14:06
ogra_mvo, when exactly do we bind mount /lib/firmware in the boot process ?14:06
ppisatiogra_: do you see any message of fmac complaining about the lack of fw files?14:07
ogra_nope14:07
mvoogra_: pretty early, right after we mounted writable rw14:08
ogra_the output actually looks all happy in dmesg and syslog14:08
ogra_mvo, so initrd ? or systemd ?14:08
mvoogra_: initrd14:08
ogra_k14:08
ogra_then its not that14:08
mvoogra_: unless there are bugs of course, but nothing indicates that14:08
ppisatidmesg | grep brcm14:08
ogra_i would really like to know why it only happens on first boot14:08
ogra_i just re-flashed, gimme a sec14:09
ppisatik14:09
ogra_(pretty annoying that i can only repro it on the very first boot, so if i manage to get the device show up i need to re-flash)14:10
ppisatieven better14:10
ppisatidmesg | grep -e fmac -e brcm14:10
tyhickszyga: I have been wondering if spitting the snap (squashfs image) out to disk on each boot is acceptable instead of mounting the snap on each boot14:11
ogra_i get 4 lines ... (cant copy paste from tty console)14:11
ogra_first one is usbcore telling me it loads the module14:11
ogra_second is the firmware loading which looks all fine14:11
zygatyhicks: I don't think we want that, we want to know what's broken14:12
tyhickszyga: I don't see much of an advantage to actually have these things mounted versus unsquashed14:12
zygatyhicks: my tests include ext4 and even vfat and there memory usage is next to nothing14:12
zygatyhicks: integrity, simplicity, efficiency14:12
ogra_ppisati, the next two are "brcmf_cfg80211_reg_notifier: not a ISO3166 code"14:12
zygatyhicks: I've started comitting traces to the tree14:13
zygatyhicks: you can now run the simple analyze.py script to see14:13
tyhickszyga: I think these results are an argument against efficiency14:13
tyhickszyga: I do agree with simplicity14:13
zygatyhicks: well, efficiency vs copying14:13
zygatyhicks: but honestly we need to know more, why is squashfs different from all the other fs'es14:14
zygatyhicks: I asked the kernel team for support14:14
* tyhicks nods14:14
tyhickszyga: I peeked through the code a bit - there's quite a bit of overhead involved in the squashfs metadata cache14:14
ppisatiogra_: something like this?14:15
ppisatiogra_: http://pastebin.ubuntu.com/23379090/14:15
tyhickszyga: the metadata is read from the image, decompressed, and sorted appropriately in an internal-to-squashfs cache14:15
ogra_ppisati, yes, exactly this14:15
ppisatiogra_: good, then the wlan was initiliazed correctly14:16
zygatyhicks: what is considered meta-data? my snaps have two files inside14:16
zygaand one directory14:16
tyhickszyga: it is cached so that they, hopefully, don't have to go through decompression again later when something like an inode needs to be read in from the squashfs image14:16
ppisatiogra_: is the module still loaded?14:16
ogra_yep14:16
ppisatime thinks14:16
ppisatimaybe we can check via the dt tree14:17
ogra_i see the module, have that output, but no trace of wlan0 in /proc/net/dev14:17
tyhickszyga: see "3. SQUASHFS FILESYSTEM DESIGN" in https://www.kernel.org/doc/Documentation/filesystems/squashfs.txt14:17
ppisatilet me reach for my board14:17
zygatyhicks: hmmm14:17
zygatyhicks: my 1MB snap caues 131 of memory to be used on mounting14:17
zygatyhicks: thanks, I'll have a look14:17
zyga(1MB decompressed)14:17
zygatyhicks: pull the project and run14:19
zyga./analyze.py ubuntu 16.04 4.4.0-45-generic size-1m.squashfs.xz.heavy14:19
zygatyhicks: now compare that to 0m (empty snap)14:19
zygathere's no difference14:20
zygawith smallest possible block size and dictionary size (size-1m.squashfs.xz.smallest) I get 1.3MB14:20
zygawith ext4 I get close to 014:21
zygaanyway14:21
zygatime for dinner14:21
tyhickscrazy14:21
tyhicksI'll poke at the project a bit14:21
ogra_pitti, what reads /run/systemd/netif/leases on boot ... i get a bunch of shell errors (seems nothing checks if the dir is empty and sed is tried to run)14:21
ogra_i wonder if that blocks my wlan0 (like basic networking not coming up or so)14:21
pittiogra_: ah, that's our xenial hack for updating resolvconf with networkd-picked up DNS servers; can you please file a bug? should be simple to fix14:22
pitti(but also just cosmetical)14:22
ogra_pitti, ok, nothing that could cause my issue then apparently14:22
pittithat service doesn't block anything, it's just being triggered via inotify14:22
ogra_ok14:22
pittiogra_: it could cause missing DNS servers in /etc/resolv.conf14:23
mupPR snapd#2214 opened: overlrod/snapstate: fix revert followed by refresh to old-current <Created by chipaca> <https://github.com/snapcore/snapd/pull/2214>14:23
* ogra_ sighs ... what a mystery14:23
pittiif that's what you mean by "block"14:23
pittii. e. the interface could be up and you can talk to stuff by IP address, but no DNS resolution14:23
ogra_pitti, nah ... i dont get wlan0 in /proc/net/dev on a very first boot of a snappy image ...14:23
ogra_the driver is loaded, firmware too14:23
pittidmesg?14:24
ogra_but only the second boot gives me the actual device14:24
mupPR snapd#2215 opened: tests: spread system user autoimport <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2215>14:24
ogra_nothing in dmesg14:24
pittidoes the first boot install some firmware or so?14:24
ogra_(beyond the expected lines for the driver)14:24
ogra_nope14:24
pittithere isn't anything in userspace other than providing firmware files (or kernel .ko drivers) which would influence that14:24
ogra_shouldnt14:24
ogra_but i'm not sure, thats why i poke around a little blindly14:25
pitti... or rfkill14:25
ogra_thats why i asked you before ... but it comes up with 0 in the file (we dont have the rfkill binary on the image though)14:25
pittiogra_: no need for the binary, you can check in /sys/class/rfkill/14:26
ogra_empty14:26
pittihm, that's a bit surprising14:27
pittiogra_: /sys/class/net/w* ?14:27
ogra_yeah14:27
ogra_nope14:27
pittiif the kernel says something about the detection of it (as you said above), there should at least be a device for it14:27
ogra_then it would also be in /proc/net/dev14:27
pittiogra_ | (beyond the expected lines for the driver)14:27
pittii. e. just the driver, but no detected devices14:28
ogra_well, the kernel doesnt talkj about "wlan0" or anything14:28
ogra_(but it never does that to my knowledge)14:28
pittiogra_: maybe the first boot loads the firmware, and then on the next reboot the device actaully works and is detected?14:28
pittibut loading the fw doesn't bring it up immediately or so?14:28
ogra_and the driver isnt in /etc/modules or anything, so something triggered the loading14:28
pittibut I'm a n00b on the kernel side of this, I'm afraid14:29
ogra_nah, i think that works in classic images14:29
ogra_i suspect it is caused by userspace14:29
mupBug #1587448 opened: Can't reboot device from snap <snapd-interface> <Snappy:Fix Committed> <https://launchpad.net/bugs/1587448>14:29
ogra_but i'm running out of clues where to look14:29
ogra_re-loading the module fixes it ...14:30
ogra_but we cant do that indeed14:30
ogra_(as a default)14:30
pittioh14:31
pittiogra_: so maybe it is due to not re-poking the device after loading the firmware, or the latter doesn't cause the driver to re-attempt detection14:32
ogra_i also tried an udevadm trigger ... in the hope there is a race or some such ... but no result either14:32
pittino, that wouldn't help14:32
pittithat only would do the userspace reaction to new kernel devices14:32
zygatyhicks: on fedora I get 4MB instead of 13114:32
pittibut the problem is lower, the kernel device doesn't exist at all14:32
ogra_right, but only on first boot of an ubuntu core all-snap image14:33
ogra_second boot is fine ... classic images are fine14:33
zygatyhicks: I just pushed the trace14:33
zygapull and run this to see: ./analyze.py fedora 24 4.7.9-200.fc24.x86_64 size-1m.squashfs.xz.heavy14:33
ogra_to me it looks more like something is created on the filesystem on that first boot ... and ignored14:33
ogra_until i re-load the module or reboot14:34
pittiogra_: any crazy bind mounts on the root partition that are done in userspace again?14:34
pittiI mean "during boot as opposed to initrd"14:34
ogra_well, systemd processes the fstab ... for everything but /etc14:34
pittialthough device detection happens during initrd alread14:34
ogra_we dont have network modules there14:35
ogra_so it wouldnt have any effect14:35
ogra_(we only have a handfull of hardcoded modules for disk controllers in there by default)14:35
tyhickszyga: wow, that's quite a difference :)14:36
* ogra_ wonders why we bind mount /var/lib7initramfs-tools 14:37
ilivwhere do I check what $HOME is set to from perspective of a program shipped as a snap package?14:38
ogra_iliv, snap install hello-world ... then run hello-world.env14:38
ogra_pitti, hmmm ... machine-id is only generated after systemd did the /var/lib/dbus bindmount, could that have any effect ?14:39
pittiif /etc/machine-id is not there, systemd generates a temporary one and bind-mounts it if it cannot be written14:40
pittibut I wouldn't know how that would affect device detection by kernel drivers14:41
ogra_right, i just wonder if a driver could depend on it14:41
ilivogra_, uh, looks like a custom program?14:46
ogra_?14:47
ilivenv14:47
ilivI mean, my packages don't have it. Am I supposed to include one?14:47
ogra_it calls "env" indoes a snap environment and prints it14:47
ogra_*inside14:47
ogra_it is just the shell env command14:47
ogra_you can also try hello-world.sh14:48
ogra_that starts a shell inside the snap environment14:48
ilivare env, evil, sh and echo part of snap environment and avaiable to all packages by default?14:48
ogra_(exist it with ctrl-d or the exit command)14:48
ogra_no, they are scripts shipped in hello-world14:48
ogra_you can just read them in /snap/hello-world/current/14:49
ilivdoes that mean if my package doesn't include those AND hello-world isn't installed there is no (easy?) way to see what $HOME is set to?14:49
ogra_you can always call env from a wrapper script in your snap to have it printed14:50
ogra_pitti, hmm, some dependency pulled wireless-regdb and crda into the image ... i wonder if that could cause it14:50
* ogra_ sees crda udev rules 14:50
pittiooh14:50
pittiogra_: yes, that's very plausible -- some drivers refuse to work until you set a CRDA area14:50
ogra_well, nothing sets an area code (and actually the config dirs are all readonly) .,... also it works on second boot/load of the module ... but perhaps it blocks altogether if it cant write or so14:51
ogra_aha !14:52
ogra_systemd-udevd "/sbin/crda" failed with exit code 23414:52
ogra_hmm, that just measn "no country code set"14:53
pittiI have a /sys/devices/platform/regulatory.0/ on my laptop, so /lib/udev/rules.d/85-regulatory.rules woudl call /sbin/crda14:55
pittiand for sure /lib/crda/setregdomain runs to (from /lib/udev/rules.d/40-crda.rules)14:56
pittibut I don't see any crda error codes in the logs14:56
pittiREGDOMAIN= in /etc/default/crda (i. e. unchanged file)14:56
ogra_yeah, same here14:56
pittiogra_: do you still have that exit code 234 on the second boot when it works? if so, it's a red herring, if not it's a strong clue that crda is the reason?14:57
ogra_well, let me try14:57
ogra_(that means i need to re-flash though ... i can only test once)14:58
pittiogra_: or search through teh writable area for anything that looks crda related or REGDOMAIN etc?14:58
ogra_pitti, definitely no crda error on second boot15:00
ogra_pitti, http://paste.ubuntu.com/23379264/ i dont see anything that could be realted :/15:05
mupBug #1636540 opened: please support creating pipes via mknod <snapd-interface> <Snappy:Triaged> <https://launchpad.net/bugs/1636540>15:06
pittiogra_: not /media/ogra/writable/system-data/etc/modprobe.d/modprobe.d/iwlwifi.conf or so?15:08
pitti/media/ogra/writable/system-data/etc/dbus-1/system.d/org.freedesktop.timedate1.conf o_O15:08
pittiwhy would this be writable, and not in the r/o section?15:08
ogra_would be surprising if that had any influence on a rpi15:08
pitti(unrelated, but caught my eye)15:09
ogra_(iwlwifi is intel only, no ?)15:09
pittiah, yes15:10
ogra_hmm ... seems "iw reg get" is what i should try after first boot ... to see if there is anything at all15:11
* ogra_ re-flashes once again ... poor SD ... 15:11
ogra_well15:20
ogra_iw reg get doesnt show any different output15:20
ogra_lol15:21
ogra_the output of "crda --help" is highly informative15:21
mupPR snapd#2204 closed: interfaces/builtin: network-manager and bluez can change hostname <Critical> <Created by morphis> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2204>15:26
MikeBI posted a question to devices mailing list last week but no answers.  https://www.mail-archive.com/devices@lists.snapcraft.io/msg00145.html   Anyone here think they could help?15:27
MikeBBasically creating custom kernel snap and custom image.  Boots fine, but snapd failes to start after I install my first snap.15:27
tyhickszyga: how many CPU cores did your ubuntu test machine have and how many did the fedora machine have?15:30
Croephaf15:32
Croephaf15:32
Croephaoops, disregard that pls :(15:32
zygatyhicks: UP machines had one15:33
tyhickszyga: they all had 1 cpu core?15:35
zygatyhicks: 16.10 system had dual cores15:36
ogra_MikeB, and you are building from edge or beta channel ? (note that there has not been a stable core snap in a long time, you dont want to use stable until there has actually been a series 16 snappy release)15:38
tyhickszyga: the ubuntu kernels have CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y15:38
zygatyhicks: yes, I saw that15:39
tyhickszyga: that results in squashfs creating one set of internal caches per possible CPU15:39
zygatyhicks: lots of buffers15:39
zygatyhicks: I'm running on 4 core system to compare now15:39
MikeBogra_ I tried both edge and beta.15:39
MikeBSame results.15:39
zyga(also xenial)15:39
tyhickszyga: it looks like the fedora kernel config uses the default (CONFIG_SQUASHFS_DECOMP_SINGLE), which only uses one set of caches15:40
MikeBI'm unable to build from stable since the gadgest aren't available.15:40
ogra_MikeB, using the snapcraft kernel plugin to create your kernel ?15:40
MikeBI have a workaround to grab the gadgests from ~vorlon, but that one fails too.15:40
zygatyhicks: woah!?!15:41
ogra_i think they are outdated ... slangasek (vorlon) might be able to comment15:41
zygatyhicks: on 4 way system I get _less_ memory than on UP15:41
MikeBYes, snapcraft 2.19 kernel plugin.  I have some changes to the config which is why I need the custom kernel.15:41
zygatyhicks: 7MB per size-1m.squashfs.xz.heavy15:41
ogra_right, my question was more to make sure you get the right initrd15:41
zygatyhicks: I'll adjust the test to embed the number of CPUs in the directory15:41
zygatyhicks: does this make any sense to you, less CPUs, way more buffers?15:41
ogra_though ... hmmm15:41
tyhickszyga: it doesn't - that's something for the kernel team to figure out :/15:42
ogra_sergiusens, ppisati, does the current snapcraft kernel plugin pull from stable or from edge ?15:42
zygatyhicks: I'm cross-checking the fedora config now15:42
zygatyhicks: CONFIG_SQUASHFS_DECOMP_SINGLE=y15:42
zygathat checks out, good hunch15:42
ogra_could indeed be that you have an outdated initrd ... which can result in having a totally wrong clock ... which in turn fails to use the certificates for the initial setup of snapd15:42
zygamay be a bug in the CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU15:42
tyhickscould be15:43
MikeBogra_ I was thinking it was something like that.  The kernel plugin doesn;t give option to pull from alternate channels.  I get what I get.15:44
ogra_yes, i never use it so i dont know which one it pulls15:44
slangasekogra_: I don't know if they're outdated, because there's no official publication of the signed model assertions so I only know if they're outdated if I poll.  I gather there is now a way to download them from the store by name, perhaps we should be migrating everybody to that15:46
ogra_yeah15:46
MikeBLooking at the source for kernel.py, it looks like it is pulling from edge15:47
ogra_ppisati, fyi, i'm pretty sure the regulatory subsystem is getting in our way with the wlan0 device ... not sure why yet though15:48
ogra_"iw reg get" looks identical no matter if wifi works or not15:49
MikeBThat is, it is pulling ubuntu-core from the edge.15:49
ogra_then it should be fine15:50
ogra_what arch is that ?15:50
MikeBamd6415:51
ogra_ah, then the initrd shouldnt have so much influence anyway (regarding the clock etc)15:52
liuxgkyrofa, good evening. May I check with you whether configure hook is fully working? thanks15:53
MikeBusing canonical-pc-amd64 for for model and 'pc' for gadget15:53
kyrofaliuxg, it is as of 2.1616:00
MikeBsnapd version on first-boot is 2.16+ppa64.70c490f6-1 when I build the image from edge.16:01
liuxgkyrofa, thanks for your reply. my desktop installed the version 2.16. However, it seems not working in my place. I have a test project at https://github.com/liu-xiao-guo/helloworld-configure. would you please help to take a look? thanks16:02
kyrofaliuxg, ah, snapcraft doesn't support hooks yet16:03
kyrofaliuxg, if you want to use them, you need to place them yourself16:03
liuxgkyrofa, I have place the a configure file located at meta/hooks/configure. I used the same code as in the hooks.md document. it does not work for me.16:05
kyrofaliuxg, is it executable16:05
kyrofa?16:05
liuxgkyrofa, let me check. ...16:06
liuxgkyrofa, yes, I just changed it to executable, it gave me "Run configure hook for hello (cannot snap-exec: cannot find hook "configure" in "hello")"16:09
liuxgkyrofa, this is how it looks like http://paste.ubuntu.com/23379594/ in my place16:11
ppisatiogra_: if you saw those 'fw loading ...' and 'ISO code blabla' in dmesg, it means wlan0 was setup correctly, but then something removes it16:13
ppisatiogra_: i'm more inclined to think it's a PM issue16:13
ppisatiogra_: like, someone puts the interface to sleep and it gets removed16:13
ogra_ppisati, hmm16:13
ogra_can i force it to stay on somehow ?16:14
ppisatiogra_: that's what if was happening in BBB image with the oops16:14
ppisatiuhm16:14
ogra_ah, right, i remember16:14
ogra_we probably dont really want it to sleep by default at all16:14
ogra_given it is our only way to access a provisioned device16:14
liuxgkyrofa, after installing the snap, it looks like http://paste.ubuntu.com/23379606/16:15
kyrofaliuxg, yeah I've duplicated here... not sure what's happening, I'm investigating16:15
ogra_(i.e. the default for PM should be off ... but witjh the option that people can toggle it if needed)16:15
ogra_ppisati, though why only on very first boot and never again ?16:16
liuxgkyrofa, OK. thanks for your help. do you mean snapcraft will support it in the future, and it will put the file into the right place, right?16:16
kyrofaliuxg, indeed16:16
ppisatiogra_: IMO is netplan/netconf/the configuration thing/ that puts all the interfaces to sleep16:16
ogra_pitti, ^^^ ?16:17
ogra_is that a possibility ?16:17
liuxgkyrofa, thanks for letting me know. I am going to sleep. have a nice day.16:18
ogra_ppisati, neither runs before you press enter ...16:18
kyrofaliuxg, you as well!16:18
ogra_(the "press enter" is just a shell script wrapped around getty ... only if you actualyl press the console-conf/netplan stuff starts)16:19
ogra_i am on a system where enter has not been pressed yet16:19
sergiusensogra_ stable, always stable16:26
ogra_sergiusens, well, MikeB says edge16:27
sergiusensdarn16:27
ogra_:)16:27
sergiusensindeed "            'ubuntu-core', 'edge', self.os_snap, self.project.deb_arch)"16:27
sergiusensthis is wrong16:27
ogra_well, you really dont want the initrd from ubuntu-core 42516:27
ogra_thats half a year old or so16:27
sergiusenswell, I don't want any of this16:27
ogra_hold back the fix til we have something modern in stable16:28
sergiusensI want to not need to do this intrd dance and have core take care of it16:28
ogra_yeah16:28
ogra_add some more hours to my days :P16:28
ilivjdstrand, hey, I'm here as well so if you prefer to discuss that bugreport here just send me a pm or highlight me in this channel16:28
rharperogra_:  do you know mounts the second partition to /boot/grub (or /boot/uboot) ?16:32
rharper*what* mounts the second partition16:32
ogra_rharper, the initrd16:32
rharperis that in the initramfs packages in core snap ?16:32
rharperor part of the kernel snap build ?16:32
ogra_in the binary initrd in the kernel snap16:33
rharperok, but the scripts in the initrd are found in which source?16:33
ogra_but the binary initrd is created during build of the core snap currently16:33
ogra_initramfs-tools-ubuntu-core in the image ppa16:33
rharperogra_: excellent, thanks!16:33
ogra_https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial16:34
ogra_the script itself also lives on disk of a running system in /usr/share/initramfs-tools/16:35
ogra_(under scripts/ubuntu-core-rootfs )16:35
rharpertriple thanks !16:35
kyrofasergiusens, learned something interesting16:42
kyrofasergiusens, you can indeed add other Nextcloud instances as external storage, which means you might be able to get some replication going16:42
niemeyerdasjoe: Thanks for the note on DMARC16:55
niemeyerdasjoe: Given the docs on https://wiki.list.org/DEV/DMARC, I'm not sure how much we can improve the situation, I've sent a note to our admin team to see what they might be able to pull off16:55
pittiogra_: not sure -- what would tell the interface to go to sleep at boot? "sleep" as in "suspend"?17:30
ogra_pitti, good question ... i dont think ppisati's idea flies though ... nothing should touch the state before console-conf even runs and it only happens on very first boot17:32
ogra_i still find crda more plausible17:32
ogra_i'll do a bit more debugging tomorrow, my post-sprint-cold is really hitting badly today17:33
* ogra_ goes to find some hot tea and honey17:34
kyrofaogra_, yeah it sucked huh?17:36
kyrofaogra_, just on the tail end here17:36
ogra_me too ... luckily no fever ... but it is at a point where the coughing hurts in the muscules17:37
kyrofaogra_, yep, same cold it seems17:37
mupPR snapd#2214 closed: overlord/snapstate: fix revert followed by refresh to old-current <Critical> <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2214>17:50
mupPR snapd#2210 closed: debian: only install share/locale if available (missing on powerpc) <Critical> <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2210>17:57
zygaOerHeks: hey, how are you feeling?18:16
zygahmm18:16
zygaogra_: ^^18:16
zygaOerHeks: (sorry018:16
mvoogra_: quick question - pi2 from edge seems busted for me, no networking. do you see that as well or am I just unlucky?19:24
ogra_mvo, using my daily ?19:36
ogra_mvo, it worked for me on sunday, havent tested pi2 since19:36
mvoogra_: freshyl build, I explore it a bit19:40
ogra_no networking at all ? like no eth0 in console-conf ?19:41
mvoogra_: still exploring, no console-conf, but maybe a bad sd card, let me re-run, especially if its not anything known19:42
ogra_no console-conf ?19:42
ogra_how long did you wait ?19:43
* mvo reflashes19:45
mupPR snapd#2216 opened: snap: skip all ram disks when auto-importing assertions <Created by mvo5> <https://github.com/snapcore/snapd/pull/2216>19:51
mvoogra_: aha, new flash on fresh card looks much better19:52
ogra_phew19:52
mvoys19:53
mvoyes19:53
ogra_pi2 should be pretty good ... (at least that was my impression on sunday)19:58
mvoogra_: yeah, I think there was a short hickup but edge is looking good, I will wait for QA to verify but I think new images can be released soon (hopefully tomorrow) with the final fixes. and then I guess we will need something later for pi3/dragonboard. unless mwhudson gets your two bugs under control while I sleep :) I would love to see that!20:01
ogra_mvo, well, GA is not this week :)20:02
ogra_see the ML thread20:02
* mwhudson waves20:02
ogra_mvo, we have some time left for the arm images20:02
mwhudsonogra_: so because i'm lazy and to save time, which image should i use to reproduce wlan issues on dragonboard?20:03
ogra_if we have the fixes by next monday we're fine i'd say20:03
mvomwhudson: hey, good morning! you are up early(?)20:03
mwhudsonogra_: http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ubuntu-core-16-dragonboard-410c.img.xz20:03
mwhudsonmvo: it's 0900 so not really20:03
mvo(me is confused about TZ)20:03
mvomwhudson: oh, then I'm just confused :)20:03
ogra_mwhudson, http://people.canonical.com/~ogra/snappy/all-snaps/daily/20:03
mwhudsonmvo: we're in summer time now, you are not any more?20:03
ogra_whatever latest you find there20:03
mwhudsonogra_: ok20:04
ogra_mwhudson, regarding the rpi i have a strong suspicion that we do not set up some bits for crda that are only in place on second boot (which is why the device then has a wlan0) ... but i'm to sick to move on today and need some rest20:05
mvomwhudson: I think I just looked at the wrong city :) in any case, great to hear that you are looking into it20:05
ogra_there is a small possibility that the wifi timeout on the dragonboard is related ... but debugging the dragon is a lot harder20:06
mwhudsonogra_: i don't have any pi hardware20:06
ogra_yeah20:06
ogra_well, the systemd.debug-shell arg helps a lot ... but for that you need to change uboot.env on the SD20:06
mwhudsonyeah20:07
mwhudsoncan i just edit that with vi or do i have to clown about with mkimage and stuff?20:07
ogra_you can re-generate it http://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-systems/view/head:/dragonboard/README20:07
mwhudsonah, thanks20:08
ogra_grab the uboot.env.in from that tree, edit mmcargs between the quotes and re-generate the uboot.env ... then copy it on the system-boot partition20:08
* ogra_ needs to go ... 20:09
mwhudsonogra_: sleep well20:09
mupBug #1613572 changed: sandbox denials for snaps on BTLE device <snapd-interface> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1613572>20:11
mupBug #1627309 changed: bluetooth-control noble.js not working <snapd-interface> <Snappy:Fix Released> <https://launchpad.net/bugs/1627309>20:32
mwhudsoncyphermox: hey20:38
cyphermoxmwhudson: hey20:39
mwhudsoncyphermox: i've reproduced the wlan problem on my dragonboard too20:39
mwhudsonpretty sure it's not console-conf's fault, the config looks fine20:40
cyphermoxright20:40
mwhudsoncyphermox: do you know what "sed: can't read /run/systemd/netif/leases/*: No such file or directory" in syslog is about?20:40
cyphermoxmwhudson: there is no file in that directory?21:00
cyphermoxno idea what tries to do that though21:00
mwhudsonwell sure but why is it in syslog21:00
mwhudsonbah my board doesn't boot when i try to enable debug shell, i guess i'm doing something wrong21:00
cyphermoxwhat's before that line in syslog?21:01
cyphermoxlike, what is the full context?21:01
mwhudsonah sorry gone now21:01
mwhudsonit was after the wlan associated though21:01
mwhudsonmmcargs=setenv bootargs "${args} console=ttyMSM0,115200n8 root=${mmcroot} systemd.debug-shell"21:02
mwhudson <- looks right?21:02
cyphermoxyeah, looks fine21:06
mwhudsonactually i think it's the uboot.env.in -> uboot.env thing that's breaking me21:07
mwhudsonmaybe21:07
rharpermmm, core boot debugging fun;  misery loves company21:07
mwhudsonheh21:10
bschaeferhello, so for the snap cmake plugin the root level CMakeLists.txt file is not in the root dir ... and slightly dependent on its location. Any news on that coming to the plugin anytime soon :)?21:14
mwhudsoncyphermox: so stranger and stranger, i rebooted and the device was associated but it fell off the network when i tried to enter my email address21:19
mwhudsonOct 25 21:16:00 localhost systemd-networkd[1510]: Could not load configuration files: Permission denied21:21
mwhudsonwaaait umask is inherited, right?21:21
mwhudsonyes21:35
mwhudsonok this is all my fault21:35
mwhudsonogra_: sorry!21:36
mupBug #1611978 changed: Incomplete x11 interface <snapd-interface> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1611978>21:53
mupBug #1636633 opened: Content interface supports multiple sources, but only one destination <Snappy:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1636633>22:05
mwhudsoncyphermox: https://github.com/CanonicalLtd/subiquity/pull/176 if you want a look22:22
mupPR CanonicalLtd/subiquity#176: remove setting of umask, redact wifi password from log file <Created by mwhudson> <https://github.com/CanonicalLtd/subiquity/pull/176>22:22
mwhudsonuh do i have to run ubuntu-image as root ?22:39
mwhudsonit was working as me for a long time22:40
mupBug #1636229 opened: Allow programs to write hidden files in home directory <snapd-interface> <Snappy:Incomplete> <https://launchpad.net/bugs/1636229>22:42
cyphermoxmwhudson: +1 on the merge, thanks22:49
mwhudsoncyphermox: going to cut a release, do we want anything else?22:50
cyphermoxdon't think so22:51
cyphermoxmake sure to  make it without ~xenial22:51
cyphermoxonly change it after ;)22:51
mwhudsonyeah ok :)22:51
cyphermoxie. the real tag shouldn't have a tilda, etc. etc.22:51
mwhudsonok uploading to zesty22:52
mwhudsonand the ppa22:54

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