/srv/irclogs.ubuntu.com/2020/11/10/#snappy.txt

mwhudsonoh the curtin repo i'm pulling from is missing tags00:17
mupPR snapd#9600 closed: cmd/s-b/initramfs-mounts: refactor recover mode to implement degraded mode <Complex> <UC20> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9600>07:28
mupPR snapd#9614 closed: tests: enable main lxd test on 20.10 <Simple 😃> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9614>07:33
pstolowskimorning08:04
mupPR snapd#9616 opened: tests: enable lxd test on ubuntu-core-20 and 16.04-32 <Simple 😃> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9616>08:13
pstolowski+108:16
mvogood morning pstolowski08:17
pstolowskihey mvo08:19
jameshhi pstolowski, mvo08:21
mvogood morning jamesh !08:22
jameshmvo: https://github.com/snapcore/snapd/pull/9530 has my review approval + security approval now08:22
mupPR #9530: interfaces: share /tmp/.X11-unix/ from host or provider <Needs security review> <Squash-merge> <âš  Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/9530>08:22
jameshprobably one other person look at it and it can be merged08:22
mvojamesh: yay, let me do a final review then08:22
mvothanks for driving this forward jamesh !08:23
pstolowskihi jamesh!08:29
pstolowskimvo: i may have the improvements suggested by xnox for #9613 soon, ok to push them to that PR or would you prefer a followup at this point?08:32
mupPR #9613: snapd-generator: set standard snapfuse options when generating units for containers <Bug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9613>08:32
pstolowski(don't want to slow down landing this PR)08:32
mvopstolowski: followup please for now08:43
pstolowskimvo: ok, np08:43
mvopstolowski: I want to look and then we can always close 9613 and just use the followup08:43
mvopstolowski: but I don't want 2.48 to be held back08:43
pstolowskimvo: yep, that was my concern, makes sense08:44
mvota08:44
* dot-tobias waves09:01
mupPR snapd#9530 closed: interfaces: share /tmp/.X11-unix/ from host or provider <Squash-merge> <âš  Critical> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9530>09:53
mupPR snapd#9617 opened: tests: compare options of mount units created by snapd and snapd-generator <Created by stolowski> <https://github.com/snapcore/snapd/pull/9617>10:08
pstolowskihmm network-retry test failed on core1610:13
sil2100Hello! I have a quick question - zyga at one point regarding a u-boot bug we have in uc18 mentioned something about a possible 'repair assertion' - what is that and where could I read a bit more about it?10:47
pstolowskisil2100: https://forum.snapcraft.io/t/repair-capability-emergency-fixes/311/42 (i don't know if there is any newer doc)10:54
sil2100pstolowski: thanks!11:28
pstolowskiyw11:29
mupPR snapd#9618 opened: tests: minor test tweaks suggested in the review of 9607 <Simple 😃> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9618>11:34
* pstolowski lunch11:59
dot-tobiasAre interface hooks run before the install hook *if* the interface connection is established through a gadget default? I'm building a core20 gadget that connects my snap to network-manager:service, and does some setup inside my snap once the interface is connected. This works fine in manual testing as the snap has to be installed12:26
dot-tobias(premature enter key there) … *before* I can even run `snap connect …`, but when seeding through the gadget, it seems that the interface hook runs before the install hook, which will break the interface hook logic (as there's no database to write to at the time)12:27
dot-tobias^ (question maybe for ogra, ijohnson)12:33
ijohnsondot-tobias: perhaps pstolowski can help answer, I don't know when we run interface hooks for gadget auto-connected interfaces, I would assume at the same time as all the other auto-connects12:54
pstolowskidot-tobias, ijohnson this is correct, it's in auto-connect task and it runs before install hook12:59
dot-tobiaspstolowski: Ok thanks, at least I didn't bork something there. Is there any way I can hold off the interface hook until the snap is actually installed, or do I need to rewrite my snap application to run the tasks from the interface hook on each service startup (wrapped in a conditional)? I had hoped to encapsulate the one-time setup in the hook, as it's the ideal place for it – if the hook runs *after* installation ;-)13:03
pstolowskidot-tobias: no way to hold off interface hook.. maybe we need to think about early-install hook that runs before auto-connect. it all depends on use cases i suppose13:11
dot-tobiaspstolowski: Ok, thanks for clarifying 😊 Sure, myriad ways to use means myriad ways of possible conflicts … Well then I'll rewrite my application and start a thread on the forums about this later. Thank you!13:13
pstolowskidot-tobias: yes, i think we can discuss and consider this13:13
pstolowskiijohnson: would you take a look at https://github.com/snapcore/snapd/pull/9613 ?13:30
mupPR #9613: snapd-generator: set standard snapfuse options when generating units for containers <Bug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9613>13:30
ijohnsonpstolowski: sure13:30
pstolowskiijohnson: thanks13:47
ijohnsonpstolowski: +1 with some suggested spread changes13:49
=== popey3 is now known as popey
mupPR snapd#9616 closed: tests: enable lxd test on ubuntu-core-20 and 16.04-32 <Simple 😃> <Created by mvo5> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9616>13:54
pstolowskiijohnson: thanks, replied13:57
mupPR snapd#9592 closed: many: implement degraded recover mode <Run nested> <UC20> <Created by anonymouse64> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/9592>14:25
mupPR snapd#9613 closed: snapd-generator: set standard snapfuse options when generating units for containers <Bug> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9613>14:35
ijohnsonpedronis: let me know when your pr is ready14:48
pedronisijohnson: https://github.com/snapcore/snapd/pull/9619  mvo14:49
mupPR #9619: cmd/snap-bootstrap,o/devicestate: use a secret to pair data and save <Run nested> <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/9619>14:49
ijohnsonthat was impeccable timing14:49
ijohnsonpedronis: thanks I'll review it now14:49
mupPR snapd#9619 opened: cmd/snap-bootstrap,o/devicestate: use a secret to pair data and save <Run nested> <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/9619>14:50
om26erCould anyone from the store team confirm if the review-tools now allows `compression: lzo` stanza in snapcraft yaml14:54
ijohnsonom26er: if it's not yet allowed, it will probably be allowed sometime this week, in the mean time your snaps uploaded with lzo should be manually approved at some point soon14:55
om26erWe are being extra cautious as enabling that for our snap would mean we won't be able to test the edge channel unless someone gets around to manual review.14:56
ijohnsonI just pinged some store folks to check in on it, I don't see any in this channel14:57
ijohnsonom26er: sounds like they are trying to get it deployed today, but it might get delayed14:59
om26erOk, no problem, can revisit this close to end of week.14:59
om26erijohnson can you also help with https://forum.snapcraft.io/t/download-snap-and-assert-without-snap-download-command/20869/9 ? Not sure what we need to do to avoid shipping core snap15:01
ijohnsonom26er: I asked the store folks to comment on this forum post after it is deployed so you can just wait for an update here: https://forum.snapcraft.io/t/lzo-automatically-rejected/20860/1115:01
ijohnsonom26er: sorry I have been busy with other things, I will try to find some time to respond this week15:02
* cachio lunch15:02
om26erAlright, cool. Thank you ;-)15:02
* om26er should do a write up on running snapd with confinement on yocto based devices, with seeding a few snaps by default.15:04
ogradoes anyone know which nvidia driver we recommend for debian users so snaps work for them ?15:07
ogra(i have a zoom issue where the driver doesnt seem to be found at all in the snap env)15:07
pedronismvo: I gave some inpunt in 954016:30
mvopedronis: cool, thanks16:30
ijohnsonpedronis: approved 9619, one suggestion about marking the mismatch in degraded.json I think16:32
ijohnsonmvo: pedronis: should I review 9540 too ?16:38
ijohnson(since mborzecki is off today/tomorrow)16:38
mvoijohnson: would be nice, should be simple, I applied pedronis  feedback already but did not push yet, local spread run against the nested test is just running16:39
ijohnsonmvo: ack I will start on that now16:39
mvoijohnson: \o/16:40
pedronismvo: it seems spread was unhappy for a bit at least, lots of read in my PR16:42
pedronisijohnson: the feedback aobut putting something in error-log seems fair16:43
ijohnsonyeah seems useful to be able to know that16:43
zygagood morning16:45
ijohnsonhey16:45
zygahey, today was a busy day :)16:45
mvogood morning zyga !16:46
zygaI worked on a flashing tool16:46
zygaand played with bus pirate and lava LMP boards from linaro days16:46
zygahey mvo16:46
zygahow is core20?16:46
mvozyga: closer than yesterday16:46
zygamore encryption complexity?16:47
ijohnsonmvo: approved 9540, note that pedronis' suggestion had a typo, not sure if you just copy and pasted it in (I have done this before is the only reason I ask :-) )16:48
niemeyer% /usr/lib/snapd/snapd --help16:55
niemeyerAppArmor status: apparmor is enabled and all features are available16:55
niemeyercannot run daemon: cannot read the state file: open /var/lib/snapd/state.json: permission denied16:55
mvoijohnson: thanks, I updated the string based on your suggestion16:56
niemeyerWhat's most amazing isn't that we missed --help, but that we never actually missed it..16:56
pedronisI need to do some errands and then I will push some tweaks to my PR16:56
mvopedronis, ijohnson I will have dinner and check back, it seems we can still branch 2.48 today :)16:58
ijohnson:-)16:58
ijohnsonmmm seems store is unhappy, lots of 4XX's from the store right now17:00
zyganiemeyer hello, could you help me restore my forum account?17:03
niemeyerzyga: Heya17:03
niemeyerzyga: Maybe17:03
zyganiemeyer I didn't realize it was using my @canonical.com address17:03
niemeyerzyga: I'll need to go through and see what's associated with it17:04
niemeyerMight be easier to rename/recreate17:04
zygaassociated in which sense?17:04
niemeyerIn the data sense17:04
zygawell, only the forum data, I suspect17:04
niemeyerzyga: It was indeed suspended by IS as part of the normal process17:09
niemeyerzyga: Easiest is probably to move it away and recreate it17:09
zygawith a different login name? I'd like to see all the previous pings I've got17:09
niemeyerzyga: Done.. you should be able to recreate your account with your original username17:12
zygawoot,17:12
zygathank you17:12
niemeyerzyga: You won't see pings to the old user, though17:12
zygaah, I see17:12
niemeyerzyga: As it still exists17:12
zygaoh well17:12
zygathank you :)17:13
niemeyerNo problem, welcome back, to some degree :)17:13
niemeyerOld user is zyga-snapd, FWIW17:14
zygaright, I've found that, thanks17:15
ijohnsonpedronis: mvo: I retried thej obs in 9619, the store was a bit unwell this morning but should be good now17:24
ijohnson*the jobs17:24
pedronisijohnson: ah, I need to push to it anyway17:24
ijohnsonpedronis: ah ok, well I guess it won't matter anyways17:25
pedronismvo: there was a bit of confusion my suggestion was to add the explantion of show-keys to the longer description of the command, and keep the short option description17:35
pedronisijohnson: I pushed changes to 9450 if you want to double check17:39
pedronisheh sorry17:39
pedronisijohnson: I meant 961917:39
ijohnsonpedronis: ack17:45
pedronisijohnson: mvo: couple more comments in 945017:47
ijohnsonpedronis: one super minor error message suggestion in 961917:47
ijohnsonbut it can wait17:47
ijohnsonpedronis: should I address your comments ti 9540 now?17:48
pedronisijohnson: if you can, not sure if mvo is taking a break or not, I will have dinner soon17:49
pedronisijohnson: we are not super consistent about , vs : in those kind of errors fwiw17:50
ijohnsonpedronis: sure I can push it, to be clear you want this as the short option description though:17:51
ijohnson```17:51
ijohnsonShow recovery keys (if available) to unlock encrypted partitions.17:51
ijohnson```17:51
ijohnsonand then the longer one I proposed in the main help ?17:51
niemeyerHmm.. apparently nothing checks whether snapd is actually under systemd before standing by17:51
pedronisijohnson: yes, something short like the original text17:55
ijohnsonpedronis: ok, I will use exactly what I sent here in IRC17:55
ijohnsonjust a moment17:55
mupPR snapd#9618 closed: tests: minor test tweaks suggested in the review of 9607 <Simple 😃> <Created by stolowski> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9618>17:56
pedronisniemeyer: it's quite possible, I think we found recently a few cases where some behavior doesn't check for context enough17:56
* pedronis dinner17:56
pedronisijohnson: ^, afk to have a dinner for a bit17:56
ijohnsonk17:56
niemeyerpedronis: It's one more of those cases that nobody cares too much really17:56
niemeyerUnless you're abusing snapd enough, in which case you know what to do and can fix it17:57
niemeyerpedronis: Enjoy!17:57
mupPR snapcraft#3363 opened: repo: apt sources management refactor <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3363>18:15
mupPR snapcraft#3364 opened: project loader: ensure all key assets are utilized <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3364>18:15
mvoijohnson: I'm back now fwiw18:21
mvoijohnson: anything I should do (reading backlog now)?18:22
ijohnsonmvo I have itocally just waiting for spread run to confirm18:22
ijohnsonSo I can push the adjustments as soon as the spread run finishes18:22
mvoijohnson: \o/18:23
mvoijohnson: thanks18:23
ijohnsonmvo: pedronis: pushed18:33
=== ijohnson is now known as ijohnson|lunch
mvoijohnson|lunch: thank you!18:35
mvolooks grat18:35
mvogreat18:35
pedronisijohnson|lunch: mvo: I pushed another tweak to 961919:18
=== ijohnson|lunch is now known as ijohnson
ijohnsonpedronis: mvo: still seems we have store troubles as of like 20ish minutes ago19:19
ijohnsonpedronis: ack I'll take a look again at 961919:19
ijohnsonmight need some force merges19:19
mupPR snapcraft#3365 opened: github actions: bootstrap CI workflow <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3365>19:25
mvoijohnson: sure, I have a look19:31
mupPR snapd#9620 opened: spread.yaml: increase number of workers on 20.10 <Simple 😃> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9620>20:21
pedronisijohnson: still around?20:32
ijohnsonyes20:32
pedronisijohnson: do you want to chat about https://github.com/snapcore/snapd/pull/9619/files#r520848163 ?20:33
mupPR #9619: cmd/snap-bootstrap,o/devicestate: use a secret to pair data and save <Run nested> <UC20> <Created by pedronis> <https://github.com/snapcore/snapd/pull/9619>20:33
ijohnsonpedronis: sure if you think there are things to discuss20:33
pedronisijohnson: I'm going to the SU20:33
ijohnsonpedronis: ok be there in a moment20:34
* cachio afk20:44
pedronisijohnson: pushed20:56
ijohnsonack, I'll look now20:56

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