/srv/irclogs.ubuntu.com/2019/12/18/#snappy.txt

=== diddledan4 is now known as diddledan
mupPR snapd#7917 closed: snap-bootstrap: trigger udev for new partitions <UC20> <Created by cmatsuoka> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7917>05:03
mupPR snapd#7919 closed: snapstate: do not try up update bootloader in ephemeral mode <UC20> <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/7919>05:32
mupPR snapd#7920 closed: snapstate: do not try to detect rollback in ephemeral modes <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7920>05:32
mupPR snapd#7929 opened: boot: always return the trivial boot participant in ephemeral mode <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7929>05:32
ctOSHi. Iโ€™ve installed Firefox via Snap on Fedora 31. Iโ€™ve go a 4K display. The mouse cursor is really small inside the Firefox window and the UI font is monospace. Any ideas on how to fix it?05:53
mvohey ctOS, we have some people that might be able to help but it's a bit early in their timezone, the should be around in 2-3h here, might be worth checking in again then05:58
mupPR snapd#7923 closed: snap-bootstrap: mount filesystems after creation <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7923>06:12
mborzeckimorning06:33
mvohey mborzecki06:41
mborzeckimvo: hey06:46
mvomborzecki: how are you?06:46
mborzeckimvo: good, i see you've been landind stuff since 6am? :)06:46
mvomborzecki: yeah, deadlines :/06:46
mvomborzecki: but good progress, so I'm quite happy06:46
mupPR snapd#7930 opened: run-checks: complain about MATCH -v <Simple ๐Ÿ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7930>07:03
mvomborzecki: \o/07:03
mupPR snapd#7928 closed: boot,overlord: introduce internal abstraction bootState and use it for InUse/GetCurrentBoot <UC20> <Created by pedronis> <Closed by pedronis> <https://github.com/snapcore/snapd/pull/7928>07:13
mupPR snapd#7931 opened: boot: write compat UC16 bootvars in makeBootable20RunMode <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7931>07:23
mvomborzecki: hahaha - 7930 seems to be working!07:24
mvomborzecki: it's *failing* and it looks like the failure is real \o/07:25
* mvo hugs mborzecki 07:25
mborzeckimvo: hah, looks like i haven't updated my master before pushing the branch07:26
mborzeckiat least we know it works ;)07:26
mvomborzecki: it's a new thing, I think it got pulled in last night/yesterday07:26
mvomborzecki: so really cool that we already found a new incorrect use of this07:26
mupPR snapd#7913 closed: boot,bootloader: extract kernel in makeBootable20RunMode  <UC20> <โ›” Blocked> <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/7913>07:28
mupPR snapd#7908 closed: [RFC] boot,devicestate: update modenv and extract kernel <UC20> <Created by cmatsuoka> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/7908>07:50
mupPR snapd#7932 opened: devicestate: request reboot after successful doSetupRunSystem() <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7932>08:01
mvoI think that was the last uc20 PR to make seeding work08:04
* mvo double checks with the WIP branch08:04
pstolowskimorning08:05
mvohey pstolowski08:05
pedronismvo: hi, ah, you closed 7913,  do we still need to extract the kernel?08:07
mvopedronis: not for the cheat we do08:09
mvopedronis: when we go all the way to uc20 single-kernel name we just revert https://github.com/snapcore/snapd/pull/793108:10
mupPR #7931: boot: write compat UC16 bootvars in makeBootable20RunMode <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7931>08:10
pedronismvo: what grub.cfg do we use now?08:10
pedronisfor run08:10
mvopedronis: the one from uc1608:11
mvopedronis: with updated label, it's in the 20/edge channel of pc08:11
pedronisah08:11
mvopedronis: https://github.com/snapcore/pc-amd64-gadget/blob/20/grub.cfg-normal08:11
pedronisthat's the part I didn't understand, we use the new label?08:11
mvopedronis: correct, we use "set label=ubuntu-data"08:11
mvopedronis: and we also set snapd_recovery_mode=run08:12
pedronisok08:12
mvopedronis: beside that it's unchanged because we can reuse the grubenv08:12
pedronismvo: I actually made good progress refactoring boot but there was some preexisting messiness that also needs to be cleaned up08:12
pedronisalso I (re)discovered but BootParticipant probably only need SetNextBoot08:13
pedronisour current code is kind of slightly silly in various ways08:13
mvopedronis: heh, great!08:13
mvopedronis: I also have good news, xnox saw a fully seeding system last night08:13
mvopedronis: with my core20-wip branch based snapd snap08:14
pedronisgreat08:14
pedronismvo: btw, when it doesn't annoy current PRs can we move MakeBootable etc to mkbootable.go08:14
mvopedronis: sounds great08:14
pedronisboot.go is not big, but is a bit of a kitchen sink atm08:14
mvopedronis: lol - it surely is!08:15
pedronisand I'm adding more to it in my PRs08:15
mborzeckipstolowski: pedronis: hey08:19
mborzeckihttps://github.com/snapcore/snapd/pull/7906 needs a 2nd review and we can land it08:20
mupPR #7906: o/devicestate,o/snapstate: move the gadget.yaml check <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/7906>08:20
mupPR snapd#7907 closed: snap-bootstrap: append new partitions <UC20> <Created by cmatsuoka> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7907>08:21
mupPR snapd#7933 opened: snapd.core-fixup.sh: do not run on UC20 at all <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7933>08:39
mvook - that was really the last one I think08:39
ctOSHi. Iโ€™ve installed Firefox via Snap on Fedora 31. Iโ€™ve go a 4K display. The mouse cursor is really small inside the Firefox window and the UI font is monospace. Any ideas on how to fix it?08:44
mborzeckictOS: is that a wayland session?08:47
ctOSmborzecki: no, x11 kde08:48
ctOSlooks the same in gnome, though.08:48
mborzeckictOS: you can try that for the fonts https://forum.snapcraft.io/t/snapped-app-not-loading-fonts-on-fedora-and-arch/12484/2408:51
mborzeckictOS: but the cursor thing is weird, probably some trouble accessing the x11 cursor or it's not picking up dpi correctly08:52
ctOSthe mouse cursor looks different (like the default one on Windows, schmaybe) but its also half the normal size (which is more of a problem.08:53
mborzeckictOS: sounds like this problem: https://forum.snapcraft.io/t/small-cursor-in-snap-apps-on-hidpi-display/5220 maybe the snap was not fixed08:54
ctOSmborzecki: deleting the fontcache didnโ€™t fix the fonts. fonts have loaded for me, but its an unexpected monospace font everywhere.08:56
mborzeckictOS: you can try to run this: `snap run firefox --shell` and then `fc-match 'sans serif'` (or what is the kind of typeface that you expect)08:58
ctOSmborzecki: /var/lib/snapd/snap/firefox/287/bin/desktop-launch does not contain this line https://github.com/ubuntu/snapcraft-desktop-helpers/commit/da4d8f878eaeb40c1788789cd034b7142f7d674908:59
ctOSso it appears not to have received that fix.08:59
ctOSmborzecki: what does --shell do? should I get a new shell or something to run the second command?09:02
mborzeckipopey: ^^ anyone can file this with mozilla?09:04
mborzeckictOS: it starts a new shell with the same system view as snap has09:04
pstolowskilooking at https://github.com/snapcore/snapd/pull/790609:05
mupPR #7906: o/devicestate,o/snapstate: move the gadget.yaml check <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/7906>09:05
ctOSmborzecki: I donโ€™t see anything opening other than firefox when I run it.09:06
mborzeckictOS: duh, `snap run --shell firefox` sry09:07
ctOSmborzecki: running it in that shell I get "bash: fc-match: command not found". works in the normal shell and returns DejaVu Sans.09:08
ctOSmborzecki: fc<tab> in the Snap shell suggests "fc fc-cache-v6  fc-cache-v7"09:09
mupPR snapd#7934 opened: o/ifacestate,o/devicestatate: merge gadget-connect logic into auto-connect <Created by pedronis> <https://github.com/snapcore/snapd/pull/7934>09:11
pedronispstolowski: ^09:12
pstolowskipedronis: thank you09:12
pstolowski#7906 +109:16
mupPR #7906: o/devicestate,o/snapstate: move the gadget.yaml check <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/7906>09:16
pedronisthx09:16
mborzeckictOS: had to do some local tweaking, try this in the snap shell: https://paste.ubuntu.com/p/wTw2SG4Pgz/09:16
mborzeckictOS: returns the same font inside and outside of snap shell here on arch09:17
ctOSmborzecki:  no go, $SNAP is empty09:18
ctOSoh, /var/lib/snapd/snap/09:19
mborzeckictOS: you need to do `snap run --shell firefox` and then run those lines inside that shell09:20
mborzeckictOS: outside of snap shell you can simply run `fc-match <your-typeface>`09:21
mupPR snapd#7906 closed: o/devicestate,o/snapstate: move the gadget.yaml check <UC20> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7906>09:21
ctOSmborzecki: I just realized that. different output. one sec09:21
ctOSmborzecki: FreeMono.ttf: "FreeMono" "Regular"09:22
ctOSmborzecki: plus these errors https://paste.ubuntu.com/p/Smsh2ZP9sT/09:23
ctOSmborzecki: outside snap shell itโ€™s: DejaVuSans.ttf: "DejaVu Sans" "Book"09:23
pedronisdegville: I looked at your last tweaks to the intro to Assertions, +1, thank you09:25
pedronisdegville: as I said we should also port that to the glossary09:26
degvillepedronis: will do, thanks for the review.09:26
popeymborzecki: I'd ping kenvandine or oSoMoN for Mozilla things09:32
mborzeckiheh, firefox has no contact info either, no clue where users can report any problems09:34
mborzeckioSoMoN: kenvandine: can you ping mozilla to include the fix for cursors: https://forum.snapcraft.io/t/small-cursor-in-snap-apps-on-hidpi-display/5220/6 ?09:36
mborzeckictOS: can you run fc-match inside the snap shell but with FC_DEBUG=4 this time and post the output somewhere?09:37
ctOSmborzecki: here you go https://paste.ubuntu.com/p/t995Sm9H8G/09:41
mborzeckictOS: hm that's surprisingly short, can you run `ls /usr/share/fonts/TTF/Deja*` inside the snap shell? does it list anything?09:48
ctOSmborzecki: no, but `/usr/share/fonts/dejavu/*` does.09:51
ctOSmborzecki: here is `ls /usr/share/fonts/*/*` https://paste.ubuntu.com/p/4X3VyqKF43/09:52
mvo7918 needs a second review, should be a simple one09:53
mborzeckictOS: ok, can you run `$SNAP/usr/bin/fc-cache -v` inside the snam the same way you ran fc-match (same LD_LIBRARY_PATH exports), check whether it picked up /usr/share/fonts/dejavu and run fc-match again?09:54
ctOSmborzecki: Re-scanning /usr/share/fonts: /usr/share/fonts: error scanning \n /var/cache/fontconfig: not cleaning unwritable cache directory \n /snap/firefox/287/usr/bin/fc-cache: failed09:57
mborzeckictOS: and if you run fc-cache -f -v ?10:00
ctOSmborzecki: https://paste.ubuntu.com/p/dpz4x3Q2VS/10:03
mborzeckictOS: not sure why it's not building the cache in $HOME/.config/fontconfig, but this is as far as my fontconfig knowledge goes, i would suggest opening a forum topic on https://forum.snapcraft.io with a screenshot, make sure to include the output from fc-match10:05
mborzeckiperhaps someone from the desktop team will have ideas10:06
ctOSmborzecki: I tried `sudo setenforce 0` on a hunch, but made no difference. `$HOME/.config/fontconfig` is also empty outside the snap shell.10:12
mborzeckictOS: afaik selinux wouldn't matter, you're probably running as unconfined_t anyway10:13
mborzeckimvo:  little tweak in https://github.com/snapcore/snapd/pull/7918#discussion_r35927511610:47
mupPR #7918: boot: copy kernel/base to data partition in makeBootable20RunMode <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7918>10:47
ctOSmborzecki: thanks for all your time and troubleshooting help!10:47
mborzeckictOS: np, these desktop things are ridiculously fragile10:48
mvomborzecki: in a meeting right now, feel free to tweak and push10:59
mupPR snapd#7935 opened: boot,overlord: introduce internal abstraction bootState and use it for InUse/GetCurrentBoot <Created by pedronis> <https://github.com/snapcore/snapd/pull/7935>11:03
pedronismvo: mborzecki: Chipac: ^11:04
pedronisChipaca: ^ (sorry)11:04
Chipacapedronis: ack11:04
pedronisChipaca: it touches policy, also with new InUse internals it should be easier to attack the TODO in policy about it, I haven't done so yet though11:05
mvopedronis: yay!11:06
Chipacapedronis: nice11:08
pedronismvo: there is more to it (wip), but that's already quite big and slightly convuluted, though I think the direction is good, apart some complexity a bit not related to the main changes11:08
mvopedronis: ok, I will look at it today11:09
mvopedronis: my uc20 bits are all proposed now so I should have time11:09
mvo(still want to start with spread stuff though)11:09
pedronismvo: I think if the plan works as I see it, implementing boot state for run for UC20 on top of this, once we understand what we want and grub.cfg, should be a couple of days11:10
mvopedronis: amazing! let's aim for this before CPT11:11
mvopedronis: should I add uc20 to 7935?11:15
pedronismvo: yes11:22
mvodone11:24
* pstolowski lunch11:29
vidal72[m]mborzecki: fyi there was a lot of changes done to firefox like update to core18 recently however they are available only in beta channel atm and probably will be in 72 stable release11:50
vidal72[m]https://hg.mozilla.org/mozilla-central/rev/606408df5b4d712c7bf4e80621dd145f1cd8294011:50
vidal72[m]pstolowski: what security implications? User can install snap with --dangerous, devmode, can disable apparmor on system but can't add permission to snap...11:53
vidal72[m]mborzecki: also bugs in ff snap should go to bugzilla afaik11:56
mupPR snapd#7929 closed: boot: always return the trivial boot participant in ephemeral mode <UC20> <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7929>12:20
pedronismborzecki: https://github.com/snapcore/snapd/pull/7921/commits/46fe5b30aba428f85c94f77e659c7aa508b12e00  also UC20 is not a reason not to have unit tests if they make sense (we might have UC20 todos about going incremental, but testing is important)12:23
mupPR #7921: devicestate: run boot.MakeBootable in doSetupRunSystem <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7921>12:23
mborzeckipedronis: the travis job is already running, but i can open a follow-up PR adding those tests12:27
pedronismborzecki: there are tests12:27
pedronismborzecki: that link points to tests12:27
pedronisam I super confused ?12:27
pedronismvo added them12:27
mvopedronis: uh, maybe I mixed something up12:28
mborzeckipedronis: right, thought you're referencing to the comment i made about special casing when there's no base in the model12:28
* mvo will check later, lunch first12:28
pedronismborzecki: ah, I misunderstood12:29
pedronismborzecki: at test would be good for that12:29
pedronismborzecki: I thought you were referring the whole function12:29
mborzeckipedronis: no worries, if the current job is successful we may land it and i'll open a PR adding that missing bit12:29
mborzeckipstolowski: can you take a look at https://github.com/snapcore/snapd/pull/7930 ?12:45
mupPR #7930: run-checks: complain about MATCH -v <Simple ๐Ÿ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7930>12:45
mborzeckipstolowski: and while at it, maybe this one too: https://github.com/snapcore/snapd/pull/792212:46
mupPR #7922: packaging, tests: stop services in prerm <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7922>12:46
mupPR snapd#7936 opened: tests: unmount automounted snap-bootstrap devices <Simple ๐Ÿ˜ƒ> <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/7936>12:55
kenvandinemborzecki, popey, oSoMoN:  that should be fixed in beta13:10
mborzeckikenvandine: good to know, thanks!13:10
mborzeckictOS: ^^13:10
kenvandineMozilla has updated the snap to use the gnome-3-28 extension in beta13:11
kenvandineand core1813:11
kenvandinei haven't tried it yet though13:11
mborzeckihm maybe the fonts problem will go away too then13:11
pstolowskividal72[m]: hey, i meant people trying to connect random slots to get such snap working, copying random snap connect receipes from the internet without realizing what they are doing etc. snap can be broken in many ways, missing slot is just one of them. if publisher is not cooperating and fixing/keeping his snaps updated, then it's a bad publisher. but feel free to open a forum topic, it's just my personal view13:12
abeatomvo, hey, are proxy settings actually applied for 'snap download'? It seems to work for 'snap install', but not when downloading13:15
pstolowskimborzecki: will do13:16
mupPR snapd#7930 closed: run-checks: complain about MATCH -v <Simple ๐Ÿ˜ƒ> <Created by bboozzoo> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/7930>13:18
mborzeckipstolowski: thanks13:20
mupPR snapd#7937 opened: boot,o/snapstate: SetNextBoot/LinkSnap return whether to reboot, use the information <Created by pedronis> <https://github.com/snapcore/snapd/pull/7937>13:53
ijohnsonmorning folks13:57
mupPR snapd#7858 closed: tests: also check nested lxd container <Test Robustness> <Created by anonymouse64> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7858>14:00
=== ricab is now known as ricab|lunch
ijohnsonwho manages mup? I noticed the other day that when a new issue is created in a github issue such as in pc-amd64-gadget repo, the link that mup posts is wrong, it has "github.com/<org>/<repo>/issue/<num>" when it should be "github.com/<org>/<repo>/issues/<num>"14:57
pstolowskiijohnson: Gustavo14:59
ijohnsonniemeyer: can you change the links that mup outputs for new github issues filed? see my previous comment above, thanks15:00
ijohnsonthanks pstolowski15:00
* cachio lunch15:02
mupPR snapd#7918 closed: boot: copy kernel/base to data partition in makeBootable20RunMode <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7918>15:06
mupPR snapcraft#2848 opened: common: generate run scripts which can execute independently <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2848>15:11
pedronismborzecki: mvo: +1 to #7921 but the extra suite field is probably not needed15:23
mupPR #7921: devicestate: run boot.MakeBootable in doSetupRunSystem <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7921>15:23
niemeyerijohnson: Ah, sure, thanks. Do you have a sample message?15:24
ijohnsonniemeyer: sure I saw one yesterday I think, let me look15:24
ijohnsonmup> Mup Pet Issue pc-amd64-gadget#30 opened: Git tags and versioning <Created by eslopez92> <https://github.com/snapcore/pc-amd64-gadget/issue/30>15:25
mupIssue pc-amd64-gadget#30: Git tags and versioning <Created by eslopez92> <https://github.com/snapcore/pc-amd64-gadget/issue/30>15:25
ijohnsonniemeyer: ^15:25
niemeyerThanks!15:27
ijohnsonnp, happy to help15:28
niemeyerpc-amd64-gadget#3015:29
mupIssue pc-amd64-gadget#30: Git tags and versioning <Created by eslopez92> <https://github.com/snapcore/pc-amd64-gadget/issue/30>15:29
mvopedronis: thanks! I can kill it15:32
mborzeckimvo: maybe land the PR and cleanup in a followup?15:34
mborzecki(it's green right now)15:34
mvomatiasb_: works for me15:38
mvomborzecki: works for me15:38
mvomatiasb_: sorry, wrong tab-complete15:38
mvomborzecki: in a meeting right now, feel free to take it if its trivial and you have cycles otherwise I will in a bit15:39
pedronismvo: +1 to #7931 with some comments, let me know if they are unclear15:48
mupPR #7931: boot: write compat UC16 bootvars in makeBootable20RunMode <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7931>15:48
=== ricab|lunch is now known as ricab
mvopedronis: thanks! looking15:51
pstolowskipedronis: updated #768615:52
mupPR #7686: systemd: handle preseed mode <Preseeding ๐Ÿž> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7686>15:52
pedronispstolowski: thx, I'll try to look at it in a bit15:52
mupPR snapd#7921 closed: devicestate: run boot.MakeBootable in doSetupRunSystem <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7921>15:52
mvopedronis: comments make sense I think, will fix in a wee bit15:53
mupPR snapd#7938 opened: devicestate: advoid adding mockModel to deviceMgrInstallModeSuite <Created by mvo5> <https://github.com/snapcore/snapd/pull/7938>16:03
mupPR snapd#7936 closed: tests: unmount automounted snap-bootstrap devices <Simple ๐Ÿ˜ƒ> <UC20> <Created by cmatsuoka> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/7936>16:06
mupPR snapd#7939 opened: boot,o/devicestate: refactor MarkBootSuccessful over bootState <Created by pedronis> <https://github.com/snapcore/snapd/pull/7939>16:20
pedronismmh, conflicts16:20
cmatsuokaanyone else getting schedule test errors in master?16:22
cmatsuokainvalid  distance for schedule "mon1-tue2,10:00" with last refresh "2017-02-06 10:00", now "2017-02-07 11:00", expected 647h-647h, got 648h0m0s, date 2017-03-06 10:00:00 -0300 -0316:23
cmatsuokalunch, bbi30min16:26
pedronispstolowski: did anohter pass on #7686, some small issues16:42
mupPR #7686: systemd: handle preseed mode <Preseeding ๐Ÿž> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7686>16:42
pstolowskipedronis: thanks. yes, i can't believe pre-bake was still lurking, grr16:43
mvovery silly question - I'm writing a spread test right now and I get dropped into a debug/fail shell in spread when I run "REBOOT" with exitcode 21316:46
mvohm, maybe my spread git is too old16:46
* mvo update to latest master16:47
mvocachio: we will need to drive google vms very soon in a way that enables uefi (maybe it is already enabled even?). do you think you could have a look what (if anything) we need to do to get a machine that has uefi enabled?16:49
cachiomvo, I'll read a bit the documentation16:58
mvota16:58
cachioso far uefi should not be enabled16:58
mvocachio: ok17:02
mvocachio: will enable require a spread change?17:02
cachiomvo, I think we will need to update spread17:02
cachiomvo, yes17:02
cachiothe change is simple because it is a parameter when the instance is created17:03
cachioI'll imeplmeent the change, is is a new parameter in the system17:04
pstolowskipedronis: updated, thanks again17:06
mvocachio: ta17:06
cachiomvo, there is also a way to create the image with that enabled by default17:17
cachioI think this option is betetr17:18
mvocachio: nice!17:21
mvocachio: I did something hackish for qemu https://github.com/snapcore/spread/compare/master...mvo5:spread-with-uefi?expand=117:21
mvocachio: and here is my hackish https://github.com/snapcore/snapd/commit/747d06a62deb5069a5ea695b03615a29d2e8bba9 (it's part of https://github.com/snapcore/snapd/compare/master...mvo5:core20-wip-2-spread?expand=1 which merges all of my uc20 prs) but it's not working yet but might be interessting to run against a google backend with uefi (not working because of qemu spread backend17:22
cachiomvo, on gce there are 2 ways17:22
cachiofor customized images like ours17:22
cachioit is possible to define is during their creation17:22
mvocachio: cool17:22
cachiofor predefined images during creation of the instance17:23
mvocachio: I get dinner now, will check back in a bit17:23
cachiosure17:23
mvocachio: also very strane, looks like the ubuntu-16.04-64 image does not boot in my uefi qemu, so I changed the core20 base (that does the reflash) to 18.04 locally17:26
* mvo is really off now17:26
cachiomvo, is it needed virtualization enabled on that image?17:31
pstolowskieod. happy holidays pedronis !17:35
pedronispstolowski: thx17:35
pstolowskicu17:36
mupPR pc-amd64-gadget#31 opened: grub.cfg: switch to new style kernel_status failover handling <Created by anonymouse64> <https://github.com/snapcore/pc-amd64-gadget/pull/31>17:47
mvocachio: this does not need anything special beside uefi, it's the same style of test as uc16/uc18 in spread17:52
cachiomvo, I am creating an image17:53
mvocachio: cool! thanks17:53
cachiomvo, ubuntu 18.0417:53
cachioshould be ready in 5/10 minutes17:53
mvocachio: once you have a name, please let me know and I update my spread config. no rush, I will probably work on this full steam in my morning17:53
mvobut not that much tonight17:54
mupPR snapd#7933 closed: snapd.core-fixup.sh: do not run on UC20 at all <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7933>17:58
cachiomvo, you can use image: ubuntu-1604-64-uefi-enabled17:58
mvocachio: \o/ thanks17:58
cachiodo you need an image for xenial as well?17:58
cachiomvo, sorry17:59
cachiohte image is -> image: ubuntu-1804-64-uefi-enabled17:59
cachioxenial is not created yet17:59
mvocachio: ubuntu-18.04-64 or 1804 ?17:59
mvocachio: I don't need the 1604 I think17:59
cachiomvo, you should add this to the spread.yaml18:00
cachio            - ubuntu-18.04-64-uefi-enabled:18:00
cachio                image: ubuntu-1804-64-uefi-enabled18:00
cachiothat works for me18:00
mvocachio: cool, trying now18:00
mvocachio: it may hang on reboot, so be prepared to kill a machine :/18:01
cachiomvo, nice18:01
mvocachio: I don't think the reboot stuff is fully debugged yet18:01
cachiomvo, no problem18:01
mvocachio: ta18:01
cachiodo you have a name?18:03
cachiofor the instance?18:03
cachiomvo, I can share the serial output18:04
mvocachio: one sec, let me find it18:04
* cmatsuoka very curious about the results18:06
cachiomvo, did it work?18:19
mupPR snapd#7940 opened: boot: implement SetNextBoot in terms of bootState.setNext <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/7940>18:20
mvocachio: no, it looks like it does not connect18:40
cachiomvo, I could connect18:43
cachioand open a shell device18:43
cachiothere18:43
mvocachio: is it still in 18.04?18:43
mvocachio: I asked it to reboot to reflash18:43
cachiomvo, https://paste.ubuntu.com/p/VkXVV9s38J/18:44
cachiothis is that validation which I ddi18:44
cachiodid18:44
mvocachio: aha, ok18:44
cachio            - ubuntu-18.04-64-uefi-enabled:18:45
cachio                image: ubuntu-1804-64-uefi-enabled18:45
cachiousing this configuration in the spread.yaml18:45
mvocachio: yeah, this works, just my core20 test is not yet working18:46
mvocachio: you may need to kill the instance18:46
mvocachio: aha, I think it got killed now18:46
mvocachio: spread timed out18:46
cachiodo you have the name of the instance?18:46
cachiomvo, it is automatically killed after 1h30m aprox18:47
cachioin case it is not automatically discarded18:47
cachiobe spread18:47
mvook18:48
mvothanks18:48
mupPR snapd#7932 closed: devicestate: request reboot after successful doSetupRunSystem() <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7932>18:48
* cachio afk19:21
mupPR snapd#6108 closed: many: apparmor support for non-AA rpm distros <:birthday:> <Decaying โ˜ข> <Created by jdstrand> <Closed by jdstrand> <https://github.com/snapcore/snapd/pull/6108>19:22
mupPR snapd#7941 opened: snap-bootstrap: read only stdout when parsing the sfdisk json <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7941>19:58
cmatsuokamy link is very spotty this afternoon :(19:58
cmatsuokacouldn't reach github, let's see if it's stable now...19:59
mvocmatsuoka: once it's back would be great if you could check if we regressed since this morning20:15
mvocmatsuoka: re uc2020:15
mvocmatsuoka: with master+PR#7931 it should still work20:15
cmatsuokamvo: will check that now, just a sec20:16
mvocmatsuoka: no rush20:16
mvocmatsuoka: with https://github.com/snapcore/snapd/compare/master...mvo5:core20-wip-2-spread?expand=1 eventually (still a lot of open issues) we can automate this20:16
mvocmatsuoka: but it needs the kernel on edge first20:17
cmatsuokaI want to check out that branch before I lose internet again :)20:17
mvocmatsuoka: and we need 7931 in master20:17
mvocmatsuoka: and then *maybe* it will work in google (qemu backend needs a patch in spread)20:17
mvocmatsuoka: meh, it won't work because xnox needs to finish shutdown first, that hangs right now20:18
mvocmatsuoka: but we are kinda close :)20:18
mvo(ish)20:18
mvomaybe close is overstating it20:18
cmatsuokaPft, "This site canโ€™t be reached - github.com refused to connect."20:19
cmatsuokaIt looks like some cgnat proxy mess, but it affects two different ISPs20:20
cmatsuokavery strange20:20
cmatsuokaok, #7931 checked out20:23
mupPR #7931: boot: write compat UC16 bootvars in makeBootable20RunMode <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/7931>20:24
mupPR snapd#7942 opened: Nvidia driver microversion <Created by zhuker> <https://github.com/snapcore/snapd/pull/7942>20:44
* cachio afk20:46
cmatsuokamvo: is master+7931 supposed to work to the end of install stage without manual intervention?20:48
cmatsuokamvo: does it also require changes in the initramfs side? because for me it worked like the previous one, i.e. needs help to create partitions20:49
cmatsuoka(using current core, gadget and kernel snaps)20:49
cmatsuokalet's see what's in 7931...20:49
mwhudsonhow is parallel installs for classic snaps coming along?20:51
mupPR snapcraft#2849 opened: rust plugin: split RUSTUP_HOME and CARGO_HOME <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2849>21:12
ijohnsonmwhudson: o/ it should be working in edge at least, possibly even stable IIRC21:19
ijohnsonstill experimental however21:20
mwhudsonijohnson: oh!21:20
mupPR snapd#7938 closed: devicestate: avoid adding mockModel to deviceMgrInstallModeSuite <UC20> <Created by mvo5> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/7938>21:20
ijohnsonmwhudson: ah actually looks like it will be next stable I think, so 2.4321:23
mwhudsonijohnson: so snap refresh --beta core and i can try it?21:23
ijohnsonmwhudson: yes21:24
ijohnsonI have been using it the past few weeks with your go snap to much delight :-)21:24
ijohnsonnote that aliases don't work, so you need to unalias things before the go snap specifically works21:24
mwhudsonijohnson: heh that's why i was asking21:24
mwhudsonah21:24
mwhudsoni wanted to tweet about installing go 1.14 beta in parallel to stable21:25
mwhudsonis there a plan for making aliases work more smoothly?21:25
ijohnsonmwhudson: https://github.com/snapcore/snapd/pull/7302#pullrequestreview-31022545821:25
mupPR #7302: cmd/snap-confine: add support for parallel instances of classic snaps, global mount ns initialization <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7302>21:25
ijohnsonnot on the immediate roadmap unfortunately21:25
mwhudsonok21:25
ijohnsonit's the kind of thing I think is a bit difficult to "do the right thing" automatically, but it's at least a known limitation21:26
mwhudsonyeah i didn't actually think about it at all before asking that question :)21:26
ijohnson:-)21:27
mwhudsonijohnson: https://twitter.com/mwhudson/status/120741347840467353621:33
ijohnsonmwhudson: nice ๐Ÿ‘21:33
mwhudsonah ffs typo21:33
ijohnsonahhh haha21:33
ijohnsonI see it now too21:33
mwhudsondeleted and reposted21:34
ijohnsonmwhudson: did you try with beta core? or only edge?21:34
ijohnsonAFAIK it should be in beta21:34
mwhudsonijohnson: yeah, beta21:34
mwhudsonoh i put edge in the tweet21:35
mwhudsonoh well21:35
mwhudsonnot going to delete it again for that :)21:35
* ijohnson feels nervous having folks switch to snapd edge but it's just twitter so oh well21:35
pedronismwhudson: we discussed the idea that for things that are not the main instance, they would install --unaliased by default. We would also add snap install --prefer to force using the aliases if one wants to21:49
mwhudsonpedronis: yeah just not setting up aliases for the non-default one seems reasonable on the face of it21:50
xnoxijohnson:  i've been on edge channel for months now, since had to work on uc20 =/23:17
mupPR snapd#7931 closed: boot: write compat UC16 bootvars in makeBootable20RunMode <UC20> <Created by mvo5> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/7931>23:29
* ijohnson pours one out for xnox's computer 23:33
* ijohnson also builds a monument to xnox's computer for all the hard work on uc20 :-)23:39
* cmatsuoka frustrated with the unstable internet here today, maybe it's better after dinner...23:54
cmatsuokabbl23:54

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