[00:15] <mup> Bug #1839230 opened: duplicate login message on raspberry pi core18 image <core18> <Snappy:New> <https://launchpad.net/bugs/1839230>
[05:24] <mborzecki> morning
[05:34] <mup> PR snapd#7186 closed: gadget: ensure filesystem labels are unique <Gadget update> <Simple 😃> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7186>
[07:07] <pstolowski> mornings
[07:32] <mborzecki> pstolowski: hey
[07:32] <mborzecki> wow, tmux died
[07:32] <mborzecki> as in segfauled and all
[07:36] <zyga> good morning
[07:36]  * zyga is curing his sleep deficit by falling asleep at random times :/
[07:36] <zyga> how are you doing guys?
[07:44] <zyga> sil2100: hello
[07:44] <zyga> sil2100: do you think we can ship bash-completion on core18?
[07:44] <zyga> sil2100: this is reported as https://bugs.launchpad.net/snappy/+bug/1825254
[07:44] <mborzecki> zyga: hey
[07:44] <mup> Bug #1825254: auto-complete doesn't work on ubuntu core 18 <core18> <Snappy:Confirmed> <https://launchpad.net/bugs/1825254>
[07:45] <mborzecki> zyga: tried to investigate the http2 PROTOCOL_ERROR we see randomly, but there's quite a number of places in net/http that generate an error matching the log
[07:45] <mborzecki> zyga: left a topic though https://forum.snapcraft.io/t/snap-download-failures-with-protocol-error/12677
[07:46] <mborzecki> zyga: fwiw, nothign significant in curl output, also a minial http request in tried in go did not raise anytying suspicious
[07:47] <zyga> mborzecki: thank you
[07:47] <zyga> mborzecki: I wonder if it could be a go thing?
[07:47] <zyga> but we didn't change anything on our end, did we?
[07:47] <zyga> no now go compiler rev?
[07:48] <mborzecki> zyga: hm maybe, i can try with older version of go, 16.04 uses 1.10?
[07:48] <zyga> mborzecki: I don't remember, just wonder if it's a bug in go in general and we're hitting it along with others now
[07:48] <zyga> mborzecki: the alternative is that it is a bug in our web side
[07:48] <zyga> mborzecki: but again, I don't have any data to sway either side
[07:49] <zyga> sil2100: on the same vein, is https://mail.google.com/mail/u/1/ something we can fix?
[07:49] <zyga> sil2100: seems like a pair of tweaks to core18
[07:50] <zyga> er :)
[07:50] <zyga> https://bugs.launchpad.net/snappy/+bug/1839230 :)
[07:50] <mup> Bug #1839230: duplicate login message on raspberry pi core18 image <core18> <Snappy:New> <https://launchpad.net/bugs/1839230>
[07:50] <zyga> silly copy paste
[07:52] <mborzecki> zyga: no change with 1.10, wish there was a way to dump the http request/response headers in go in a reliable way
[07:52] <zyga> mborzecki: would using pcap help?
[07:52] <zyga> or are those all ssl?
[07:52] <mborzecki> zyga: uses tls
[07:56] <mborzecki> zyga: about that reddit thread: https://www.reddit.com/r/linux/comments/cmse4r/interview_why_canonical_views_the_snap_ecosystem/ the comemnts are pretty depressing
[07:56] <zyga> yeah, internet is as it was
[07:56] <zyga> I think it's important to have our own voice
[07:57] <zyga> I hope that degville martin and alan can come up with the daily snap podcast or something like that
[07:57] <zyga> I think a good fraction of those comments are just misinformed
[07:58] <mborzecki> also funny how some particular users seem to be repeat the same thing over and over again under a number of submissions
[07:59] <mborzecki> i mean, i understand how one can not like something, but tbh it seems as if some poeple have plenty of free time ;)
[07:59] <zyga> kenvandine: hey, do you know about this issue where the mouse cursor changes appearance inside some snap applications? do you know how this part of the stack works?
[08:00] <zyga> kenvandine: there are some bug reports about it
[08:00] <zyga> one I found just now is: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1579268
[08:00] <mup> Bug #1579268: Mouse cursor is different inside graphical windows of snaps (snaps not using system theme) <Snappy:New> <snapd (Ubuntu):Triaged> <https://launchpad.net/bugs/1579268>
[08:00] <mborzecki> zyga: iirc electron was a suspect there last time
[08:00] <zyga> mborzecki: yeah but electron inside snaps
[08:01] <zyga> mborzecki: we could call the podcast "responding to internet trolls" ;)
[08:11] <zyga> I wish there was one click toggle for dark mode / light mode
[08:12] <zyga> terminal profile, browser profile, terminal window color, etc
[08:12] <zyga> it's annoying to have to do this little by little by hand
[08:13] <mup> PR snapd#7218 opened: tests: measure behavior of the device cgroup <Created by zyga> <https://github.com/snapcore/snapd/pull/7218>
[08:13] <zyga> I'm pushing a PR with the tests that show the bug from Friday
[08:13] <zyga> https://github.com/snapcore/snapd/pull/7218
[08:13] <mup> PR #7218: tests: measure behavior of the device cgroup <Created by zyga> <https://github.com/snapcore/snapd/pull/7218>
[08:13] <zyga> working on the fix, I gave it some thought and while the 1st part of the fix is indeed very easy
[08:13] <zyga> the second part is hard
[08:13] <zyga> the first part is when you "snap connect" the cgroup is confining
[08:14] <zyga> the hard part is when you snap disconnect the last interface affecting udev
[08:14] <zyga> you really need to switch the cgroup to unconfined
[08:14] <zyga> but that's not easy in our model
[08:14] <zyga> it's also related to udev
[08:14] <zyga> so we really need a the equivalent of snap-update-ns for cgroups
[08:14] <zyga> and that's not trivial
[08:21] <sil2100> zyga: ah, yes, should be a easy fix! Let me note that down
[08:29] <zyga> sil2100: thank you!
[09:00] <mborzecki> pulled https://github.com/snapcore/snapd/pull/7166 and the unit tests fail consistently, will investigate more at the airport
[09:00] <mup> PR #7166: client: add doTimeout to http.Client{Timeout} <Created by mvo5> <https://github.com/snapcore/snapd/pull/7166>
[09:01]  * zyga works on fixing https://bugs.launchpad.net/snapd/+bug/1838937
[09:01] <mup> Bug #1838937: device cgroup enforcement is partially ineffective for snap services <snapd:In Progress by zyga> <https://launchpad.net/bugs/1838937>
[09:01] <zyga> mborzecki: thank you!
[09:03] <mborzecki> pstolowski: https://github.com/snapcore/snapd/pull/7209#issuecomment-519009878
[09:03] <mup> PR #7209: firstboot: queue service commands before mark-seeded <Created by stolowski> <https://github.com/snapcore/snapd/pull/7209>
[09:04] <pstolowski> mborzecki: hmm, interesting, ty
[09:07] <mborzecki> ok, wrapping it up and heading to the airport in a bit and the off to Flock
[09:10]  * zyga designs snap-update-cgroup
[09:10] <zyga> it's actually good
[09:10] <zyga> because that's the only part that needs to talk to udev
[09:10]  * zyga thinks about getting breakfast first
[09:24] <pstolowski> ondra: ping
[09:28] <zyga> the easy half is fixed
[09:28] <zyga> now thinking about the "hard" half
[09:29] <zyga> I think I cannot avoid snap-update-ns for cgroups :/
[10:09] <zyga> I wrote https://forum.snapcraft.io/t/the-need-for-snap-update-device-cgroup/12679
[10:09] <zyga> it's a bit hard to follow, I will rewrite that for clarity
[10:09] <zyga> but I think it is unavoidable
[10:11] <zyga> pstolowski, ondra: ^
[10:11] <zyga> ideas welcome
[10:13] <Aavar> Hi! I am having a problem with launching graphical snaps in ubuntu 19.04. Can you help me? https://paste.ubuntu.com/p/2RnQWq3b8Q/
[10:15] <zyga> Aavar: hey, can you run "snap version" please?
[10:15] <pstolowski> zyga: ack
[10:15] <Aavar> zyga, https://paste.ubuntu.com/p/2tkZnVB3pg/
[10:16] <zyga> Aavar: are you running wayland?
[10:16] <zyga> note that snap-store should not be launched as root
[10:16] <Aavar> zyga, No, x11
[10:16] <zyga> Aavar: can you run "snap connections inkscape"
[10:18] <Aavar> zyga, https://paste.ubuntu.com/p/2DRKFM6qcY/
[10:18] <Aavar> (note that I am running Unity7, byt I had the exact same issue when running xfce)
[10:19] <zyga> do you get any apparmor denials? those can be checked by running "dmesg | grep DENIED"
[10:19] <zyga> (it will take me 10 minutes to download inscape on my connection)
[10:20] <Aavar> zyga, yes i do. https://paste.ubuntu.com/p/mzDHfTfg5K/
[10:20] <Aavar> zyga, inkscape was just an exaple. I get similar errors on all apps with a gui.
[10:26]  * zyga tries to open the link but struggles 
[10:27] <zyga> ok, I see it now
[10:27] <zyga> confinement rejects unix sockets
[10:27] <zyga> hmm
[10:27]  * zyga checks
[10:28] <Aavar> zyga, is it better if I paste to pastebin instead?
[10:28] <zyga> Aavar: can you run "snap connections --all inkscape"
[10:29] <zyga> no, it's just my network, I'm sorry about that
[10:29] <Aavar> ok :)
[10:29] <Aavar> zyga, "error: cannot use --all with snap name"
[10:31] <Aavar> zyga, https://paste.ubuntu.com/p/3fQgngzpvd/
[10:31] <zyga> d'oh :/
[10:32] <kenvandine> zyga: cursor themes are just icon themes.  So just more icon themes to add gtk-common-themes
[10:32] <zyga> Aavar: hmmm,
[10:32] <zyga> kenvandine: hey
[10:33] <zyga> kenvandine: can you try to look at the behavior Aavar is reporting, graphical apps don't work, it seems they cannot talk to x11
[10:33] <zyga> kenvandine: one example is inkscape
[10:33] <zyga> Aavar: 5 minutes to inkscape
[10:34] <Aavar> zyga, :)
[10:34] <zyga> 5 minutes till I pull the snap
[10:34] <zyga> I have very slow network this week
[10:35] <Aavar> zyga, I understand :)
[10:36] <kenvandine> Connections look fine
[10:36] <kenvandine> Not sure what's up there
[10:37] <kenvandine> unity7 gives access to x11
[10:37] <kenvandine> I think
[10:37] <kenvandine> I can't look more now, time to get my son off to school
[10:37] <kenvandine> But when I get to work I can
[10:38] <zyga> thank you!
[10:38] <zyga> Aavar: installed
[10:38] <zyga> started fine, apart from fractional scaling
[10:39] <Aavar> kenvandine, thank you. I could just reinstall ubuntu, but it would be great to figure out what I have done to cause this :P
[10:39] <zyga> Aavar: I have the same connections as you did
[10:39] <zyga> Aavar: when did this start to happen?
[10:40] <Aavar> zyga, I few days ago, but I didn't think much of it (just installed the app I needed via apt)
[10:40] <zyga> did any graphical snaps work for you?
[10:40] <zyga> as in before some moment when they all broke?
[10:41] <Aavar> zyga, yes, I used a few (for example inkscape) before they broke.
[10:41] <zyga> can you recall any change at the time it broke?
[10:42] <Aavar> zyga, No, thats the thing. I cant remember anything that would cause this.
[10:42] <zyga> can you look at /var/lib/snapd/apparmor/ and then at the file related to inkscape
[10:42] <zyga> can you pastebin that file (snap.inkscape.inkscape)
[10:45] <Aavar> zyga, cat /var/lib/snapd/apparmor/profiles/snap.inkscape.inkscape
[10:45] <Aavar> zyga, https://paste.ubuntu.com/p/4Zndvv5ZzX/
[10:45] <zyga> yeah
[10:47] <Aavar> (ps: Is it a good idea for the purpouse of testing to stop the apparmor service?)
[10:47] <zyga> no
[10:47] <zyga> it's not a real service
[10:47] <zyga> stopping it won't do us any good
[10:47] <Aavar> ok
[10:47] <zyga> give me a moment
[10:50] <zyga> Aavar: can you pastebin /etc/apparmor.d/abstractions/X
[10:51] <Aavar> zyga, yes. https://paste.ubuntu.com/p/mmMyxsz7sQ/
[10:52] <zyga> in a terminal, can you echo $DISPLAY and ls /tmp/.X11-unix
[10:55] <zyga> Aavar: ^
[10:57] <Aavar> zyga, echo $DISPLAY gives: :0
[10:57] <zyga> ok
[10:57] <Aavar> and ls /tmp/.X11-unix gives: X0
[10:57] <mup> PR snapd#7219 opened: devicestate/firstboot: check for missing bases early <Needs Samuele review> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7219>
[10:58] <zyga> hmmm
[10:58] <zyga> so far everything looks good
[10:58] <zyga> can you run
[10:58] <zyga> sudo apparmor_parser -r /var/lib/snapd/apparmor/profiles/snap.inkscape.inkscape
[10:58] <zyga> and then "snap run inkscape"
[11:00] <zyga> brb
[11:02] <Aavar> zyga, still the same errors: https://paste.ubuntu.com/p/F8dV2x3WHR/
[11:12] <zyga> hmmm
[11:12]  * zyga is lost
[11:12] <zyga> sorry, I have no idea what might be wrong
[11:12] <zyga> I it clear it cannot talk to X but I don't see why
[11:13]  * pstolowski lunch
[11:16] <Aavar> zyga, do you think it could help if I removed everyhing regarding X and reinstall?
[11:16] <zyga> no, I don't think that would help
[11:16] <zyga> I think we need another pair of eyes to understand what is going on
[11:16] <zyga> let's check with kenvandine once he is back
[11:17] <Aavar> zyga, yes :)
[11:25] <ondra> pstolowski hi
[11:25] <ondra> pstolowski sorry I'm still in Canada this week
[11:29] <zyga> ondra: hey :)
[11:30] <ondra> zyga hey
[12:00]  * cachio afk
[12:03] <pstolowski> ondra: ah, i had no idea, sure
[12:13] <jdstrand> sergiusens (cc kyrofa): I looked into why kyrofa was getting snap USN emails for snapcraft. there are entries in the store dump for revisions for which kyrofa was the uploader. those revisions aren't published to any channel in the dump I get though
[12:16] <jdstrand> sergiusens (cc kyrofa): I'd rather not second guess why the store dumps those. would have to talk to roadmr to see (eg, 1549, 1550, 1551, 1552, 1723, 1724, 1725, 1726, 1727)
[12:18] <jdstrand> sergiusens (cc kyrofa): I could change the algorithm for detecting who to send to, but would wan't to hear from roadmr why those revisions are in the dump
[12:18] <jdstrand> want*
[12:20] <sergiusens> jdstrand: thanks for taking a look! Will wait on what the situation is.
[12:47] <mup> PR snapd#7220 opened: cmd/libsnap: don't leak memory in sc_die_on_error <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7220>
[12:48] <zyga> + snap install --dangerous /home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps/test-snapd-timedate-control-consumer/test-snapd-timedate-control-consumer_1.0_all.snap
[12:48] <zyga> <kill-timeout reached>
[12:48] <zyga> hmmmmm
[12:48] <zyga> master is a sad puppy
[12:50]  * zyga breaks
[13:46] <pstolowski> xnox: hey
[13:56] <kenvandine> zyga Aavar: sorry, forgot i have back to back meetings all morning
[14:04] <jdstrand> roadmr: hey, can you look at https://paste.ubuntu.com/p/8m8dzfFRTz/ and get back to me whenever it is convenient?
[14:04] <roadmr> jdstrand: sure, let's see
[14:09] <kenvandine> Aavar: please pastebin the output from this:
[14:09] <kenvandine> ls -ltr /run/user/`id -u`/
[14:10] <jdstrand> roadmr: oh, you know what, I looked at this week's dump (where those revisions are in there with no channel), but the dump in question happened on July 31
[14:10] <jdstrand> roadmr: (if that helps)
[14:10] <roadmr> jdstrand: hmm so maybe they were published at that point in time?
[14:10] <jdstrand> roadmr: note that the USN email that went out on July 31 did not include those channel-less revisions, so I suspect they were channel-less at that time as well
[14:11] <roadmr> hm. ok, jdstrand, we're checking the logic in the dump script
[14:11] <jdstrand> roadmr: thanks. I wouldn't consider this urgent work, so, however you want to prioritize it is fine
[14:12] <jdstrand> roadmr: I thought I remembered there were some brand stores or something that might've pinned old snapcraft revisions for some internal issue that has long since been resolved...
[14:13] <jdstrand> I don't have any more details on that
[14:28] <zyga> back from a walk but I need to eat something first
[14:28] <zyga> because not in a rush I will return in >1hour
[14:28] <zyga> jdstrand: the fix works, I will give first RFC patches today
[14:28] <zyga> jdstrand: it's more complex than before but also easier than I thought :)
[14:28] <zyga> jdstrand: (than in our initial discussions)
[14:29] <zyga> jdstrand: I think overall it's not super complex though
[14:29] <jdstrand> that's cool
[14:29] <zyga> jdstrand: more streamlined I would say :)
[14:29] <zyga> now for that lunch, I'm starving :)
[14:29] <jdstrand> I like the more deterministic aspect
[14:29] <jdstrand> zyga: note, I'm stepping away
[14:29] <jdstrand> for a little bit
[14:29] <zyga> jdstrand: that's okay
[14:29] <zyga> I'm very sleepy all day long, cannot readjust
[14:31] <jdstrand> zyga: yeah, hope you get back on track soon
[14:55] <cachio> zyga, hey, I see 2 unit tests faiing https://paste.ubuntu.com/p/Ky4pw9G38D/
[14:55] <cachio> seem to be related both fails
[14:55] <cachio> zyga, do you know if it a new thing?
[14:56] <zyga> cachio: it's a thing maciej was investigating lately
[14:56] <zyga> he sent a PR to fix it
[14:57] <cachio> zyga, nice
[14:57] <cachio> I'll take a look
[14:57] <cachio> thanks
[14:57] <zyga> cachio: but I don't know if that's enough, I think we have some more bugs in this area
[15:00] <cachio> zyga, ok, thanks for the info
[15:12] <zyga> cachio: I his PR has landed, it was 7215
[15:13] <cachio> zyga, in that case there is something wrong because the next Pr merged failed wiht the error I showed
[15:13] <cachio> the #7186
[15:14] <mup> PR #7186: gadget: ensure filesystem labels are unique <Gadget update> <Simple 😃> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7186>
[15:14] <zyga> yeah, I think it's just buggy still
[15:34]  * cachio lunch
[16:57] <mup> PR snapd#7213 closed: cmd/snap-confine: implement snap-device-helper internally <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/7213>
[17:04]  * zyga takes a break
[19:09]  * cachio afk
[20:29] <mup> PR snapd#7221 opened: tests: split the sbuild test in 2 depending on the type of build <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7221>
[20:36] <hellsworth> kenvandine
[20:37] <hellsworth> ha i ctrl+f and that doesn't work in polari apparently
[20:39] <mup> PR snapcraft#2653 closed: scriplets: run override-pull on update_pull <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2653>
[23:30] <mup> PR snapcraft#2654 closed: click: update to 7.0 <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2654>
[23:42] <mup> PR snapcraft#2656 opened: appstream: xslt support for ul nested in p <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2656>
[23:57] <mup> PR snapcraft#2657 opened: Release changelog for 3.7.2 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2657>