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

zygagood mornign07:40
mborzeckimorning07:50
mvogood morning mborzecki07:55
mborzeckimvo: hey07:55
mborzeckimvo: can you land https://github.com/snapcore/snapd/pull/9927 ? it's the reference rpm spec for fedora, but a spread job on uc20 failed08:03
mupPR #9927: packaging/fedora: sync with downstream packaging in Fedora <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9927>08:03
mborzecki(oh and it needs a 2nd review)08:04
mvomborzecki: sure08:05
mborzeckimvo: thanks!08:08
mupPR snapd#9927 closed: packaging/fedora: sync with downstream packaging in Fedora <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9927>08:10
pstolowskimorning08:15
mborzeckipstolowski: hey08:15
zygahey guys08:30
mvohey zyga08:31
mvoand good morning pstolowski08:31
pstolowskio/08:34
=== alan_g_ is now known as alan_g
mborzeckipedronis: replied under https://github.com/snapcore/snapd/pull/9921/files/940b71fefdeadd4d2d1823139a8529b907117876#r57512803610:34
mupPR #9921: boot: helper for setting up a try recover system  <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9921>10:34
pedronismborzecki: do be clear both our comments are about unexpected reboots, not expected reboots10:35
pedronis*to be clear10:35
mborzeckipedronis: right, unless snapd_recovery_mode/snapd_recovery_system is modified we should not boot into the tried recovery system10:36
mborzeckipedronis: and the first case would be when we unexpectedly reboot in SetTryRecoverySystem() cleanup, but we still haven't modified snapd_* variables, as this is done by devicemgr.Reboot(mode,system)10:37
mborzeckipedronis: and the other case is unexpected reboot when we're back in run mode after having tried the system or just cleaning up, the snapd_* boot vars should be set to boot into run mode only at this point10:38
mborzeckidoes that make sense? :)10:38
pedronismborzecki: tbh, I think maybe you should quickly write down how you expect this to work, I mean the flow and the way the vars change at different point. It might make reviewing things piece by piece easier10:39
mborzeckipedronis: sure, let me update the doc10:40
mborzeckiand maybe we can have a quick chat before the standup then10:40
pedronisok10:40
pedronismaybe invite Ian as well (not sure he can make it though)10:40
mborzeckihm if he can't make it, i suspect the interview won't take the whole hour, co we can do it afterwards too10:42
mborzeckipedronis: updated the doc now11:05
mborzeckimvo: have you looked more into the boot-state tool?11:08
pedronismborzecki: I have other meetings after the interview11:12
mvomborzecki: was in calls until just now, I have the spread debug shell still open11:14
mvomborzecki: I check it now11:14
mvomborzecki: mystery solved I think, one sec11:25
mvomborzecki: https://github.com/snapcore/snapd/blob/master/tests/lib/tools/boot-state#L107 if run_grub_editenv fails it will then fallback to manipulate it with sed11:26
* pstolowski lunch11:26
mvomborzecki: so yeah, fine to use but probably best to have snap debug set-bootenv or something11:27
mvomborzecki: anyway, your call :)11:27
mborzeckimvo: uhh, still kind of sucks there isn't even a crc32 of the grub bootenv11:27
mvomborzecki: +111:28
mupPR snapd#9915 closed: snap-confine.apparmor.in: support tmp and log dirs on Yocto/Poky <Created by om26er> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9915>11:51
mborzeckimvo: can you cherry pick those patches ^^ to 2.49?11:53
mvomborzecki: sure, done12:12
mborzeckimvo: thanks!12:12
mvomborzecki: they will only make it into a possible 2.49.1 of course12:12
mborzeckisure12:13
ijohnsonhey mborzecki just saw the meeting invite, I'll try to be there in a couple minutes but you can start without me13:31
mborzeckiijohnson: sure13:31
mupPR snapd#9893 closed: store: support validation sets with fetch-assertions action <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/9893>13:51
dot-tobiasjust out of curiosity: Is there a way to refresh a snap if the installed revision's pre-refresh hook has an error that will always cause the hook to abort? Like14:00
dot-tobias(nmv the “Like”)14:01
mupPR snapd#9929 opened: wrappers: use proper paths for mocked mount units in tests <Simple 😃> <Skip spread> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9929>14:32
ijohnsondot-tobias: not unless you have the user revert the snap to a different revision with `snap revert` and then refresh past the broken one to a new one, or remove it and reinstall it15:00
mupPR snapd#9908 closed: snap: rename gdbserver option to `snap run --gdbserver` <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9908>15:02
mupPR snapd#9930 opened: 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>15:02
ijohnsonpedronis: so the main issue with my repair branch is just that this new test account-key should have authority-id and account-id set to "testrootrepair" ?15:03
ijohnsonif so I can fix that easily15:03
dot-tobiasijohnson: Thanks for clarifying! Only affects the edge channel, so shouldn't be a huge problem as it's only for internal testing and a handful of “I know things might break” users.16:02
gbissonHi all, going back to updating my gadget from 18 to 20, as suggested I copied the logic from rpi boot.scr (https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1871831) however I have 2 issues:16:21
mupBug #1871831: Consolidate Core and Classic bootscripts <id-5c501f2e81928a584cabbed9> <id-5ece777ab7290a556dec3440> <flash-kernel (Ubuntu):Fix Released> <https://launchpad.net/bugs/1871831>16:21
gbisson1- the CRC of boot.sel seems to be wrong or missing as my uboot can't import boot.sel16:21
gbisson2- even when removing the CRC check, it seems like I'm missing things as the recovery install doesn't do anything16:22
gbissonsee this log when it fails: https://gist.github.com/gibsson/c09efaa2da7cd8b7c330cef8f4eb3cbb16:23
gbissonfor 1) who generates the recovery boot.sel? where can I check that the CRC is generated?16:23
gbissonfor 2) can I enable some debug outputs to know more? seems to be looking for a writable LABEL but I don't understand how this could work on pi: https://github.com/snapcore/pi-gadget/blob/20-arm64/gadget.yaml16:25
pedronisijohnson: no, they both need to be testrootorg16:27
ijohnsonpedronis: why do they both need to be testrootorg? it seems misleading since we are creating an additional account-key with account-id of testrootorg and even signed by the other testrootorg account-key16:52
pedronisijohnson: sounds we need a chat16:52
ijohnsonhmm ok, I have 5 minutes right now ?16:52
pedronisijohnson: going to the SU16:53
mupPR snapd#9931 opened: asserts: repeat the authority cross-check in CheckSignature as well <Created by pedronis> <https://github.com/snapcore/snapd/pull/9931>17:37
pedronisijohnson: ^17:46
ijohnsonthanks, just got done with the interview, so I'll loop back on that now17:47
pedronisijohnson: np, no super hurry, but it's definitely the kind of things that was easier to do immediately than queue it for me17:56
mupPR snapd#9929 closed: wrappers: use proper paths for mocked mount units in tests <Simple 😃> <Skip spread> <Created by bboozzoo> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9929>17:57
=== ijohnson is now known as ijohnson|lunch
mupPR snapd#9916 closed: daemon: move postSnap and inst.dispatch tests to api_snaps_test.go <Skip spread> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9916>18:48
=== ijohnson|lunch is now known as ijohnson
mupPR snapd#9923 closed: o/snapstate/check_snap.go: add support for many subversions in assumes snapdX <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9923>21:08
om26erI changed my login.ubuntu.com username but it did not change my Snap Store ID, why ?21:32
om26erAlso where can I find roadmr, I don't see him here these days ?21:33
pedronisijohnson: I commented on your questions in the standup doc21:39
ijohnsonah thanks pedronis21:39
mupPR snapd#9932 opened: [RFC] o/configstate/configcore: support snap set system swap.size= <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9932>22:23

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