[05:20] <mborzecki> morning
[07:06] <pstolowski> mornings!
[07:18] <mborzecki> pstolowski: hey, welcome back, well rested?
[07:19] <pstolowski> mborzecki: yep! i had great time, thanks
[07:19] <mborzecki> pstolowski: nice ;)
[07:20] <pstolowski> mborzecki: how was it here?
[07:20] <mborzecki> pstolowski: few of us left this week, mvo on vac, pedronis & zyga attending a sprint
[07:20] <mborzecki> pstolowski: rather quiet
[07:52] <mup> PR snapd#7183 opened: [RFC] many: drop snap.ReadGadgetInfo wrapper <Gadget update> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7183>
[08:07] <mborzecki> unit tests hanging on travis again, hmm
[09:04] <Chipaca> hah! finding bugs during a refactor is fun
[09:08] <mborzecki> Chipaca: bugs == fun
[09:08] <mborzecki> Chipaca: unless they bite, then run
[09:08] <mup> PR snapd#7184 opened: daemon: do not modify test data in user suite <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7184>
[09:09] <mborzecki> Chipaca: can you take a look ^^ ?
[09:14] <Chipaca> mborzecki: in a mo'
[09:14] <mborzecki> Chipaca: sure, thanks!
[09:14] <mup> PR snapd#7185 opened: boot, etc.: refactor boot to have a lookup with different imps <Created by chipaca> <https://github.com/snapcore/snapd/pull/7185>
[09:32] <mborzecki> brb
[09:48] <zyga> Good morning
[09:49] <mborzecki> zyga: hey
[09:49] <mborzecki> zyga: how was the trip?
[09:52] <zyga> hey
[09:53] <zyga> my flight had 3 hour delay because they had to fly in a replacement
[09:53] <zyga> but otherwise it was totally uneventful and pleasant
[09:54] <pstolowski> hey zyga!
[09:54] <zyga> hey pawel
[09:55] <zyga> guys, a small heads up
[09:55] <zyga> despite the sprint I will try to land bug fixes
[09:55] <zyga> I think core and ubuntu are green now
[09:55] <zyga> fedora still has some interactions with lxd that I need to address
[09:55] <zyga> my goal is to make https://github.com/snapcore/snapd/pull/7168 landable
[09:55] <mup> PR #7168: tests: measure testbed for leaking mountinfo entries <Created by zyga> <https://github.com/snapcore/snapd/pull/7168>
[09:56] <zyga> sorry about the noisy PRs, I'll try to garden them throughout the day
[09:56] <zyga> if you need anything from me urgently please use telegram
[09:56] <pstolowski> ack
[09:56] <zyga> if you don't have me on telegram ping me on IRC, i'll try to check from time to time
[10:10] <Chipaca> pstolowski: hey! wb :-)
[10:10] <pstolowski> Chipaca: o/
[10:10] <pstolowski> Chipaca: thanks for helping land some of my PRs while i was off
[10:11] <Chipaca> pstolowski: sorry we couldn't manage to land them all :)
[10:12] <pstolowski> Chipaca: nah, it was better than expected!
[10:13] <pstolowski> Chipaca: afaiu the PR about snapd type & snapcraft needs passthrough for now, was this something you discussced & agreed on?
[10:14] <Chipaca> pstolowski: i think using passthrough was deemed acceptable for now
[10:14] <Chipaca> pstolowski: but i'm not 100% positive on that
[10:15] <pstolowski> k. i'll give it one more try on spread and see if i can find anything before trying passthrough
[10:35] <mup> PR snapd#7186 opened: gadget: ensure filesystem labels are unique <Gadget update> <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7186>
[10:35] <Chipaca> I like that Fedora Workstation automatically creates a mugshot for your user, based on your initials
[10:36] <Chipaca> I particularly like it because, as per my usual approach, the user's name is Fedora User
[10:36] <mborzecki> simple one ^^ pstolowski maybe?
[10:36] <Chipaca> so password prompts are like 'FU gimme your password'
[10:36] <Chipaca> i like distros with attitude
[10:37] <mborzecki> hahaha
[10:39] <mborzecki> anyone noticed unit tests getting stuck recently?
[10:43] <Chipaca> not me
[10:43] <Chipaca> mborzecki: where?
[10:44] <mborzecki> Chipaca: go test ./... as run on travis seems to get stuck randomly, i can't reproduce it locally though
[10:54] <pstolowski> mborzecki: yeah i think i've just experienced it on my PR
[10:58] <mborzecki> pstolowski: yay
[10:59] <mborzecki> pstolowski: did you get a bracktrace by any chance?
[10:59] <pstolowski> mborzecki: nope, it was on travis
[10:59] <mborzecki> pstolowski: there were some changes recently around socket listen in deamon, i'm suspecting that might be the cause
[11:23] <zyga> mborzecki: can you try go test with race detector?
[11:34] <mborzecki> zyga: nothing comes up
[11:39] <mborzecki> zyga: more problems with lxd & unified cgroups https://forum.snapcraft.io/t/lxd-3-15-fails-with-unified-cgroup-hierarchy/12462/10
[11:42] <zyga> mborzecki: hey
[11:42] <zyga> looking
[11:47]  * Chipaca lunches
[11:55] <mborzecki> pstolowski: pinged you in https://github.com/snapcore/snapd/pull/7187
[11:55] <mup> PR #7187: data/selinux: allow snap-confine to read entries on nsfs <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7187>
[11:55] <mborzecki> zyga: is this something you saw in your tests too? ^^
[11:55] <mup> PR snapd#7187 opened: data/selinux: allow snap-confine to read entries on nsfs <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7187>
[12:03] <zyga> mborzecki: re
[12:03] <zyga> mborzecki: I don't believe so but I didn't focus on fedora yet, it's the next pass
[12:03] <zyga> mborzecki: I didn't get a clean run on fedora yet
[12:04] <mborzecki> zyga: ok
[12:18] <zyga> I'm working on fixing the fedora leaks now
[12:26] <micah> hi, it seems my 'core' is in the state 'broken', how do I fix that?
[12:26] <Chipaca> zyga: I don't do it this way: https://www.telegraph.co.uk/politics/2019/07/28/dominic-cummings-one-strike-ban-cabinet-leaks-leaked-daily-telegraph/
[12:27] <Chipaca> micah: what kernel are you running?
[12:27] <micah> seems I needed to remove core and install core
[12:28] <micah> Chipaca: 4.14.119
[12:28] <Chipaca> micah: hm, that should be working fine (5.2 has some issues)
[12:29] <Chipaca> micah: how did this happen?
[12:38] <micah> Chipaca: i dont know how... but it seems when I restart, its broken again
[12:39] <Chipaca> micah: can you do: snap info cpre | pastebinit
[12:39] <Chipaca> er
[12:39] <Chipaca> micah: can you do: snap info core | pastebinit
[12:40] <Chipaca> micah: or even better,
[12:40] <Chipaca> micah: can you do: snap info --verbose core | pastebinit
[12:42] <micah> Chipaca: https://pastebin.com/b4dWfzT9
[12:42] <ogra> "snap version2 too
[12:43] <ogra> err
[12:43] <ogra> "snap version"
[12:43] <ogra> (little weakness of the shift key)
[12:43] <ogra> 4.14.119 sounds like some random mainline kernel ...
[12:44] <mborzecki> ogra: hmm, sounds like an LTS kernel tbh
[12:45] <micah> https://pastebin.com/2mRCq9K7
[12:46] <Chipaca> micah: systemctl --all --failed | grep snap  ?
[12:46] <ogra> mborzecki, well ... 4.14.119-2.pvops.qubes.x86_64
[12:46] <mborzecki> ogra: 4.14.119 with qubes patches on top likely
[12:47] <ogra> mborzecki, definitely not an ubuntu kernel (though this seems to be debian ... but also not a debian archive kernel for sure)
[12:47] <ogra> mborzecki, sure, but you cant know what config options are set, if the apparmor patches are complete etc
[12:48] <ogra> it is simply not "some distro standard kernel"
[12:48] <mborzecki> ogra: or whether it defaults to selinux like the mainline builds did/do :)
[12:49] <ogra> yep :)
[12:49] <Chipaca> ogra: i'm not going to abort any support as soon as the kernel isn't on a known-good list
[12:49] <ogra> Chipaca, i didnt ask that anyne stops supporting ... it is just an important fact to know about during support
[12:49] <ogra> *anyone
[12:49] <Chipaca> micah: please pastebin the output of that?
[12:52] <micah> Chipaca: seems systemctl --all --failed | grep snap doesn't give me anything
[12:52] <Chipaca> micah: so what's at /snap/core/current ? (try with ls -l)
[12:52] <micah> lrwxrwxrwx 1 root root 4 Jul 29 08:27 /snap/core/current -> 7270
[12:53] <Chipaca> micah: and in 7270?
[12:53]  * Chipaca goes for tea
[12:53] <micah> and 7270 is empty
[12:56] <Chipaca> micah: does 'systemctl --all | grep snap' give you anything?
[12:58] <micah> Chipaca: it does
[12:59] <Chipaca> micah: can i see?
[13:01] <Chipaca> pstolowski: cachio: standup?
[13:01] <micah> Chipaca: https://pastebin.com/pNsjmY9u
[13:02] <Chipaca> degville: standup?
[13:10] <Chipaca> micah: systemctl status snap-core-7270.mount ?
[13:10] <micah> chipaca: https://pastebin.com/hySYpyXv
[13:12] <Chipaca> micah: systemctl start snap-core-7270.mount ?
[13:13] <micah> Chipaca: that seems to start it
[13:14] <micah> and 7270 now has things in it
[13:17] <Chipaca> micah: ok, systemctl restart snapd.service, to get things back in shape
[13:18] <Chipaca> micah: something went wrong somewhere with systemd for that to be broken, but if you don't know what ¯\_(ツ)_/¯
[13:18] <mborzecki> grr go 1.13 runtime now pokes /sys/kernel/mm/transparent_hugepage/hpage_pmd_size during startup, making selinux complain each time you run snap* command
[13:19] <Chipaca> stgraber: do you have a link to the 5.3 mount api breakage?
[13:23] <micah> Chipaca: yeah, definately... too bad I dont know what
[13:29] <Chipaca> micah: would be good to know if it's still ok on reboot
[13:33] <micah> Chipaca: i'll try in a second
[13:34] <Chipaca> micah: no rush, we'll be here tomorrow
[13:34] <Chipaca> :)
[13:43] <mborzecki> https://github.com/snapcore/snapd/pull/7187 unit tests hanging on travis again :/
[13:43] <mup> PR #7187: data/selinux: allow snap-confine to read entries on nsfs <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7187>
[13:45] <Saviq> cachio: hey, would you consider having a `ubuntu-devel` image for spread?
[13:46] <Saviq> Our at least build a 1910 one?
[13:46] <Saviq> *Or
[13:46] <cachio> Saviq, sure
[13:47] <cachio> Saviq, but also you can used the one published by canonical
[13:48] <stgraber> Chipaca: https://lkml.org/lkml/2019/7/26/388
[13:49] <Saviq> cachio: could you review our list please https://github.com/MirServer/mir/blob/master/spread.yaml#L14 ?
[13:50]  * Saviq tries to remember why we don't use the official images in the first place…
[13:51] <cachio> Saviq, just run: gcloud compute images list --project ubuntu-os-cloud-devel
[13:51] <cachio> this will give you all the devel imags
[13:52] <Chipaca> stgraber: thanks
[13:52] <cachio> you just can use any of these by doing image: ubuntu-os-cloud-devel/<image-name>
[13:53] <Saviq> cachio: thanks, I'll try, I never got gcloud working properly here…
[13:53] <cachio> Saviq, https://paste.ubuntu.com/p/z9ckvYwScZ/
[13:53] <cachio> tihs is the list of images
[13:53] <Saviq> cachio: thanks :)
[13:54] <cachio> take a look and if there is not any image that works for you I can create 1 with the lates changes from devel
[13:54] <cachio> Saviq, your spread.yaml seems to be ok
[13:54] <cachio> the ubutnu images that you use are the official ones
[13:58] <mup> PR snapd#7188 opened: data/selinux: allow read on sysfs <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7188>
[13:58] <mborzecki> pstolowski: heh ^^ another one
[14:21] <micah> Chipaca: on reboot, same problem
[14:22] <Chipaca> micah: ok, look at 'journalctl --system', and look for anything red
[14:23] <micah> Chipaca: i see nothing red there that is related (some firmware/acpi things)
[14:26] <zyga> hey, any news?
[14:27] <Chipaca> micah: what's systemctl status snap-core-7270.mount ?
[14:28] <Chipaca> zyga: about what?
[14:28] <zyga> in general
[14:28] <zyga> guys, the go unit tests are flaky
[14:28] <zyga> can we see if a branch from last week would be green
[14:28] <zyga> I have a feeling it is something we merged mid week
[14:28] <zyga> is anyone on this?
[14:29] <mborzecki> zyga: attempted to reproduce this, but only got this https://github.com/snapcore/snapd/pull/7184 obviously the problem doesn't happen locally (at least for me)
[14:29] <mup> PR #7184: daemon: do not modify test data in user suite <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7184>
[14:30] <zyga> mborzecki: can you try with GOMAXPROCS=2
[14:30] <zyga> or something "low"
[14:34] <micah> Chipaca: i put the output of the journalctl --system and the systemctl status into this paste: https://pastebin.com/MknBeW9T
[14:38] <zyga> mborzecki: the tests that use lxd should reboot to clean up
[14:38] <zyga> that's the bottom line from the lxd team
[14:38] <mborzecki> zyga: sgtm
[14:38] <zyga> not sure how to do it yet
[14:39] <mborzecki> zyga: only a handfull of those
[14:39] <zyga> I know we have REBOOT and REBOOT_COUNT, need to play with that
[14:39] <mborzecki> zyga: i can look into that, there's a REBOOT in a couple of tests I added already
[14:39] <zyga> mborzecki: thank you
[14:39] <zyga> I'll work on other tests
[14:40] <zyga> though honestly, right now unit tests being red is more problematic
[14:41] <Chipaca> zyga: mborzecki: do you have an example run of the tests hanging?
[14:41] <zyga> no, only in travis
[14:41] <zyga> most recent PRs are red
[14:41] <Chipaca> zyga: that's what i mean
[14:41] <zyga> (because of this)
[14:41] <mborzecki> Chipaca: https://travis-ci.org/snapcore/snapd/builds/564940409?utm_source=github_status&utm_medium=notification
[14:42] <Chipaca> zyga: not necessarily because of this
[14:42] <Chipaca> mborzecki: thanks
[14:42] <ogra> Chipaca, micah, wow, so qubes seems to essentially be a livecd kind of setup (everything readonly, parts of the system are rw bind mounts) ... perhaps some dirs needed by snapd are simply missing (or not there when snapd starts due to races etc)
[14:43] <ogra> (it is also interesting that your kernel was built on fedora while your rootfs is debian based apparently ... but thats just a fun fact)
[14:45] <mup> PR core#38 closed: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>
[14:45] <mup> PR core#83 closed: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>
[14:45] <micah> ogra: Chipaca it appears qubes does this to make it work: https://github.com/QubesOS/qubes-app-linux-snapd-helper
[14:46] <mup> PR core#38 opened: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>
[14:46] <mup> PR core#83 opened: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>
[14:46] <ogra> wow https://github.com/QubesOS/qubes-app-linux-snapd-helper/blob/master/qubes-snapd-mount
[14:47] <ogra> so it re-creates all snap mount units
[14:47] <ogra> ... on the fly ...
[14:50] <micah> should it have a pre-dependency on something?
[14:50] <micah> because it seems like in some boots, it works, and some it does not
[14:50] <Chipaca> micah: looks like snapd.service should have an after: whatever it is that creates the mounts
[14:51] <ogra> yeah, my guess would be that snapd is already running while this mount unit recreation still runs
[14:52] <ogra> it is also rather dangerous what they are doing there, typically snapd creates these mount units ... if anything chenags on the snapd side, the qube script wont pick it up
[14:52] <ogra> *changes
[14:53] <ogra> if they need to chnage the pre-snap mount units, they should better take the original ones as input
[14:53] <ogra> *per-snap
[14:54] <ogra> Jul 29 10:32:03 browser systemd[1]: snap-core-7270.mount: Succeeded.
[14:54] <ogra> Jul 29 10:32:03 browser systemd[1]: Unmounted Mount unit for core, revision 7270.
[14:54] <ogra> Jul 29 10:32:03 browser systemd[1]: Started Rebuild the non-persistent snappy systemd mounts.
[14:54] <ogra> Jul 29 10:32:03 browser systemd[1]: Starting Snappy daemon...
[14:54] <ogra> Jul 29 10:32:03 browser systemd[1]: Unmounting Mount unit for firefox, revision 243...
[14:54] <ogra> Jul 29 10:32:03 browser systemd[1]: rw-bind\x2ddirs-snap-firefox-243.mount: Succeeded.
[14:55] <ogra> they are definitely stepping on each others toes
[14:55] <ijohnson> hey Chipaca, degville: I'm finalizing a refactoring of the instructions for running spread in HACKING.md, should I make all the text under 80 chars there?
[14:55] <ijohnson> The file isn't consistent, not sure if we have a style we try to maintain for markdown
[14:57] <Chipaca> ijohnson: as long as it looks ok in github i don't mind
[14:57]  * Chipaca is not a purist
[14:57] <ijohnson> cool! sounds good
[14:57] <ogra> make it 78.5 chars .. the you can still have a terminal scrollbar
[14:57] <ogra> :P
[14:57] <ogra> *then
[14:58] <Chipaca> zyga: cpufreq'ed my laptop down to 800MHz and turned off all my cores except 1
[14:58] <Chipaca> zyga: trying to repro the travis thing
[14:58] <zyga> thank you
[14:59] <ijohnson> ogra: how many times have you read markdown from a github repo in a terminal in the past month?
[14:59] <Chipaca> i haven't had a work machine this slow since the first one i built myself
[14:59] <zyga> :D
[14:59] <ogra> ijohnson, every time i used w3m ...
[14:59] <Chipaca> 200MHz pentium mmx :')
[14:59]  * ijohnson searches what w3m is
[14:59] <micah> ogra: yeah, that does look like its stepping on itself there... i'm not familiar enough with what is going on here to know what I should do to make this not happen
[14:59] <ogra> ijohnson, (like ... never :P ... and i wa indeed joking)
[14:59] <ijohnson> ah got it
[15:00] <degville> ijohnson / Chipaca: It's not my jurisdiction, I'm sure, but editing md in vim is definitely easier for me when it's <80 wide.
[15:01] <ijohnson> hmm, let me see how it looks in GitHub when it's at 80 lines
[15:01] <ijohnson> we do want to make docs easy for degville to edit :-)
[15:01] <degville> it should be fine.
[15:01] <degville> the width shouldn't affect the output.
[15:02] <ijohnson> those sound like famous last words
[15:02] <degville> ahahaha!
[15:02] <Chipaca> degville: in preformatted text it does
[15:02] <Chipaca> that is, in ```s
[15:02] <degville> ^ except that of course :)
[15:05] <ogra> micah, well, it would be interesting to know what they try to achieve by duplicating the snap mount units in the first place
[15:06] <ogra> it also seems their rw-bind script tries to mount the snap dirs rw alongside ... which is pointless given everything is a squashfs anyway
[15:08] <ijohnson> ok, what looks better in GitHub: https://github.com/anonymouse64/snapd/blob/feature/HACKING-md-updates/HACKING.md
[15:08] <ijohnson> or https://github.com/anonymouse64/snapd/blob/feature/HACKING-md-updates-unlimited-chars/HACKING.md
[15:08] <ogra> perhaps systemd is simply clever enough to recognize that this is producing a mess and simply unmounts them all
[15:08] <Chipaca> ijohnson: ooh, that needs to say 1.9 now
[15:09] <ijohnson> I actually don't see a difference
[15:09] <ijohnson> Chipaca: ah you're right
[15:09] <ijohnson> honestly, the formatting looks the same whether it's 80 chars or not, so I think degville will get to keep easily editing in vim
[15:10] <ijohnson> Chipaca: do you know what release of snapd started requiring go 1.9?
[15:10] <Chipaca> ijohnson: not offhand
[15:10] <Chipaca> let me check the logs
[15:10] <ogra> huh ? why would vim have anything to do with 80chars ?
[15:11] <mborzecki> Chipaca: i got it once with GOMAXPROCS=2 and -count=20, but didn't have GOTRACEBACK set :/
[15:12] <Chipaca> ijohnson: 2.38
[15:13] <ijohnson> thanks Chipaca
[15:13] <ijohnson> ogra: see degville's comment
[15:13] <Chipaca> ijohnson: that was 'git log' to find #6294, and then 'git tag --contains 618450bb0fb3064a9f310456047993017828556d'
[15:13] <mup> PR #6294: packaging/ubuntu: build with golang 1.10 <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6294>
[15:14] <ijohnson> how did you know which PR to look for though?
[15:14] <ogra> ijohnson, we should do some compny wide crowdfunding to pay a proper post-VGA monitor for degville then :)
[15:14] <Chipaca> ijohnson: I looked for 1\.9
[15:14] <ijohnson> ah
[15:14] <Chipaca> :)
[15:15] <degville> ogra: it's only because I have been used to editing tw=79 for a long time. Probably the only cache size my brain can handle.
[15:15] <ogra> haha
[15:20] <micah> ogra: i'm trying to come up with a clear, concise summary of the problem so I can report it to qubes
[15:21] <micah> ogra: think this is accurate: "Qubes automounts conflict with Snap mounts, causing snaps not to work and appear broken."
[15:22] <ogra> micah, yeah, kind of ... i think whet they should do is to simply "ln -sf /var/lib/snapd/snap /" and just leave the mount units alone
[15:23] <ogra> *what
[15:23] <ogra> ănd they shoudl do that linking before any of the mount units or snapd even attempt to start)
[15:24] <micah> i see
[15:24] <ijohnson> btw I think we should update the spread snap to look for the user's real $HOME dir instead of $HOME/snap/spread/current
[15:25] <ogra> it seems that they do all this re-creation dance just because they do not know if /snap exists or not
[15:26] <Chipaca> ijohnson: ?
[15:26] <ogra> there are other options ... they could pretend they are fedora, then /var/lib/snapd/snap would be the default and snapd would be taking care that the mount units do the right thing ...
[15:26] <ijohnson> well the HACKING.md says to get spread, you should install the snap, but it also says that you should put images inside $HOME/.spread/qemu
[15:27] <ijohnson> so the instructions don't work if you follow them exactly
[15:27] <ogra> or they could provide a patch to snapd upstream to put their OS into a list that makes snapd DTRT
[15:27] <ijohnson> you either need to move qemu images into $SNAP_HOME (or whatever env points there I forget), or you need to export HOME before running spread
[15:28] <ogra> though it seems their OS actually pretends to be debian even though it is a derivative of some kind
[15:28] <ogra> so it might be hard to detect for snapd that you run QubesOS
[15:31] <mborzecki> Chipaca: in case you're playing with the unit tests getting stuck, https://github.com/golang/go/issues/27189
[15:35] <Chipaca> mborzecki: yay
[15:36] <mborzecki> Chipaca: heh https://paste.ubuntu.com/p/QGhSdgQWSC/ that's a bit unexpected too
[15:37] <Chipaca> i'm going to leave this running and go for a run myself
[15:38] <zyga> niemeyer: https://forum.snapcraft.io/t/rfc-plug-slot-rules-plug-names-slot-names-constraints/12439
[15:38] <niemeyer> THanks
[15:42] <mborzecki> Chipaca: another interesting find https://paste.ubuntu.com/p/yFNJcPBjfg/
[15:43] <Chipaca> mborzecki: /o\
[15:43]  * Chipaca really goes afk now
[15:43] <mup> PR snapd#7189 opened: HACKING.md: update spread section, other updates <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/7189>
[15:43] <micah> ogra: well basically its a debian VM, running under xen
[15:46] <micah> ogra: could I construct a systemd unit file that just does this symlink and is run before the the mount units or snap units and try and see if that works?
[16:09]  * cachio lunch
[16:12] <mborzecki> Chipaca: was about to leave when noticed the tests got stuck: https://paste.ubuntu.com/p/yhGfmdRvj7/
[16:12] <mborzecki> leaving for real now :)
[16:12] <mborzecki> zyga: ^^
[16:20] <micah> ogra: The rw-bind script just makes sure that the snaps are saved in the appvm storage rather than being lost on shutdown on the appvm
[16:23] <mup> PR snapcraft#2646 opened: cli: only say sorry for in-snapcraft issues <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2646>
[16:29] <ogra> micah, well, try it (the symlink creation) .. i'd also disable the rewrite unit then
[17:15] <zyga> Re
[17:54] <diddledan> I'm just installing Windows Insider build 18945 to see what the state of affairs is for snaps now that squashfs is in the shipped kernel
[17:57] <zyga> diddledan: I'm running that
[17:57] <diddledan> \o/
[17:58] <zyga> diddledan: it's not enough but I read that some people managed to run systemd inside a hand-made container
[17:58] <zyga> diddledan: and then run snapd inside that
[17:59] <diddledan> yeah you need to trick systemd to believe it's pid1
[18:29] <mup> PR snapcraft#2646 closed: cli: only say sorry for in-snapcraft issues <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2646>
[18:52] <mup> PR snapd#7190 opened: tests: set GOTRACEBACK=1 when running tests <Created by zyga> <https://github.com/snapcore/snapd/pull/7190>
[19:03] <diddledan> snap version: https://www.irccloud.com/pastebin/VHgAuLOx/
[19:03] <zyga> diddledan: neat
[19:03] <zyga> diddledan: can you tell me more about how you got that?
[19:04] <diddledan> start systemd with: $ sudo daemonize /usr/bin/unshare -fp --mount-proc /lib/systemd/systemd --system-unit=basic.target
[19:05] <diddledan> find the process id of the unshare process and run $ sudo nsenter -t $SYSTEMD_PID -m -p /bin/login -f dllewellyn
[19:05] <diddledan> then just `snap version`
[19:05] <zyga>  mmm
[19:05] <zyga> can you snap install xkcdwebserver and see it from windows?
[19:08] <diddledan> seems to timeout accessing via either localhost or the wsl instance's ip
[19:10] <zyga> diddledan: is the service up?
[19:10] <diddledan> yup
[19:10] <zyga> diddledan: it's a composite test that checks if many things together actually worked
[19:11] <zyga> curious, ok
[19:11] <zyga> thanks!
[19:11] <zyga> is it on 80 or some other port?
[19:11] <diddledan> systemctl status snap.xkcd-webserver.xkcd-webserver.service:  https://www.irccloud.com/pastebin/jhhaJwvU/
[19:11] <diddledan> port 80
[19:12] <diddledan> there also seems to be a mono service running but that's from the base image rather than via a snap
[19:12] <diddledan> tcp        0      0 0.0.0.0:8084            0.0.0.0:*               LISTEN      1289/mono
[19:12] <diddledan> that _does_ respond
[19:15] <diddledan> googler snap (cli for google searches) works
[19:16] <diddledan> theloungeirc responds from windows on port 9000
[19:16] <zyga> diddledan: neat
[19:16] <diddledan> something specific to xkcd is failing tho
[19:16] <zyga> maybe port 80 is just "busy" with windows stuff?
[19:16] <diddledan> possibly
[19:18] <mup> PR snapd#7191 opened: tests: remove installed snap on restore <Created by zyga> <https://github.com/snapcore/snapd/pull/7191>
[19:19] <diddledan> aah, stopping and restarting the service with `snap stop` and `snap start` appears to have disloged the blockage (I was looking to see what the port did on windows side when it was stopped)
[19:19] <diddledan> https://usercontent.irccloud-cdn.com/file/aB6fZBpA/image.png
[19:19] <diddledan> that's coming from the snap in wsl2!
[19:23] <ijohnson> diddledan: awesome work!
[19:23]  * ijohnson relocates to coffee shop
[19:23] <diddledan> what's the debugging command to get the confinement status of a system again?
[19:23] <diddledan> i.e. to output what confinements the snapd is seeing as available for use
[19:24] <diddledan> the one that shows the apparmor flags and stuff
[19:26] <diddledan> aha. found it
[19:26] <diddledan> https://www.irccloud.com/pastebin/w0UFjDgb/
[19:26] <diddledan> doesn't support strict confinement yet then
[19:27] <diddledan> $ snap debug confinement                                                                                     partial
[19:28] <diddledan> https://www.irccloud.com/pastebin/EAFDkrva/
[19:37] <zyga> diddledan: yeah, that's expected, apparmor is absent
[20:14] <diddledan> ahem https://usercontent.irccloud-cdn.com/file/bjIkhr6T/image.png
[20:14] <diddledan> from `snap install pick-colour-picker` :-)
[20:15] <diddledan> it doesn't seem to want to respond to clicks tho
[20:19] <zyga> diddledan: color pickers probably require X features that are not really emulated correctly on windows
[20:19] <zyga> diddledan: very impressive though :)
[20:24] <diddledan> calculator works tho: https://usercontent.irccloud-cdn.com/file/XLgwJBtA/image.png
[20:25] <zyga> diddledan: how long did it take to start?
[20:25] <diddledan> not long
[20:25] <diddledan> I didn't really time it
[20:25] <diddledan> trying to open it again made putty crash on a malformed ssh packet
[20:27] <diddledan> something funky is happening that kills ssh
[20:27] <diddledan> the same error occurs trying to open gimp (from snap)
[20:27] <diddledan> I wonder if that's because I'm going through 127.0.0.1
[20:28] <diddledan> which means Windows is proxying the ssh
[20:29] <diddledan> yeah the localhost proxy that MS implemented is breaking SSH
[20:30] <zyga> diddledan: you need putty for X redirection?
[20:30] <diddledan> it's the easiest way to do it, yeah
[20:31] <zyga> diddledan: can you "just" expose X over localhost and not over a unix socket?
[20:31] <zyga> though not sure if that's supported for real
[20:31] <zyga> but fun experiments regardless
[20:32] <diddledan> no, the localhost proxy that allows Windows apps to access Linux sockets is one-directional - i.e. linux bound sockets are propagated to windows, but windows bound sockets aren't exposed to linux
[20:33] <diddledan> you can probably do it over the network though, because it's "just a VM"
[20:33] <zyga> ah, I see why ssh helps
[20:33] <zyga> it sets up the pipe
[20:33] <diddledan> to achieve that you'd need to expose your X11 server in windows to the network
[20:33] <diddledan> yeah, ssh just makes it simpler
[20:37] <mup> PR snapd#7188 closed: data/selinux: allow read on sysfs <Simple 😃> <Created by bboozzoo> <Merged by zyga> <https://github.com/snapcore/snapd/pull/7188>
[20:47] <mup> PR snapcraft#2647 opened: build providers: catch LXD socket error <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2647>
[20:54] <diddledan> zyga: of course, no self-respecting Linux user would be without their WINE: https://usercontent.irccloud-cdn.com/file/Musm2Py9/image.png
[20:54] <zyga> haha, so that's a wine app on windows?
[20:55] <diddledan> it's a snap of wine running notepad++ which is a windows-only app running on wsl2 on windows :-p
[20:55] <diddledan> I figured I hadn't seen enough of the movie Inception :-p
[20:56] <zyga> diddledan: you should record this :)
[20:56] <zyga> diddledan: it's neat
[20:57] <diddledan> it's freaking bananas!
[20:58] <diddledan> I tried a couple OpenGL games but the X11 server I'm using only supports OpenGL 1.4 and they all require OpenGL 2.0+
[21:03] <diddledan> wat: editing windows and linux files from within a windows app running in linux: https://usercontent.irccloud-cdn.com/file/agBv7vhv/image.png
[21:03] <diddledan> I'm confused
[21:14] <mup> PR snapd#7192 opened: tests: Initial change to retry on external files download <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7192>