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

=== genii_ is now known as genii
quadrathoch2hey, is there a way to activate bash completions for snap containers? sitting on debian with lxd installed, and it's quite annoying without completions02:13
pstolowskimorning08:14
mvogood morning pstolowski08:17
pedronispstolowski: hi, is this another case of the bug we just fixed: https://bugs.launchpad.net/snapd/+bug/1919504 or is something else?08:34
mupBug #1919504: panic: assignment to entry in nil map <snapd:New> <https://launchpad.net/bugs/1919504>08:34
pstolowskipedronis: looking08:39
pstolowskipedronis: so it panics in the same spot. it could be the same, unless there is some other edge case that triggers this, hard to say without more details. i'll ask in the bug report08:45
pedronisbut the panic itself should be fixed?08:46
pedronisthanks08:46
pstolowskipedronis: yes08:48
pstolowskipedronis: when I was reproducing it last time snapd would eventually give up on the panic'ing tasks after a number of restarts; do you know what is actually making this happen in the taskrunner? I don't think we recover() (should we?)09:00
pstolowskimborzecki: hi, do you have time to take a look at #9959?09:22
mupPR #9959: o/snapstate: update validation sets assertions with auto-refresh <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9959>09:22
pedronispstolowski: Maciej is off today09:57
pstolowskiah, ok09:57
mupPR snapd#10046 opened: features: enable dbus-activation by default <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/10046>11:40
mupPR snapd#10047 opened: tests: remove the snap profiler from the test suite <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10047>11:45
mupPR snapd#10048 opened: [RFC] o/configstate: deal with no longer valid refresh.timer=managed <Needs Samuele review> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10048>12:00
pstolowskimvo, pedronis ^ might be slightly controversial, let me know wdyt12:01
mupPR snapd#10049 opened: tests: remove snaps which are not used in any test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10049>12:05
* pstolowski lunch12:17
mupPR snapd#10050 opened: tests: use snaps-state commands and remove them from the snaps helper <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10050>12:45
pedronispstolowski: I commented in it12:50
pedronisthx12:50
pstolowskipedronis: thanks, need to look into these other places13:15
mvopstolowski: thanks for tackling this bug!13:19
pstolowskiyw13:22
jkridner_ogra: I'm evaluating Ubuntu Core yet again, this time with a bit more interest as I finally have some experience using containers in a commercial project.13:23
ograjkridner_, whee, awesome !13:24
pstolowskipedronis: btw have you seen my earlier question re taskrunner & panic/recover() ?13:25
jkridner_I'm trying to find the right docs on how to push images to boards once you boot them. The tutorial list is a bit overwhelming and not so step-by-step. And then, the first thing I encounter is you need HDMI for recovery.... not what I'd expect for an embedded system. Why not UART? https://ubuntu.com/tutorials/how-to-ubuntu-core-recovery-mode#1-overview13:26
jkridner_Can I run the PocketBeagle image on a BeagleBone Black (or Wireless, or Green Gateway)?13:30
mupPR snapd#10038 closed: tests: replace while commands with the retry tool <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10038>13:35
pedronispstolowski: kind of, I'm not sure I understand it13:47
pstolowskipedronis: i'll try to explain on SU13:48
ograjkridner_, i have never tried the pocketbeagle image on another board ... (it is set up with g_gether and g_serial so everything works through the USB cable, not sure the BBB can do that OOTB without adjustments, you'd have to try)14:27
ograjkridner_, the image is pre-partitioned, to get it onto a board you'd just dd it to the target disk somehow (or for a start use an SD and simply dd it to that)14:28
ograif you use UC20 it will re-partition during first boot ... UC16 and UC18 just expand the existing writable partition ...14:29
pstolowskimvo: i'm looking at https://github.com/snapcore/snapd/pull/10003 ; fwtw doing disable/mask/stop/unmask/enable/start manually works on 20.04; i wonder if there is a quirk with a specific systemd version15:40
mupPR #10003: configstate: add a config option for systemd-resolved <Needs Samuele review> <Created by woodrow-shen> <https://github.com/snapcore/snapd/pull/10003>15:40
* cachio__ lunch15:49
mvopstolowski: oh, interessting15:56
mvopstolowski: let me quickly try on a uc20 machine15:56
pstolowskimvo: do you know what was the system they tried it on?15:57
pstolowskimvo: i tried both with --root=/ and without, worked both ways15:58
mvopstolowski: I don't know where this did not work, I suspect spread?16:02
mvopstolowski: oh, actually, let me look16:03
mvopstolowski: I asked about more details in #20 on mattermost16:09
mupPR #20: Feature/snapfs cleanup kernel assets <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/20>16:09
mvopstolowski: also the unit tests in 10003 fail right now :/ this needs some more love it seems16:10
pstolowskimvo: yes i saw that16:10
pstolowskimvo: shall i take over this PR or are they on it?16:11
mvopstolowski: I'm not on it, feel free to take it16:13
pstolowskimvo: ok16:18
pstolowskimvo: did you say there will be a meeting with them today?16:26
pstolowskimvo: i don't understand what is /run/systemd/resolve/stub-resolv.conf canary for in the test, it seems the PR is half-implemented16:26
pstolowskimvo: i can join if you want16:27
mvopstolowski: I was talking with woodrow on mattermost, I don't think there will be a meeting today, it's also very late16:29
ijohnsonmvo: pstolowski: should I give a quick shot at reproducing woodrow's bug?16:55
ijohnsonit's very easy for me to test uc20 things :-D16:55
pstolowskiijohnson: i'd also be interested in knowing how to do that with kvm16:56
pstolowskiijohnson: if you could make a few notes documenting the steps i'd like to re-do it16:57
ijohnsonpstolowski: sure, since in this case you are not resigning the kernel you don't need to rebuild anything there and can get on without tpm too, it's just rebuilding the snapd snap and use the documented instructions about kvm from https://docs.ubuntu.com/core/en/releases/uc2016:57
ijohnsonnote that you will probably have an issue trying to use console-conf if you just rebuild the snapd binary on something newer than focal and don't rebuild the entire snapd snap, since the implementation of getting users from extrausers is broken if you don't use cgo, but you can't use cgo on something newer than focal since then you are linking against a libc that's too new and it won't load16:59
ijohnsoneasy way to fix that is to just rebuild the whole snapd snap with lxd17:00
ijohnsonbut more time consuming obviously17:00
=== ijohnson is now known as ijohnson|lunch
pstolowskiijohnson|lunch: i see, seems there will be a few hoops; and how do i sideload snapd?17:03
ijohnson|lunchhmm maybe I should put this into a doc, I need to get lunch17:05
mvohow is the store doing? is it worth re-running failing PRs?17:06
pstolowskiijohnson|lunch: yeah that would be great... please assume no prior knowledge of uc20 ☺️17:15
mupPR snapd#10005 closed: seed: ReadSystemEssentialAndBetterEarliestTime <Squash-merge> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/10005>17:41
mupPR snapd#9870 closed: vendor: update go-tpm2/secboot to latest version <Squash-merge> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9870>17:56
=== ijohnson|lunch is now known as ijohnson
* ijohnson may be intermittently available, internet service company tech here18:09

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