/srv/irclogs.ubuntu.com/2019/11/20/#snappy.txt

=== zigford_ is now known as zigford
mborzeckimorning06:31
mborzeckiwow, forum got updated?06:31
mvohey mborzecki06:31
mborzeckimvo: hey06:31
mupPR snapd#7752 closed: tests: enable degraded test on arch linux after latest image updates <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7752>06:32
mborzeckimvo: https://github.com/snapcore/snapd/pull/7751 simple one, could land easily06:34
mupPR #7751: cmd: fix the get command help message <Simple 😃> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/7751>06:34
mvomborzecki: sure06:36
mupPR snapd#7751 closed: cmd: fix the get command help message <Simple 😃> <Created by cmatsuoka> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7751>06:39
mupPR snapd#7753 opened: po: sync translations from launchpad <Created by mvo5> <https://github.com/snapcore/snapd/pull/7753>07:03
mupPR snapd#7754 opened: release: 2.42.2 <Created by mvo5> <https://github.com/snapcore/snapd/pull/7754>07:30
=== pstolowski|afk is now known as pstolowski
pstolowskimorning08:03
mborzeckipstolowski: hey08:50
pstolowskio/08:50
mupPR snapd#7755 opened: cmd/snap-failure: fallback to snap from core, extend tests <Remodel 🚋> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7755>08:50
mborzeckimvo: ^^08:50
mvomborzecki: nice08:52
mvocan someone please sanity check 7754, should be super simple09:22
mvosingle review for this is enough09:23
mupPR snapd#7713 closed:  seed: Core 20 seeds channel overrides support for grade dangerous <Priority 🏇> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7713>09:36
mupPR snapd#7754 closed: release: 2.42.2 <Simple 😃> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7754>09:42
mborzeckizyga: when you're around https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1852635 looks to me like the default mount options changed for the virtual filesystems, maybe some systemd updated triggered that?10:11
mupBug #1852635: mount-ns test failing with latest bionic updates <snapd (Ubuntu):Confirmed> <https://launchpad.net/bugs/1852635>10:11
pstolowskimborzecki, zyga : i'm on it10:15
pstolowski2 hrs in, almost finished10:16
pstolowskia couple of changes affecting it10:16
pstolowskizyga: btw, i'd drop the debug section (for fname in ./*.deterministic.txt...) from this test.. it produces walls of text which is not helping. actual diff that failed is most useful to understand what changes10:18
pstolowski*changed10:18
zygagood morning11:39
zygasorry for starting late, I still cannot sleep at night11:39
zygamborzecki: looking11:39
zygapstolowski: that debug section is useful when there are larger changes and the diff is not something you want to work with11:40
zygapstolowski: perhaps put it behind an environment variable test?11:41
pstolowskizyga: good idea11:50
zygapstolowski: I released 2.42.1 to tw yesterday, did you update to it?12:02
pstolowskizyga: yes, i'm on it12:05
pstolowskiwhy?12:05
zygagood, just wanted to know if you see anything wrong12:08
zygait worked ok for me12:08
Chipacazyga: silly question, where can i see the apparmor profile that is actually loaded? e.g. the profile in /var says 'include abstractions/foo', where can i see the pre-processed(?) one?12:15
zygaChipaca: those are in /etc/apparmor.d12:16
Chipacazyga: I know, which /etc tho12:17
Chipacazyga: :)12:17
Chipacai have four of 'em12:17
Chipacaouter /etc, core /etc (twice), and core18 /etc12:17
Chipacaand they're different in important ways :)12:17
zygaChipaca: in the one seen when you log in12:17
zygaChipaca: if you are talking about core that's the /etc from the boot base snap12:17
zygaChipaca: on classic that's the classic /etc12:18
zygaChipaca: sorry, I didn't understand your question initially12:18
zygamvo: do you sleep normally now?12:18
Chipacaso, say,  a core18 snap will use abstractions/python from the host?12:18
zygayes12:18
zygaChipaca: that's correct12:18
Chipacathat's bad and wrong12:18
zygaChipaca: as in, that's what happens, your understanding is correct12:18
zygaindeed, it can cause syntax from apparmor 3 to interfere, for example12:18
Chipacaor, we need to retro-tweak it :)12:18
zygaChipaca: what are you seeing?12:19
Chipacait means a core18-based python snap on 1604 might not work12:19
Chipacazyga: i'm not, but somebody else is seeing an issue12:19
Chipacawhere it doesn't load a .so12:19
Chipacahttps://forum.snapcraft.io/t/ubuntu-16-04-host-denies-core18-snap-python-3-6-library-import/1424712:19
Chipacanow, i'm on 1604 and i can load that .so without issue, but my system might be "special"12:20
Chipacaso i dunno12:20
cachiomvo, hey12:20
cachiomvo, sru almost ready but 1 test failing on bionic12:20
cachiohttps://paste.ubuntu.com/p/dKrJRZb7Jb/12:20
zygaChipaca: one more reason why sharing /etc was a mistake12:20
zygaand we need to work towards undoing that12:20
cachiomvo, the test is snap-seccomp-syscalls12:21
cachiomvo, I remmeber we fixed it weeks ago but not sure if it is something we need to address12:22
mvocachio: yeah, this is fixed in 2.42.2 I think its fine to ignore this failure12:23
cachiomvo, perfect12:23
mvocachio: 2.42.2 will not need a sru I think, the re-exec is fine, this is only important for lxd-support12:23
mupPR snapd#7749 closed: tests: restart the snapd service in the snapd-failover test <Created by mvo5> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7749>12:23
cachiomvo, ok12:23
cachiomakes sense12:23
mupPR snapd#7756 opened: tests: update mount-ns test for bionic image changes <Created by stolowski> <https://github.com/snapcore/snapd/pull/7756>12:44
pstolowskicachio, zyga ^12:44
zygaack12:44
cachiopstolowski, nice, I'll take a look12:44
zygapstolowski: what is the test-bionic image? is that the image we are going to upgrade to?12:45
mborzeckipstolowski: do we know which packages are responsible for those changes?12:46
zygareading the diff I would love for the .expected.txt files to use delta encoding, so all numbers would be like +1 instead of 12 (even after renumbering)12:47
zygait would remove most of the diff12:47
zygapstolowski: I agree with mborzecki that we should know what's the origin of the change12:47
zygabut other than that +112:47
pstolowskizyga. mborzecki i don't know what package is the origin of them12:48
pstolowskizyga: the image name will probably change, i will update once cachio has it12:48
zygacachio: is there a manifest of changes to the bionic image?12:48
cachiozyga, I attached that to the bug12:49
cachiolet me see12:49
zygathanks, let me find it12:49
jdstrand_Chipaca: hey, fyi, apparmor_parser -p /path/to/profile will show the profile with all the includes in it12:49
=== jdstrand_ is now known as jdstrand
zyga237-3ubuntu10.31 -> 237-3ubuntu10.29 ?12:50
zygacachio: can you attach an unified diff before/after12:50
zygait looks like the diff is after -> before now12:50
cachiozyga, https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1852635/+attachment/5305454/+files/bionic-diff.txt12:50
mupBug #1852635: mount-ns test failing with latest bionic updates <snapd (Ubuntu):Confirmed for stolowski> <https://launchpad.net/bugs/1852635>12:51
mborzeckidoes https://packages.ubuntu.com/ 500 for you too?12:51
cachiozyga, sure, on sec12:52
zygathanks12:52
zygamborzecki: no12:52
cachiozyga, https://launchpadlibrarian.net/452319755/bionic-diff2.txt12:53
zygaunified :)12:54
zygabut ok12:54
zygaunified diffs are easier to read12:54
=== ricab is now known as ricab|lunch
cachiozyga, ahh, ok ,one sec12:54
cachiozyga, https://launchpadlibrarian.net/452319957/bionic-diff-unified.txt12:55
zygapstolowski: ^ given this can you check if the systemd changelog explains what we are seeing please?12:56
zygapstolowski: in addition, can you please add a "Fixes: <URL>" line to the commit message,12:57
zygait helps with tracking things12:57
pstolowskizyga: sure12:57
zygareviewed now12:58
Chipacajdstrand: dunno if you saw that forum topic, do we need to tweak /etc/apparmor.d/abstractions/python so people can use core18-based python snaps?12:59
Chipacajdstrand: using the python from the base i mean12:59
pedronismvo: I left some initial comments and a question in 774612:59
jdstrandChipaca: I haven't yet, but hope to start my misc policy updates today and can add that to the list of investigations13:02
Chipacajdstrand: k13:02
jdstrandChipaca: thanks!13:03
pstolowskizyga: systemd changes looks completely innocent and unrelated, must be something else13:16
pstolowskii looked at debian changelog and patches listed there13:17
zygapstolowski: would you mind looking at what the cause may be for some more time? I would like to at least know that it's not a mistake that the changes exist13:17
pstolowskiyeah i will13:17
zygapstolowski: perhaps ask foundations for ideas13:19
zygapstolowski: xnox may know something about this13:19
xnoxcan i please have context summary? also possibly you want rbalint13:24
pstolowskixnox: sure. we have a pedantic test that checks mount tables and namespaces. it picked changes after latest bionic upgrade, and we'd like to understand if the changes are legit13:25
pstolowskixnox: https://github.com/snapcore/snapd/pull/7756 - see PR description for summary of the changes13:25
mupPR #7756: tests: update mount-ns test for bionic image changes <Created by stolowski> <https://github.com/snapcore/snapd/pull/7756>13:25
xnoxit looks harmless, yet it odd13:30
xnoxit looks harmless, yet it is odd13:30
xnoxthere might be CPC image changes too (as in the base image itself, rather than an sru of something)13:30
pstolowskiaha13:32
pstolowskicachio: do you know what versions of images we should be comparing?13:33
zygabrb13:34
Eighth_Doctordegville: hey, your CentOS 8 instructions for installing EPEL are can be simplified to just `dnf install epel-release`13:37
Eighth_Doctorfor this page, I mean: https://snapcraft.io/docs/installing-snap-on-centos13:37
Eighth_Doctor`epel-release` is in the default repos for CentOS 813:37
degvilleEighth_Doctor: ah, thank you! I'll update them!13:38
cachiopstolowski, those images are using the same base image13:38
pstolowskiuhm13:38
cachiofir older one was created by updating and upgrading one month ago13:39
cachiothe newer it was created following the same procedure 1 week ago13:39
mborzeckicachio: pstolowski: zyga: nothing obvious in https://changelogs.ubuntu.com/changelogs/pool/main/s/systemd/systemd_237-3ubuntu10.31/changelog13:39
pstolowskixnox: we also have the list of packages that got updated - https://launchpadlibrarian.net/452319957/bionic-diff-unified.txt - anything worth checking?13:40
pstolowskimborzecki: yes, i checked that too, plus patches in the source package13:40
pstolowskimborzecki: as long as changelos is thruthful about what patches were applied, they look innocent13:42
zygaif it is the cloud images13:47
zygacould it be something that is not a package that is changed there13:47
pstolowskicachio says the base image is the same. that means changes can only come from updated packages afaiu?13:52
zygathat's weird13:53
zygaI don't mean to block you, perhaps ask mvo for advice13:53
pstolowskilet's check on standup. if anything, it's blocking bionic update for our tests13:54
mvozyga: what is this about?13:57
zygamvo: standup13:57
zygalet's chat there?13:57
mvozyga: 1min, need to prepare a cup of tea13:58
=== ricab|lunch is now known as ricab
mborzeckizyga: ijohnson: irc or meet?14:36
zygaijohnson: so I have an idea where we could optimize away snap-update-ns for _some_ snaps14:36
zygalet's do it here14:36
zygamy network is busy today14:36
ijohnsonsure works for me14:36
zygapart of the work will involve snap-update-ns working on slightly different basis14:36
zygaand if we can statically detect from snapd that the fstab profile to apply doesn't need sophistication (more on what that means in a moment)14:37
zygawe could implement that in snap-confine like before14:37
zygasophistication is specifically needing to create mimics14:37
zygawithout mimics input profile is the output profile14:37
zygaand we can just execute mounts in order and be done with it14:37
zygawe could detect if mimics are needed with a simulation approach, that plans what it would take to apply a mount profile we generate for a snap14:38
zygaright now we don't know until runtime14:38
zygalast week I was experimenting a little, extending the Assumptions struct with knowledge about the base snap14:38
zygaso that we could simulate application and know if mimic is needed or not14:38
zygait's a bit hand wave-y at the moment *but* we could optimize away snap-update-ns in many cases, I believe14:39
ijohnsonrelated question: when we preserve a mount ns, does that persist across boots, or is it just valid for the current boot? I think it's not persistent since it's in /run, correct?14:39
zygaijohnson: no, it's just a memory construct14:39
ijohnsonright14:39
zygait's only in kernel memory14:39
zygaijohnson: even outside of /run14:39
ijohnsonoh right cause it's just a fd got it14:40
zygait's a nsfs filesystem object we are saving14:40
ijohnsondo we create mimics for content interfaces as well as layouts? I think yes?14:41
zygaijohnson: yes14:41
zygaijohnson: there's no difference between them14:41
ijohnsonhmm I guess I'm not quite following which information we're missing when snap-confine runs that currently we have to wait until runtime for14:42
zygaijohnson: let's have a call :")14:42
zygait could be faster than me typing14:42
ijohnsonhaha ok14:43
ijohnsonmborzecki did you want to join as well?14:43
zygahttps://meet.google.com/nbn-avuw-zwh?authuser=114:43
* zyga breaks for lunch15:01
* cachio lunch15:03
ograijohnson, FYI ... https://github.com/snapcore/snapcraft/blob/master/snapcraft/internal/mangling.py#L2815:10
ijohnson... of course15:10
ogranot sure that is still used though ... but it used to re-write all python shebangs in all python scripts during snap build15:10
ogra(that is why i suggested the change in the forum)15:11
ijohnsonwell I suggest snapcraft not do that in the name of performance, but perhaps there's a good reason why snapcraft used to do that15:12
ograyes, because you cant be sure core/core18 has the same interpreter as the snap15:12
ogra(someone might pull python 3.9 from a PPA r whatnot)15:12
ograbut yeah, the performance impact is quite significant ... i noticed that with my little robot arm when i tried to snap some movement scripts (shell wrappers that then call a python script ... the moves got seriously slower)15:14
ograless than half the speed in the end ...15:15
ijohnsonogra: but even if you pull python 3.9 from a PPA into your snap, you would know that you want your python script to use python 3.9, so you would set that up?15:15
ijohnsoni.e. $SNAP/usr/bin/python3.9 or some such15:15
ograsure, if i only have one .py script and have full control over the upstream source ...15:16
ijohnsondo any of your python scripts need to load C libraries?15:16
ograif you pull in multiple scripts from external parts/sources it gets more tricky15:16
ijohnsonerr just dynamic libraries in general ?15:16
ograit might make sense to keep this shebang rewrite but make it configurable ...15:17
ijohnsonsure I could see making it configurable15:17
ograso you can actually give the target shebang in a snapcraft.yaml option15:17
ograand let it default to /usr/bin/env ...15:17
ograbut thats for the snapcraft team15:18
ijohnsonwhy is the forum so slow now, I know it was updated but it feels like it takes much longer to load just small pages15:19
ograi use an electron app for the frum ... and noticed wiping all the app cache gets it back to being normally responsive15:20
ograperhaps try wiping the cache for snapcraft.io in your browser ?15:20
ijohnsonhmm good idea15:23
mborzeckiijohnson: missed that, went for lunch15:23
ijohnsonmborzecki: np main conclusion was that I was going to do some profiling of snap-update-ns and zyga had some ideas on how to make it quicker15:24
zygaindeed15:24
zygamborzecki: you didn't miss anything new15:25
zygamborzecki: we can have another chat about the details that relate to robustness later next week15:25
mborzeckiijohnson: cool, there's a bunch of operations triggered by the themes, wonder if skipping themes snap would show a significant change15:25
ijohnsonyeah there is a lot from the themes snap, so that's an interesting thing to try as well15:25
ijohnsonthough with themes that's only gonna get worse as we get greedy plugs :-(15:25
mborzeckiijohnson: discarding the mount ns and disconnecting the contnt interface should be enough15:26
ijohnsonwell it's a bit more tricky since the theme interface auto-connects and I'm testing first launch, so there's a bit of caching that the desktop-launch helper does as well that's a bit tedious to cleanup15:27
ijohnsonbut just removing the plug from snap.yaml is probably sufficient15:27
mborzeckiijohnson: rm -rf ~/snap/gnome-calculator make it pretty much like the first run15:28
* pstolowski lunch15:28
zygamborzecki: for the purpose of helpers, yes15:28
ijohnsonyes but I still think it's a more accurate representation to remove the whole snap and try15:28
zygaijohnson: you can rm snap user data and discard15:28
zygaijohnson: it's really a good performance reset method, especially if you drop disk caches15:29
zygaijohnson: otherwise installation may mask some of that15:29
ijohnsonyes I know about all of this, my scripts will delete all of $SNAP_USER_DATA, remove the snap, discard the ns, drop all caches then reinstall and measure performance15:29
ijohnsonI just think it's easier to just remove the snap to measure performance data15:30
zygaijohnson: that's okay but keep the fact that installation absorbs some of first run cost15:30
zygaijohnson: so you may masking part of the measurement15:30
ijohnsonthat's my whole point15:30
zygaijohnson: yes but it's not representative15:30
zygaijohnson: it depends of what the snap is looking15:30
ijohnsonit is representative of a user who runs the software15:30
zygaer15:30
zygadoing15:30
zygaijohnson: not quite, it's only representative of that snap alone15:31
zygaijohnson: e.g. presence of install or configure hook will skew results15:31
ijohnsonthis is why I am doing these tests across multiple different kinds of snaps15:31
zygaijohnson: this is why I emphasize it matters what happens during installation15:31
zygaijohnson: to get realistic results neuter install and configure hooks (remove them entirely)15:31
ijohnsonyes I understand all of what you're saying and it's all being taken into account, I am taking these things into account15:32
zygagreat15:32
zygaijohnson: looking forward to what you find, let's talk about it tomorrow15:33
mborzeckizyga: ijohnson: looking at both snaps, connecting gnome-platform shouldn't generate many 'actions' in snap-update-ns, so it's just themes really15:35
zygamborzecki: one thing worth of note15:36
mborzeckiand wonder if that's a dynamic cost incurred by actual layout ops, or a static cost due to just forking & running snap-update-ns15:36
zygamborzecki: is the mimic cost15:36
zygamborzecki: I think it's both15:36
zygamborzecki: static cost is fixed and should be good to compare huge layout/content vs empty one that is there so that we fork anyway15:37
mupPR snapd#7757 opened: devicestate: rename ensureSeedYaml -> ensureSeeded <Created by mvo5> <https://github.com/snapcore/snapd/pull/7757>15:37
zygamborzecki: dynamic cost largely depends on where we mount stuff, as mimic cost varies hugely15:37
mborzeckiyeah, we might need to rebind lots of stuff if it hits at the wrong place :/15:37
zygayes15:38
ijohnsonzyga, mborzecki: just with the measurements I already have, if I run `sudo snap run --shell gnome-calculator -c "echo"` (note the sudo so we are just setting up the per-snap ns and not the per-user ns), then when I run `snap run gnome-calculator`, the time for the first launch of snap-update-ns is 406ms vs 9ms so I really don't think that just forking/execing a go binary is adding that much15:44
zygaijohnson: hmm?15:45
zygaijohnson: I could be misunderstanding things15:45
zygabut the first invocation, as root, cached everything15:45
zygaijohnson: and the second one reused that15:45
ijohnsonwell the second one had to still do the per-user ns15:45
ijohnsonit still ran snap-update-ns15:45
zygaijohnson: yes but it's running a binary that was just invoked15:46
zygaijohnson: not saying it's wrong15:46
zygaijohnson: it would be good to get the SNAP_CONFINE_DEBUG=yes timings15:46
ijohnsonI drop all caches between these two runs15:46
ijohnsonyes will provide that later, still catching up on some things this morning15:46
zygaijohnson: that will show us how long it takes to mount everything15:46
zygaok15:46
mborzeckibtw. thinking we could strace it ;) just the mounts15:47
mupPR snapd#7758 opened: devicestate: add reading of modeenv to uc20 firstboot code <Created by mvo5> <https://github.com/snapcore/snapd/pull/7758>15:48
mborzeckiijohnson: zyga: totally unscientific: https://paste.ubuntu.com/p/txq2Z3Zj59/15:50
zygathat's realistic, cost of crafting a large mimic15:51
mborzeckizyga: ijohnson: https://paste.ubuntu.com/p/STzxjc9htm/ wait4 is really high, is that the deskotp helpers?16:01
zygadunno16:01
zygacould that be snap-confine waiting for snap-update-ns?16:01
zygaor desktop helpers and their shelly nature16:02
mborzeckizyga: ijohnson: /snap/gnome-calculator/544/snap/command-chain/desktop-launch is at the top when running with --trace-exec, so meh16:03
zygaso that's that16:03
zyganot doing a gazillion mounts would be a good optimization16:04
ijohnsonUnclear, the go runtime does do lots of wait4 for it's threads and such16:04
zygakernel work upstream to get apparmor and overlayfs to talk to each other would remove the need for virtually all of those16:04
ijohnsonBut also the shell desktop helpers are really slow too16:04
* ijohnson has no unread emails, will commence investigations after some toast 16:05
=== heather is now known as hellsworth
* ogra sets up his spam filter to re-direct some of the mails to ijohnson so he doesnt run out of mails to read16:07
mupPR snapd#7758 closed: devicestate: add reading of modeenv to uc20 firstboot code <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/7758>16:10
mupPR snapd#7759 opened: devicestate: add reading of modeenv to uc20 firstboot code  <Created by mvo5> <https://github.com/snapcore/snapd/pull/7759>16:24
mupPR snapcraft#2814 opened: Remove gsettings from comment in kde extension <Created by hellsworth> <https://github.com/snapcore/snapcraft/pull/2814>16:29
mupPR snapd#7760 opened: snap-bootstrap: write /run/mnt/ubuntu-data/var/lib/snapd/modeenv <Created by mvo5> <https://github.com/snapcore/snapd/pull/7760>16:47
jdstrandzyga: well, 'yes' but we also need the gagillion mounts cause overlayfs in the form needed to play well with LSMs is not in supported kernel versions either16:57
jdstrand(assuming it and apparmor did play well together, which they eventually will)16:58
zygajdstrand: totally, just as an optimization16:58
zyga(eventually)16:58
jdstrandit will be nice to have that, yes16:59
mupPR snapd#7761 opened: devicestate: make /var/lib/snapd/seed available in install mode <Created by mvo5> <https://github.com/snapcore/snapd/pull/7761>17:16
mvoxnox: I would love to talk about pr #7744 tomorrow, essentially just double checking if the approach works for you etc. maybe we can chat tomorrow morning about this?17:18
mupPR #7744: snap-bootstrap: set expected filesystem labels <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/7744>17:18
xnoxok17:19
zygaI'll grab some drinks and be back soon17:23
pstolowskimvo, zyga: i asked cachio to run updated bionic against old 4.15 kernel, and the mount-ns test passed. so it means it's 5.0 kernel indeed17:37
pstolowskixnox: ^ also fyi17:37
mvopstolowski: thank you!17:39
pstolowskimvo: credit goes to Sergio!17:39
pstolowskimvo: and thanks for hinting at the kernel!17:40
=== pstolowski is now known as pstolowski|afk
zygapstolowski|afk: thank you17:50
cmatsuokamvo: what would be a good place to add a kernel cmdline parser? osutil maybe?17:53
zygacmatsuoka: osutil is becoming dense, perhaps a sub-package? though I believe pedronis has an opinion on that too18:34
mvocmatsuoka: I think we may not need one actually - please check https://github.com/snapcore/snapd/pull/776018:46
mupPR #7760: snap-bootstrap: write /run/mnt/ubuntu-data/var/lib/snapd/modeenv <Created by mvo5> <https://github.com/snapcore/snapd/pull/7760>18:46
mvocmatsuoka: this will add the "mode=install" to /var/lib/snapd/modenv18:47
mvocmatsuoka: AIUI you use the cmdline to get the snapd_recovery_mode?18:47
mvocmatsuoka: or for something else? if for snapd_recovery_mode modeenv is probably the easiest way18:47
cmatsuokamvo: yes, it was for snapd_recovery_mode18:53
cmatsuokamvo: I'll check #776018:53
mupPR #7760: snap-bootstrap: write /run/mnt/ubuntu-data/var/lib/snapd/modeenv <Created by mvo5> <https://github.com/snapcore/snapd/pull/7760>18:53
mvocmatsuoka: https://github.com/snapcore/snapd/pull/7759 is probably slightly simpler18:56
mvocmatsuoka: it contains just the reading part18:56
mupPR #7759: devicestate: add reading of modeenv to uc20 firstboot code  <Created by mvo5> <https://github.com/snapcore/snapd/pull/7759>18:56
mvocmatsuoka: not yet pedronis approved so be warned :)18:56
mvocmatsuoka: I added a question in the https://docs.google.com/document/d/1UZm-Eis2p9owBpskuwxPjMqKYHq9zm2hUGP_VD0w9Rw/edit#18:59
mvocmatsuoka: hopefully this does not block you?19:00
cmatsuokamvo: don't worry, it doesn't19:03
mvoexcellent19:05
cmatsuokamvo: is there a more direct way to get a gadget MountDir() than getting the snap name and then getting the info from snapstate.CurrentInfo()?19:05
mvocmatsuoka: I think that's the quickest way currently19:07
cmatsuokamvo: ok, thanks19:07
* cmatsuoka still a bit confused with the data structures19:07
zygaI've implemented the new systemd thing and it seems to be okay19:18
zygaI'll try to propose it tomorrow, there are a few details I want to get nicer before I open it so nothing tonight19:18
zygaI'll call it a day19:19
zygasee you all tomorrow19:19
ijohnsonhave a good evening zyga!19:31
mupPR snapd#7702 closed: tests: adding fedora 31 <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7702>20:02
mupPR snapcraft#2815 opened: minor developer env/doc updates <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2815>20:12
ijohnsonhey kenvandine, are you a good person to ask about gnome snaps such as gnome-calculator?20:24
kenvandineijohnson: yes20:24
kenvandinehowever i'm not really here today :)20:24
kenvandinei'm off and about to run out to pick up kids20:25
ijohnsonah ok, is there someone who is really here who might know more?20:25
kenvandinehellsworth maybe20:25
kenvandineor marcustomlinson in #ubuntu-desktop20:25
kenvandineijohnson: or i can help tomorrow20:25
ijohnsonack I'll see if anybody in ubuntu-desktop can help, otherwise I'll catch you tomorrow20:26
ijohnsonthanks!20:26
marcustomlinsonI'm barely here20:26
marcustomlinson:P20:26
kenvandinemarcustomlinson: oh... tab complete didn't find you :)20:26
kenvandinethanks20:26
* kenvandine runs out20:26
ijohnsonhaha, well I'll just throw out my question in ubuntu-desktop anyways20:26
hellsworthijohnson: what's your question20:26
hellsworthi can try to help20:26
hellswortheither here or in ubuntu-desktop20:27
hellsworthactually, ubuntu-desktop is prob best20:27
kyrofazyga, I know you're probably out but maybe I can catch you in the morning: do you have any clues about this? https://bugs.launchpad.net/snapd/+bug/184767322:35
mupBug #1847673: Nextcloud snap auto-updated a few days ago. Since then, I've had 100% CPU use by snapfuse. <snapd:Invalid> <https://launchpad.net/bugs/1847673>22:35
kyrofaI'm getting more reports of it for Nextcloud, and I'm the one who told them to file against snapd. snapfuse is just uncompressing the snap, right? Why should it be eating so much CPU? Is there something the snap could be doing to cause it?22:36
mupPR snapd#7762 opened: Core 20 install mode handling <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/7762>22:53

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