/srv/irclogs.ubuntu.com/2021/02/18/#snappy.txt

=== popey8 is now known as popey
=== jwheare_ is now known as jwheare
=== benfrancis5 is now known as benfrancis
mupPR snapd#9939 opened: RFC: Vendor apparmor3 for improved cross-distro/platform support and easier ongoing maintenance <Created by alexmurray> <https://github.com/snapcore/snapd/pull/9939>06:05
mborzeckimorning07:14
mborzeckimvo: hey07:49
mvohey mborzecki !07:49
mupPR snapd#9940 opened:  boot: cmd/snap-bootstrap: handle a candidate recovery system v2 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9940>07:51
pstolowskimorning08:04
mvogood morning pstolowski08:10
mupPR snapd#9901 closed: o/devicestate,many: introduce DeviceManager.preloadGadget for EarlyConfig <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9901>08:21
mborzeckihmmm08:22
mborzeckithat labeler does silly things sometimes08:22
mborzeckihttps://github.com/snapcore/snapd/pull/9940#event-434527940708:22
mupPR #9940:  boot: cmd/snap-bootstrap: handle a candidate recovery system v2 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9940>08:22
zygao/08:33
pedronismborzecki: hi, I'm looking at #9940, it feels weird that we need to check that new flag in so many places? am I missing something?08:44
mupPR #9940:  boot: cmd/snap-bootstrap: handle a candidate recovery system v2 <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9940>08:44
mborzeckipedronis: you mean the flat to not allow fallback keys?08:45
pedronisyes08:45
mborzeckipedronis: hm i guess i could simplify that to do the check only in the fallback* state handlers08:47
pedronismborzecki: we are probably misunderstanding each other on something else08:49
mborzeckipedronis: quick chat?08:49
pedronismborzecki: I have a meeting in 1008:50
mborzeckipedronis: after the meeting then?08:51
pedronisI need to chat with mvo after the meeting08:52
pedronismborzecki: what I don't understand is also why we don't finish early in this mode?08:52
mborzeckipedronis: we do, right after the initramfs mounts state machine finishes08:53
pedronismborzecki: but shouldn't the state machine finish early too?08:53
pedronismaybe08:53
mborzeckipedronis: it's done after mounting save08:55
pedronismborzecki: anyway we should find a way to reduce the ifs and diff size, maybe we'll also need less tests then08:58
pedronis*fewer08:58
mborzeckipedronis: added something to the calendar to discuss it, maybe i missed something08:59
pedronismborzecki: also why the mountsErr vs err thing ?09:00
mborzeckipedronis: here? https://github.com/snapcore/snapd/pull/9940/files#diff-aec04aa8357bab6140f694de4af1f79a69d615f74585f349e7a389fb43e975d8R102909:01
mupPR #9940:  boot: cmd/snap-bootstrap: handle a candidate recovery system v2 <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9940>09:01
pedronismborzecki: well a bit everywhere09:01
pedronismborzecki: also do we stop asking for the recovery key?09:01
mborzeckipedronis: yes, the handling returns early if fallback keys are to be skipped09:04
pedronismborzecki: I mean the user input recovery key, not the fallback keys to be clear09:05
mborzeckipedronis: yes, that place is not reached, but yeah, i see now how moving the check to the fallback state handler would make it clearer09:07
pedronismborzecki: yes, moving the fail to the actual states we don't want, instead of all the places that call them would be much easier09:11
mupPR snapd#9941 opened: Snapshot save fails with sockets in folder <Created by mapero> <https://github.com/snapcore/snapd/pull/9941>09:11
mborzeckipedronis: i've added quick sync at 1030 after the desktop meeting09:12
pedronismborzecki: as I said I should sync with mvo at that time09:14
mborzeckipedronis: ah ok, got a quick errand at 11, so 12 then?09:15
pedronismborzecki: maybe you have already input now anyway?09:15
pedronismborzecki: my main ask it to make the diff smaller and less churny09:15
pedronis*enough input09:16
mborzeckipedronis: ok, let me work on this for a bit then and push something, and then we can discuss09:17
mborzeckiquick errand, back in 3009:56
mborzeckire10:50
mborzeckipedronis: i'm thiniking, i could split the boot bits into a separate pr, should make the whole thing easier to review hopefully10:53
pedronismborzecki: yes, that is also true10:54
mborzeckipedronis: just the tests in s-b are like 350+ inflating the whole thing a lot10:54
pedronismborzecki: I still hope the diff of cmd_initramfs_mounts.go itself can be shrunk10:55
mborzeckipedronis: it is a bit smaller now: https://github.com/snapcore/snapd/compare/master...bboozzoo:bboozzoo/uc20-recovery-mgmt-sb-try-handling-v2-wip#diff-aec04aa8357bab6140f694de4af1f79a69d615f74585f349e7a389fb43e975d810:58
pedronismborzecki: yes, it looks a bit easier to review without getting lost at least11:01
mborzeckitests are still large, but sadly there's lot of state to mock :/11:01
mupPR snapd#9942 opened: boot: helper for checking and marking tried recovery system status from initramfs <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9942>11:01
mborzeckipedronis: just the boot bits ^^11:01
pedronismborzecki: that's ok, at the end of the day the code needs to look right first even before considering the tests11:02
mborzeckiin the meantime, not sure how gorename ended up renaming so many bits to mountsErr, hmm11:04
pedronismborzecki: ah, well that was messy11:05
mborzeckiit's not even gorename, but godoctor rename11:05
pedronisok but for sure didn't win points :) no cookies for that tool11:06
mborzeckihahah that's true11:11
mborzeckisurprising golsp doesn't have that functionality yet11:12
pstolowskipedronis: i've updated #9930 but I'm going to remove bulk.go changes from it and work on it in a separate PR11:53
mupPR #9930: asserts: pool changes and RefreshValidationSetAssertions method for validation-sets <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9930>11:53
pstolowski(overlord/assertate/* will be moved to a separate PR)11:54
pedronispstolowski: sounds good11:55
pedronispstolowski: let me know when it's ready to review11:56
pedronismborzecki: I will start with 9942 but is 9940 also re-ready for review?11:58
mborzeckipedronis: yes, i've updated it11:58
pedronisthx, I will look in a bit11:58
pstolowskipedronis: it is now12:04
mborzeckipedronis: wondering, shall we s/good_recovery_sytems/verified_recovery_systems/ or does verified imply too much here?12:14
* cachio afk12:17
mvopedronis: I updated 9907 with the most simple version of a filter func, please have a look (not urgent) and if it looks too simplistic I will have to do a version of mountedfilesystemwriter that also takes the filter func (separate PR as discussed). thanks again for all your suggestions12:39
pedronismborzecki: it implies the wrong things, we use verify for the checks we do based on assertions, and we really never boot something that is not verified12:44
mborzeckiack12:45
pedronisor at least shouldn't12:45
pedronismborzecki: I did a pass on 994213:27
mborzeckipedronis: thanks, finishing the modeenv bits and will take a look after13:28
pedronismvo: I commented on #990713:40
mupPR #9907: gadget,devicestate: perform kernel asset update for $kernel: style refs <UC20> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9907>13:40
mupPR snapd#9943 opened: boot: introduce good recovery systems, provide compatibility handling <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9943>13:47
mborzeckipedronis: hopefully this one is simpler ^^13:47
mupPR snapd#9944 opened: github: temporarily disable action labeler due to issues with labels being removed <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9944>13:57
mupPR snapd#9905 closed: asserts: validation sets WIP <Skip spread> <validation-sets :white_check_mark:> <⛔ Blocked> <Created by stolowski> <Closed by stolowski> <https://github.com/snapcore/snapd/pull/9905>14:12
mborzeckiheh, so now i know why my spread test didn't work, ofc boot-state is completely unaware of grubenv being somewhere else, especially not under /run/mnt/ubuntu-seed..15:42
mborzeckimvo: debian testing is getting installed in a vm15:43
ijohnsonthanks mborzecki15:51
ijohnsonmborzecki: I made a spreadsheet to track the testing on debian, I'll PM it to you15:51
mborzeckiijohnson: thanks, i'l try to run some tests today, if not then tomorrow morning15:52
ijohnsongreat!15:52
mborzeckiijohnson: s/debian 10/debian 11/ in the spreadsheet right?15:53
ijohnsonah yeah probably15:53
ijohnsonI made it during another meeting so typos 🤷‍♂️15:53
mvomborzecki: \o/ you rock15:57
* cachio afk & lunch16:03
pedronispstolowski: I made maybe a simplifying suggestion in #993017:02
mupPR #9930: asserts: pool changes for validation-sets <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9930>17:02
pstolowskipedronis: ty, looking17:02
pstolowskipedronis: sounds sensible, i'll see how it goes, thanks17:04
kkoukiouHi :) I want to ask if there is plan/interest for resolving https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1714941 ? In cockpit [1] we have a udisks2 UI where we display available volumes, and we got one issue about it [2]17:43
kkoukiou[1] cockpit-project.org/17:43
kkoukiou[2] https://github.com/cockpit-project/cockpit/issues/1442417:43
mupBug #1714941: mounts should hint ignore <snapcraft (Ubuntu):Confirmed> <https://launchpad.net/bugs/1714941>17:43
=== ijohnson is now known as ijohnson|lunch
mupPR snapcraft#3438 opened: flutter: Specify arch specific bundle dirs fixes LP:1915991 <Created by kenvandine> <https://github.com/snapcore/snapcraft/pull/3438>19:06
diddledankkoukiou: I've remapped that bug to snapd because it isn't related to the snapcraft utility that is for building snaps19:10
lord4163Hi20:52
lord4163I have lxd installed as a snap on raspbian and I try to import a qcow2 image using `lxc image import <image>`, but it fails... Error: exec: "qemu-img": executable file not found in $PATH20:53
lord4163I have qemu and qemu-utils installed as regular packages20:53
=== ijohnson|lunch is now known as ijohnson
ijohnsonlord4163: that's probably a bug with the lxd snap, try the #LXD channel21:08
ijohnsoncc stgraber ^21:08
mupPR snapcraft#3439 opened: Don't error out if font cache generation fails.  This can cause <Created by kenvandine> <https://github.com/snapcore/snapcraft/pull/3439>21:11
diddledanijohnson: as you're around, and I don't know who to ping, can you point a security person at https://forum.snapcraft.io/t/cve-2021-3177/22843 who can advise as to the processes in place for Ubuntu and the base snaps (separately)21:36
ijohnsonhaha I literally _just_ replied to that :-D21:37
ijohnsonbut thanks for the ping diddledan21:37
diddledanhaha21:37
diddledanI see it now :-)21:37
* diddledan clicks the heart21:38

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