/srv/irclogs.ubuntu.com/2020/03/27/#snappy.txt

zygaHello06:13
zygamborzecki: today is the switch day06:43
mborzeckizyga:  hey06:44
mborzeckizyga: 'the switch day' ?06:44
zygaHi :-)06:44
mborzeckifrom/to what?06:44
zygaCheck my PRs06:44
jameshsnaps on the Nintendo Switch?06:44
mborzeckihahah ;)06:44
zygaHaha06:44
zygaThat would be fun06:44
mborzeckizyga: didn't look yet, responding to some posts in the forum06:44
zygaOk06:45
zygaI’m on a walk06:45
zygaWill start as usual06:45
zygajamesh: but I want to mention something06:48
zygaImagine if we embedded desktop metadata in an early block in each snap06:48
zygaName, icon, etc06:48
jameshcan you meaningfully control order in the squashfs?06:50
jameshor are you thinking of something outside of the squashfs structure?06:51
zygaOutside06:52
zygaYou can make the FS leave a hole up front06:52
zygaIt could be the same data we have later06:52
zygaBut easier to extract for preview06:52
jameshSo this would just be for the case of a user browsing a snap file in Nautilus?06:54
zygaFor the most part06:54
jameshfor installed snaps, we can just go through the mount point, and stuff in the store we can depend on store APIs06:54
zygaWell, I would love not having to mount unused snaps06:55
zygaImagine we have 100s of revisions around06:55
zygaOr it is a phone again06:55
zygaYou run only some at a time06:55
zygaHaving access to metadata without mounting would be good06:55
zygaMounting is costly and racy06:56
jameshso, icons could be many files if the snap takes advantage of icon theming06:56
zyga(We still tracks bugs in loop back devices and mount races)06:56
jameshI could definitely see other metadata be interesting06:56
zygaYeah06:56
zygaI’m not super keen on theming.06:57
zygaI see this as a small container06:57
zygaA zip probably06:57
zygaEasy to discover and reas06:57
zygaRead*06:57
zygaThat has some sort of meta/ directory copy06:57
jameshthe icon theming is both to provide icons at multiple sizes and icons that look at home in different themes06:57
zygaI strongly believe in apps with curated icons that are never themed06:58
zygaSkype logo, ff logo06:58
zygaEtc06:58
zygaSo I’m not focusing on that06:58
jameshright, but you may still want a different shape for 16x16 vs. 512x51206:58
zygaWe could presumably have several icons and enough information to use them06:58
jameshremove details, align to pixel grid, etc06:59
zygaYes, agreed06:59
zygaI would love for snap list to. It have to mount snaps06:59
zyga*not06:59
zygaAnyway, just an idea06:59
zygaSome snaps would have to be mounted presumably07:00
zygaBut most would not IMO07:00
jameshthe current handling of desktop files and themed icons rely on copying data out of the snap during the install process07:00
jameshso could allow the shell to display launchers for snaps before they're mounted07:01
zygaSure but snapd heavily relies on access to snap metadata directory of each revision07:01
zygaYeah, that too07:01
zygaLike app image a little07:01
jamesh(e.g. if the mount was delayed until "snap run"07:01
zygaExactly!07:01
jameshYou're probably going to need to temporarily mount the snap during the install process anyway though, right?07:02
zygaDuring install yes07:02
zygaWell07:02
zygaMaybe07:02
zygaFor store snap not really07:02
zygaIf we have assertions I don’t see why we would have to07:03
zygaUnless they have hooks07:03
zygaMy point is that snapd would not need to anymore07:03
zygaSnap run would07:03
zygaSo that is transparent07:03
jameshzyga: while you're playing around with github actions, a spread problem matcher could be a good addition07:06
zygaOh yeah!07:07
jameshJump right to the errors in the log07:07
zygaIndeed07:07
=== mborzeck1 is now known as mborzecki
zygaI need to make spread and action anyway07:07
mborzeckizyga: so your basement data center is up and operational now? :)07:08
zygaTo handle post07:08
zygamborzecki: not required07:09
jameshI'm not sure we'd be able to link the errors to files, but at least it would recognise that there were errors in the log07:09
mborzeckibtw. now that spread is part of thw tests workflow, if one job fails we'll restart the whole forkflow right? unit tests and all07:09
jamesh(if the full file name isn't in the log message, then it's not there to extract via a regexp)07:10
zygaYeah we can do that07:10
mborzeckizyga: heh ok i see why you're doing this in #836307:14
mupPR #8363: github: combine tests into one workflow <Skip spread> <Created by zyga> <https://github.com/snapcore/snapd/pull/8363>07:14
mborzeckizyga: so we need the ability to restart single job in workflow or dependencies between workflows right (then spread workflow* would depend on unit tests succeeding)07:16
zygare07:18
zygamborzecki: that's already done07:19
zygamborzecki: restarting single jobs is coming in next actions release IIRC07:19
zygamborzecki: so we can just wait07:19
zygamvo: good morning07:19
zygaI love how our PRs that move workload from travis to github actions are blocked by travis07:19
mvozyga: good morning07:20
zygamvo: could you please look at 8362, 8364 and 836407:20
zygamvo: I think you will find there's a logical progression towards the result there07:20
zygamvo: this doesn't change the status quo yet, I'll make one shortly that does07:21
mvozyga: checkin07:21
zygamvo: switching off travis entirely in the process07:21
mvog07:21
zygathank you very much sir :)07:21
mupPR snapd#8362 closed: github: fix order of go get caches <Simple 😃> <Skip spread> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8362>07:26
* zyga politely asks for reviews of a +3,-2 PR: https://github.com/snapcore/snapd/pull/808907:27
mupPR #8089: features: enable robust mount ns updates <Created by zyga> <https://github.com/snapcore/snapd/pull/8089>07:27
mupPR snapd#8363 closed: github: combine tests into one workflow <Skip spread> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8363>07:27
zygamvo: jamesh gave me an idea, we could use a feature of github actions to spot errors in spread07:30
zygathere's a way to run a scanner over the log07:30
zygaand say "here, there is something interesting here'07:30
zygaand this is the label"07:30
zygawe could extract each error even without looking at the logs ourselves07:31
zygait requires some javascript to be written though07:31
zygaso not today07:31
zygabut it's totally doable and many actions use this07:31
jameshzyga: shouldn't require any javascript07:31
zygajamesh: oh?07:31
zygaIIRC most actions require that07:31
zygabut maybe I missed something07:31
zygaI need to use javascript anyway, to implement post: ...07:32
zygamvo: please check my comment on -abend07:32
jameshyou just need a json file containing the problem matcher, and you can issue a command to enable it with the appropriate "echo" incatation07:32
zygajamesh: but that requires a proper action07:32
jameshzyga: no07:32
zygaor are you saying this is something any run: ... thing can do?07:32
zygathat would be amazing, can you point me to any examples or docs for this?07:33
zygaI didn't know about this07:33
jameshall the javascript does is print a specially formatted command to stdout07:33
jameshlet me see07:33
mvojamesh: do you know if there is something like "fail-ok" like on travis? we have som eunstable systems that we consider failures to be ok but the summary on the /pulls list has a red "x" once one action fails07:33
jameshzyga: problem matcher json example: https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md07:33
jameshzyga: command to enable problem matcher: https://github.com/actions/toolkit/blob/master/docs/commands.md#problem-matchers07:33
zygaah07:34
zygathat's super useful07:34
zygathank oyu07:34
zygaI wonder what's that weird ::foo syntax they have07:34
zygaI've seen it used to set env variables07:34
zygabut I didn't find a reference of what else you can do07:34
jameshit's the syntax for steps to issue commands to the runner07:34
zygathank you :)07:35
jameshthere's similar stuff in Travis with different syntax07:35
jamesh(for e.g. reporting timing or folding sections of output)07:35
jameshThe main reason they push JS for reusable actions is because it is portable across linux, macosx, and Windows07:38
jameshIt doesn't actually have any special powers you can't do through a simple shell script "run:" step07:39
zygamvo: pushed07:40
zygajamesh: my view on that https://twitter.com/zygoon/status/124323949810176819207:40
jameshzyga: I did "snap install node"07:41
zygaI will try07:42
jameshactually, "snap install --channel 13/stable node"07:42
zygaI suspect I still need to get the million shitty dependencies from non07:42
zygaNpm07:42
jamesh--classic too, actually07:42
jamesheach project is going to install its own dependencies07:42
jameshthe same as go projects07:43
jameshthis is just the way the world works these days :-)07:43
zygaExcept go has a stdlib07:43
jameshso does node07:43
zygaMaybe go has a better one :-)07:43
zygaI meant almost 300 dependencies07:44
zygaEach one with a small lib07:44
jameshthe node one has some serious warts07:44
zygaYeah, I think node itself is just one big wart with smaller warts you can add on top :-)07:44
zyga(I don’t like that stack)07:44
jameshI'm not sure why the .deb version is pulling in so many dependencies07:46
jameshzyga: I'd recommend taking Github's typescript-action template and work from there07:48
jameshthat'll give you a working npm project with code reformatting and linting built in, plus TypeScript's type annotation checking07:49
jameshmakes things slightly less error prone07:49
zygaGood idea07:49
jameshThat's what I did, and then just pretended it was weird looking Python07:50
pstolowskimorning08:01
zygagood morning pawel08:04
mborzeckipstolowski: hey!08:06
mupPR snapd#8367 closed: cmd/snap: the model command needs just a client, no waitMixin <Simple 😃> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8367>08:24
mupPR snapd#8368 opened: github: goodbye travis <Created by zyga> <https://github.com/snapcore/snapd/pull/8368>08:37
zygamvo: heh08:48
zygamvo: spread without -v prints preparing, restoring08:49
zygaand executing too08:49
* zyga wonder if something is broken08:49
zygait's not any more quiet for sure08:49
pstolowskiwe need --quiet then :/08:51
mborzeckizyga: hm iirc -v only adds some extra bits about packing the tarball08:57
zygauh?08:57
zygaweird08:57
mvopstolowski: is 8270 ready? it's still mark blocked but got a +1 from samuele already?08:57
mborzeckiand -vv does the backend query dumps08:57
zygaso we need -q08:57
zygaor something like that08:58
pstolowskimvo: yes it's ready, it was only blocked because of endpoint name change (which was done). we can contemplate specializing some errors based on the list from Tony, but I think it can be a followup08:59
pstolowskimvo: and maybe it won't be needed (i haven't analyzed the list yet)09:00
mvopstolowski: ok, please remove the blocked label then and I will try to get to it later today (but tons of meetings)09:00
pstolowskimvo: sure, done09:01
pstolowskiand thanks\09:01
mvota09:02
zygaour static checks run slower than our unit tests09:06
zyganeeds some polish there09:06
zygamborzecki: check out 836809:27
zygastatic checks, then unit tests, then two canary spread runs (16.04 and core16) then all remaining stable spread systems then unstable (non-failing)09:28
mupPR snapd#8369 opened: boot, overlord/devicestate, daemon:  <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8369>09:42
mborzeckimvo: ^^09:42
mborzeckizyga: some static checks could be written in go linters, but hard to say whether that'd make them faster09:42
zygamborzecki: no, it's mostly silliness in how we run them09:42
zygamborzecki: we can make it near-instant09:43
zygamborzecki: need to decouple from run-checks monster09:43
mborzeckirun-monster-checks09:43
zygamborzecki: but not super priority, I wanted to switch over away from travis09:43
zygaso nobody has to wait09:43
zygathen we can polsh09:43
zygaso people are amazed that we didn't do it earlier09:43
zygaf... travis build failed again09:43
zygagoogle:debian-9-64:tests/main/interfaces-packagekit-control failed https://www.irccloud.com/pastebin/RJNxNY3y/09:44
zygaplease review https://github.com/snapcore/snapd/pull/8364 :)09:45
mupPR #8364: github: offload self-hosted workers <Created by zyga> <https://github.com/snapcore/snapd/pull/8364>09:45
mborzeckihmm spread-shellcheck could run the MATCH -v and multiline checks, and it's already parallel, so at least locally there could be a difference09:46
zygamborzecki: we need to break down big chunks into separate steps09:55
zygathen we see time09:55
zygathen we optimize09:55
zygathen we win09:55
zygamborzecki: we should aim to get both get better total throughput and responsiveness - I think careful decomposition, dependencies and not duplicating work gets us there09:56
zygaalso, not running things over and over and over and over and over again like often do09:56
zygabrb, need tissue, my nose is running like crazy (each spring the same story)09:57
zygasorry :|09:57
zygare10:19
zygaI'd like to merge https://github.com/snapcore/snapd/pull/836410:34
mupPR #8364: github: offload self-hosted workers <Created by zyga> <https://github.com/snapcore/snapd/pull/8364>10:34
zygato make my home network more compatible with home learning10:34
zygamvo: ^10:34
zygamborzecki: ^10:34
mvozyga: was in a meeting, looking10:41
zygata10:41
dot-tobiasare snapcraft forum notifications working for anyone here? I neither get push notifications in the browser, nor the email notifications. Didn't change my settings.11:00
mborzeckidot-tobias: they are11:04
mcphailHi. What plugs do I need to declare for access to /dev/uinput and /sys/bus/usb/devices/ ?11:06
zygamcphail: hello, currently nothing exposes /dev/uinput11:13
zygamcphail: as for /sys/bus/usb/devices therer are a few depending on what you need (read/write?)11:13
zygayou can use hardware-observe or raw-usb or a few others11:13
mcphailzyga: aargh. That's a shame. Trying to get sc-controller to run confined. I think I just need read to the usb devices11:14
zygasc-controller?11:14
zygamcphail: new interfaces can be added11:14
mcphailapp to get steam controllers running on non-steam games. Doesn't work on 20.04 because of no real python2 support11:14
zygaI'm trying to debug something now but if you leave us the details, ideally on the forum, a new interface can be crafted rather quickly11:15
mcphailWill do. Thanks zyga11:15
zygabrb11:55
mupPR snapd#8364 closed: github: offload self-hosted workers <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/8364>11:56
zygata!11:56
zygamvo: I will do more about gh actions over weekend11:56
zygamvo: but not today11:56
zygamvo: some preview is in that draft branch that has proper sequencing and no longer uses travis11:56
zygamvo: but I need to port misc stuff and improve things11:56
zygamvo: unless you say this is a priority11:57
popeymvo: you're right lzo compressed snaps get held for review. https://paste.ubuntu.com/p/Z7YnNPKd3h/12:16
zygare12:36
zygamborzecki: I want to add a parser for /proc/PID/cgroup12:41
zygamborzecki: shall the parser to to osutils and the high-level use to sandbox/cgroup?12:41
zygamborzecki: https://github.com/snapcore/snapd/pull/8369 has a weird title (empty)12:42
mupPR #8369: boot, overlord/devicestate, daemon:  <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8369>12:42
mborzeckizyga: hmm sandbox/cgroup feels like a better fit12:44
zygaspread feature I would kill for (not really): preserving history12:58
mvopopey: yeah, the review is expected, should be possible to manually override I hope13:27
mvozyga: not a priority, we need to make sure we also have the static tetss etc13:28
zygamvo: I ported static tests over, I need to port CLA check and some misc bits though13:28
mvozyga: nice13:29
* zyga figured out how to handle session-tool reliably, more so than before :)13:35
zygaha, and also for root user13:35
cmatsuokamborzecki: https://github.com/snapcore/snapd/pull/837014:54
mupPR #8370: snap-bootstrap: fix disk layout sanity check <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/8370>14:54
mupPR snapd#8370 opened: snap-bootstrap: fix disk layout sanity check <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/8370>14:54
mborzeckicmatsuoka: thanks!14:55
cmatsuokamborzecki: hopefully this will solve the issue and the crash-before-mkfs scenario as well14:56
mvozyga: https://bugs.launchpad.net/ubuntu/+source/xchat/+bug/1869332 is what I reported15:01
mupBug #1869332: Fails to launch correctly with gnome-shell in focal <xchat (Ubuntu):New> <https://launchpad.net/bugs/1869332>15:01
mvozyga: what bugreport did you see?15:01
zygamvo: the bug I ran into was different, it was locale dependent15:01
zygathe .mo file contained a translation that segvfaulted15:02
zygabut15:02
zygathe locale was different in the session and in the terminal somehow15:02
zygain the end I fixed that one, but that was years ago and I stopped using xchat since15:02
zygaoh well15:02
mupPR snapd#8371 opened: overlord/devicestate, daemon: record the seed current system was installed from <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/8371>15:07
* cachio lunch15:55
mborzeckicmatsuoka: just before i leave, some good news, the branch seems to work15:57
cmatsuoka\o/15:58
mborzeckicmatsuoka:  i was able to reboot form run to install again, get eveyrthing reinstalled and back to new run ;)15:58
cmatsuokagreat! thanks15:58
mborzeckicmatsuoka: thanks for the patch!15:59
mborzeckiand time to EOD15:59
cmatsuokalunch time for me, bbl15:59
* zyga tries to get stuff finished 16:13
zygano weekend yet :)16:13
ijohnsonzyga: could you quick re-review #8365 ? it would be great to get that in today16:21
mupPR #8365: seed: add Info() method for seed.Snap <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8365>16:21
zygasure16:21
ijohnsonthanks!16:21
zyga+116:22
zygabut red on travis :/16:22
ijohnsonyeah needs some travis wrangling16:22
zygamvo: one more suprpsing advantage of github actions - virtually no time limit16:23
zygamvo: jobs can run up to 72 hours IIRC16:23
ijohnsonwow that's both awesome and a bit scary16:24
mvozyga: woah16:31
zygamvo: ? :-)16:32
zygaah16:32
zyga;D16:32
zygayeah16:32
zygait was a surprise to me :)16:32
zygano more 50 minute death16:32
=== genii_ is now known as genii
mvozyga: yeah, very cool16:36
zygamvo: have we switched to the key for c20?17:45
zygacmatsuoka: do you know if systemd reads any configuration from EFI?17:45
zygastracing a random busctl tool revealed17:45
zygaopenat(AT_FDCWD, "/sys/firmware/efi/efivars/SystemdOptions-8cf2644b-4b0b-428f-9387-6d876050dc67", O_RDONLY|O_NOCTTY|O_CLOEXEC) = -1 ENOENT (17:45
zygait would be unfortunate if our secure boot + encryption scheme was foiled by a debug=1 in EFI var somewhere17:45
cmatsuokazyga: mm interesting17:45
zygacmatsuoka: do we measure EFI?17:45
zygaxnox: ^ FYI17:46
zygaanyway, now you know17:47
* zyga is back to digging17:47
cmatsuokait's measured, I believe17:47
xnoxzyga:  why are you pinging me?17:47
zygaxnox: sorry, you are someone who I associate with systemd knowledge17:48
xnoxzyga:  but what is your ping? it has no context, and no questions =)17:48
zygaah, sorry17:48
xnoxzyga:  just because i idle in the channel, i don't actually read it =)17:48
zygaxnox: the question is this, is there any EFI variable that could, unmeasured, defeat the encryption in core 2017:49
xnoxi just camp out for pings17:49
zygae.g. something that could give you systemd debug shell17:49
xnoxzyga:  nothing to do with me, is it?17:49
zygaor similar17:49
xnoxdebug-shell.service will not start, if measurements are bad17:49
zygathat's reassuring17:50
ijohnsonxnox: also didn't you just disable debug-shell entirely unless dangerous is on the cmdline ?17:50
zygathanks, I just bumped into this in a strace17:50
zygaand was surprised17:50
xnoxEFI firmware is measured, but currently is not part of the sealing policy => ask security about that17:50
xnox(i.e. we don't seal to it)17:50
xnoxijohnson:  yes17:50
ijohnsonright17:50
xnoxand we do seal keys to the cmdline measurement17:50
zygaright, I remember cmdline17:50
zygaI was worried that EFI is a hidden 'cmdline' that's not measured somehow17:51
zyga(EFI == EFI variables)17:51
mvozyga: I'm not sure what c20 is? uc20? and what key?17:52
zygacore 2017:53
zygamvo: the signing key for the kernel17:53
mvozyga: aha, not yet17:53
mvozyga: do you know what broken seed pawel was using?17:53
zygayes I do17:53
mvozyga: for bug https://bugs.launchpad.net/snapd/+bug/186870617:53
mupBug #1868706: Snapd postinst script hangs <snapd:Triaged> <dpkg (Ubuntu):Invalid> <systemd (Ubuntu):Invalid> <https://launchpad.net/bugs/1868706>17:53
zygamine :)17:53
mvozyga: nice, can you mail/make this available?17:53
mvozyga: trying to write a regression test right now17:53
zygacan I TG it?17:53
mvosure17:54
zygait's 350MB tarball17:54
mvowhatever works for you17:54
zygaand it's already on telegeram17:54
mvo*cough*17:54
zygadone17:54
zygacheck your TG please17:54
mvozyga: and I just unpack it over the existing /var/lib/snapd/seed ?17:54
zygaenjoy :)17:54
zygaI think so17:54
zygastop snapd17:54
zygastash your seed17:54
zygaunpack this17:55
zygaand marvel at the bugs17:55
mvozyga: nice17:55
mvozyga: if you have a system in that state, what do you see in snap changes?17:55
zyga(I would not overwrite your current seed)17:55
zygano, I don't17:55
mvozyga: do you actually see a failed seeding change?17:55
zygaI fixed it long ago :/17:55
mvozyga: ok, no worries17:55
zygayou see an endless list of seeding things17:55
zygaI forgot, pawel fixed that17:55
zygabut the broken seed was still, at the time, not allowing snapd do do anything else17:55
zygais there a shell set option that would quote strings?17:56
zygalike set -x17:56
zygaecho " surprise "17:56
zygaand see " surprise " back?17:56
mvozyga: hrm, I can't break the right way in my tests it's very annoying18:07
zygadid you break it at all?18:07
zygaas in did it get to a snapd that's not seeded?18:07
zygaremember you need to move your state aside too18:07
mvozyga: working with your state in a vm right now18:07
mvozyga: but what I mean is that I struggle right now with a spread test that breaks it18:08
mvozyga: I can break it but then the change is never in error state, it's very annoying18:08
zygajust to be clear: you are trying to reproduce this as a spread test?18:08
zygaif it helps you in any way18:09
mvozyga: yes18:09
zygaI just discovered a whole new layer of quoting in shell I never knew about18:09
mvozyga: without the need for a 350mb tarfile ideally :)18:09
zygasure18:09
zygado you know why the seed in that tarball is broken?18:09
mvozyga: not yet18:10
zygaI could remember wrong18:10
zygabut IIRC it was either wrong order18:11
zygaor missing base18:11
zygaor something like that18:11
zygawhat happens when you seed with it?18:11
zygawhat does snapd say?18:11
zygaand if I get hit by a bus18:11
zygafoo=" surprise "18:11
zygaecho "${foo@Q}"18:11
zyga(insert appropriate emoji)18:11
ijohnsoncmatsuoka: so we are entirely blocked on the latest uc20 changes18:28
ijohnsonnone of the uc20 spread tests can pass on travis18:28
ijohnsonI'm not sure which snap changed recently, but we need to revert something because master will be entirely red until it's fixed18:29
ijohnsoncc mvo if you're still around18:30
cmatsuokaouch18:30
mvoijohnson: hi18:31
ijohnsonhey18:31
mvoijohnson: uh, that's sad18:31
mvoijohnson: so all uc20 tests are failing right now?18:32
ijohnsonI'm looking into it now, and xnox said he's working on it18:32
mvoijohnson: thank you so much18:32
ijohnsonmvo: yes all uc20 tests fail because we can't get out of the initrd18:32
ijohnsonso basically the kernel snap is to blame here I guess18:32
mvoijohnson: so the rebuild of the kernel broke things? so our initrmafs-mounts may have changed in a way that broke it?18:33
ijohnsonmvo: we don't even get to the point where snap-bootstrap runs18:33
mvoijohnson: uh, woah18:33
ijohnsonmvo: xnox said that there's another kernel cmdline or something that needs to be added due to a newer systemd ?18:33
mvoijohnson: keep me updated, I have dinner and check back18:33
ijohnsonI'm looking into building with an older ubuntu-core-initramfs instead of what's currently there18:34
ijohnsonokay so the version of ubuntu-core-initramfs that went into pc-kernel 431 is fine, the problem is when we re-pack the initrd we use the ubuntu-core-initramfs from the archive, which is newer and has the problem18:36
cmatsuokaijohnson: did you see this happening on a local boot?18:36
ijohnsoncmatsuoka: yes I can reproduce18:36
ijohnsonif you do like the repack-kernel script from maciej does and use the skeleton of the initramfs from the ubuntu-core-initramfs package that exists right now, you will be broken18:37
cmatsuokamm, so we can use an older version when we repack and we don't need to wait for a fix?18:37
ijohnsonI am going to try and look into a way to fully extract the skeleton from the kernel snap instead of the using the one from the distro package18:37
ijohnsonyes an older version of ubuntu-core-initramfs package is what we need to boot with18:38
cmatsuokaok thanks ian18:38
cmatsuokado you need any help/assistance there?18:38
ijohnsonI'm good for now I think, but thanks for the offer18:39
* ijohnson also needs to get lunch soon18:39
mupPR snapcraft#2996 opened: requirements: uprev mypy to 0.770 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2996>18:41
mupBug #1867090 opened: IBus 1.5.21 Chinese input in Ubuntu 19.10 not working with Atom 1.45.0 as snap <chinese> <Snappy:New> <ibus (Ubuntu):Confirmed> <https://launchpad.net/bugs/1867090>18:51
mupBug #1867090 changed: IBus 1.5.21 Chinese input in Ubuntu 19.10 not working with Atom 1.45.0 as snap <chinese> <ibus (Ubuntu):Confirmed> <https://launchpad.net/bugs/1867090>18:54
* zyga EOWs19:24
xnoxijohnson:  why are you using a different ubuntu-core-initramfs when repacking?19:30
xnox(during spread tests)19:31
ijohnsonxnox: we use the one from the distro package19:31
ijohnsonI am testing using the one from the kernel snap instead19:31
xnoxijohnson:  again, why?19:31
ijohnsontbh I don't know why we use the distro skeleton instead of the initrd from the kernel snap, mborzecki would know the details as he last touched that code19:31
ijohnsonbut he already EOD'd19:32
xnoxijohnson:  back when we talked about repacking kernel.snap, we did talk about unpacknig kernel.efi, unpacking initrd, upacking initrd, updating anyting one wants to update, and reusing that as the skeleton dir again.19:32
xnoxijohnson:  cause otherwise, one is not introducing "just the new snap-bootstrap" one upgrades all the other things too.19:33
xnoxijohnson:  plus i only have the one PPA at the moment, so I don't have anywhere else to upload ubuntu-core-initramfs as edge and then promote somewhere else as beta19:33
ijohnsonxnox yes if the run I have right now works with just replacing snap-bootstrap we will do that19:42
mupPR snapd#8372 opened: devicestate: generate warning if seeding fails <Created by mvo5> <https://github.com/snapcore/snapd/pull/8372>19:45
=== probono2 is now known as probono
xnoxijohnson:  awesome! because that is closer in spirit what you want to do longer term too.19:47
mupPR snapd#8373 opened: tests/lib/prepare.sh: use only initrd from the kernel snap <UC20> <⚠ Critical> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/8373>21:06

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