/srv/irclogs.ubuntu.com/2021/01/15/#snappy.txt

=== mup_ is now known as mup
mupPR snapd#9841 opened: usersession/agent: change ~/snap perms to 0700 on startup <Bug> <Needs security review> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9841>01:04
mborzeckimorning06:43
zygahello07:25
zygamborzecki, mvo is not up yet, please tell him about debian freeze07:25
zygahttps://lists.debian.org/debian-devel-announce/2021/01/msg00002.html07:25
mborzeckizyga_: hey, will do07:25
zygamborzecki, it may be the right moment to update the package07:25
zygamborzecki, there are few releases missing: https://tracker.debian.org/pkg/snapd07:26
zygaand all kinds of things not good07:26
mborzeckimvo: hey07:56
mborzeckimvo: zyga indicated  debian freeze is starting https://lists.debian.org/debian-devel-announce/2021/01/msg00002.html07:56
mborzeckimvo: and we're bit behind with snapd updates https://tracker.debian.org/pkg/snapd07:57
mvomborzecki: uh, great point. I had 2.48 in the pipeline but one unit test failure caused issues07:58
mvomborzecki: I will cherry-pick the fix07:59
jameshmvo: so, my library dependency checker shows that the snapd snap is missing libz.so.1, libudev.so.1, and libfuse.so.2: https://paste.ubuntu.com/p/m5RHWNs7jn/08:10
mvojamesh: oh, nice08:13
mvojamesh: thanks for this!08:13
mvojamesh: and a bunch of stuff that is unused or are those false positives?08:13
pstolowskimorning08:14
mvogood morning pstolowski08:14
jameshmvo: some are false positives, since they're probably deps of NSS plugins (which my code is treating as regular libraries)08:14
jameshmvo: I think most of those are deps of the NSS plugins, but it's possible there is some real unused ones.  I might try adding a hack to special case libnss_*08:15
* mvo nods08:17
mvojamesh: yeah, that would be great08:17
mborzeckimvo: jamesh: libudev is required by s-c, and libz for (mk|un)squashfs iirc08:17
mborzeckii assumed we don't ship them because they are so comment, should exist in the target system (even for reexec) and have a stable abi08:18
jameshmborzecki: there's a copy of glibc, which you could assume is stable08:19
mborzeckijamesh: yeah, that is a bug afaict, when i tried shrinking the snapd snap, i removed glibc, nss and some other stuff08:19
jameshmborzecki: I can produce another version that assumes the libraries in core08:20
jameshmvo, mborzecki: here'08:24
jameshs a version hacked to tread libnss_* as non-libraries, plus a run assuming core snap libs: https://paste.ubuntu.com/p/PfZQSv8HHr/08:24
mvojamesh: sweet08:25
mborzeckijamesh: nice, that looks really great08:26
mborzeckijamesh: this is the naiive list of files that are duplicated by the snapd snap https://paste.ubuntu.com/p/jt4XsvQbTJ/, i see a couple of entries that are in your list too, meaning we should really dump them08:28
jameshmborzecki: my code assumes you want the gconv shared libraries since they aren't in libdir08:29
jameshbut yeah, you almost certainly aren't using libc iconv()08:30
dot-tobiashi all10:03
pedronismborzecki: does tests/main/dirs-not-shared-with-host/task.yaml still need a change in #9819? I'm not sure I get the conclusion of the discussion there10:07
mupPR #9819: snap-confine: make host /etc/ssl available for snaps on classic <Needs Samuele review> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9819>10:07
mborzeckipedronis: hmm i'll push a cosmetic tweak for https://github.com/snapcore/snapd/pull/9819#discussion_r55747119010:09
mupPR #9819: snap-confine: make host /etc/ssl available for snaps on classic <Needs Samuele review> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9819>10:09
mborzeckiother than that, i think that PR is good as it is10:09
pedronismborzecki: I thought we wanted to use a different dir again in that test to cover more distros?10:10
pedronismborzecki: this: https://github.com/snapcore/snapd/pull/9819/files#r55719428310:10
mupPR #9819: snap-confine: make host /etc/ssl available for snaps on classic <Needs Samuele review> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9819>10:10
mborzeckipedronis: we can't, the only other viable dir is /etc/alternatives, but that is not present in core10:11
pedronismborzecki: ah, that's the part I missed10:12
mborzeckisorry, my comments in the PR were probably a bit confusing10:12
pedronisthey were :)10:12
mborzeckipushed taht cosmetic tweak now, i'll add comment about directories10:13
zygacachio, the dependency bump PR is green, thank you for the review12:19
zygado you do regular PR reviews with niemeyer?12:19
cachiozyga, I do on demand12:19
zygaokay, I'll be done with FOSDEM soon and then I will start pushing more patches12:20
cachiozyga, nice12:20
zygait would be good to at least land the first green PR as it's fixing a broken situation of the current CI12:20
zygaso that remaining PRs can be given some chance of being tested12:20
cachioI'll can review as well12:20
cachiowhich other PRs are comming?12:21
zygacachio, more fixes, then lots of qemu features12:21
mborzeckihm the ssl pr broke tests/main/mount-ns test12:22
mborzeckilooks like the test needs to be updated now12:22
cachiozyga, nice, please ping me if you need reviews12:24
pedronispstolowski: I commented on the snapshot conflicts PR and also on the preseed --reset one, the latter seems that instead of changing the test maybe we should change the behavior, see comment12:56
pstolowskithanks12:56
mborzeckimvo: i'll push a fix for mount-ns spread test to #9819 in a bit, spread run is finishing just now13:19
mupPR #9819: snap-confine: make host /etc/ssl available for snaps on classic <Needs Samuele review> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9819>13:19
zygamborzecki, ping me for review13:21
pstolowskineed 2nd review for https://github.com/snapcore/snapd/pull/9838, it's simple and green13:48
mupPR #9838: asserts: sort by revision with Sort interface <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9838>13:48
zygapstolowski, on it14:02
zygapstolowski, done14:04
pstolowskizyga: thanks!14:07
zygapstolowski, my pleasure :-)14:07
mborzeckizyga: the data for mount-ns was updated in https://github.com/snapcore/snapd/pull/981914:47
mupPR #9819: snap-confine: make host /etc/ssl available for snaps on classic <Needs Samuele review> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9819>14:47
zygamborzecki, looking14:50
* cachio lunch14:56
zygamborzecki, found a bug15:00
mborzeckizyga: oh? have you posted the review already?15:01
zygamborzecki, https://github.com/snapcore/snapd/pull/9819#pullrequestreview-56932818315:02
mupPR #9819: snap-confine: make host /etc/ssl available for snaps on classic <Needs Samuele review> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9819>15:02
zygajust now15:02
* zyga back to slides, ping if this is unclear please15:02
zygamborzecki, https://twitter.com/zygoon/status/1350096435480580098 ;-)15:04
ijohnsonhuh the gpg error we see in spread tests happened in a spread run too15:50
ijohnsonhttps://pastebin.ubuntu.com/p/DFynyXWzhx/15:50
mupPR snapd#9841 closed: usersession/agent: change ~/snap perms to 0700 on startup <Bug> <Needs Samuele review> <Needs security review> <Squash-merge> <⛔ Blocked> <Created by anonymouse64> <Closed by anonymouse64> <https://github.com/snapcore/snapd/pull/9841>15:59
zygaijohnson, do you think it is real or is expect flaky?16:05
ijohnsonit's real but it's somewhere deep in gpg code16:06
ijohnsonI looked at the unit test failure deeply a few weeks ago and determined that it is likely a bug in gpg itself, but I thought it was interesting it showed up in a spread test on arch, which suggests it's not just an issue with using an older gpg, and that the bug is in upstream since I presume arch is very up to date16:06
zygainteresting16:07
zygarecall how it failed initially - in azure16:07
zygawhen azure ran unit tests16:07
zygaand azure (github I mean) uses a custom image16:07
zygawith updated everything16:07
zygalots of custom tools installed16:07
zygaso I suspect they may have been using more recent version of gpg than other distros16:08
zygauntil arch16:08
zygaI'm not sure, just more likely than noise that it is related16:08
zygadoes it happen on any ubuntu as well?16:08
zygaijohnson, changing rooms, brb if offline16:12
zygaok16:13
ijohnsonzyga: it can be reproduced not on azure as well16:18
zygaijohnson, not on azure?16:18
ijohnsonzyga: you just have to either be patient, or you have to put the system under a lot of load, then the unit test failure is easily reproduced16:18
zygas/not//?16:18
zygahmmm16:18
ijohnsonzyga: yes locally on my machine I can reproduce it16:18
zygaoh!16:18
ijohnsonjust run one of the affected unit tests in a loop like 1000 times16:18
ijohnsonand like compile the kernel at the same time or something16:18
zygahuh, yeah, I would start looking at debug build of gpg :16:18
zyga:/16:18
* zyga makes lots of slides about spread today16:19
ijohnsonyeah I got as deep into the snapd side of calling gpg as I could then wrote up what I found and a debug branch into a doc to have pedronis look at some time to see if we are using gpg wrongly or otherwise find another reproducer16:19
zygaperhaps writing some code that runs gpg by itself would be a good start16:19
zygano go, just gpg16:19
zygaif that breaks it's a clear bug report16:20
* zyga returns to slides16:20
ijohnsonyeah that would be a good start, but that would require a fuller understanding of how we use gpg in snapd which I don't yet have, and so I deferred to pedronis on that16:43
mupPR snapd#9836 closed: cmd/snap-repair: save base snap and mode in device info; other misc cleanups <Needs Samuele review> <Simple 😃> <UC20> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9836>17:04
mupPR snapd#9842 opened: store: switch to v2/assertions api <Needs Samuele review> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9842>17:24
mupPR snapcraft#3359 closed: repo: key management refactor <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3359>18:24
mupPR snapd#9843 opened: packaging: fix arch-indep build on debian-sid <Created by mvo5> <https://github.com/snapcore/snapd/pull/9843>19:40
mupPR snapd#9844 opened: cmd: make string/error code more robust against errno leaking <Created by mvo5> <https://github.com/snapcore/snapd/pull/9844>20:45
=== King_InuYasha is now known as Conan_Kudo
=== Conan_Kudo is now known as King_InuYasha

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