[01:20] oy slackers get https://github.com/mvo5/net/commit/0c0cd2628b36f2b053b7cc1ec04b76aab4c5189c upstream pls [01:20] or at least try [01:24] ah https://github.com/golang/go/issues/20556 === chihchun_afk is now known as chihchun [06:40] good morning [06:40] PR snapd#3638 opened: packaging: add current arch packaging [06:41] janisozaur1: https://github.com/snapcore/snapd/pull/3638 [06:41] PR snapd#3638: packaging: add current arch packaging [06:41] that's the current packaging [06:41] so there's a nice way to review changes later [06:41] I'll merge this as soon as I can [06:56] zyga-arch: o/ [06:56] hey [06:56] you have mail [06:56] s [06:56] even [06:56] but i'm not really here for an hour or so so no hurry :) [06:56] * zyga-arch looks [06:58] mwhudson: aha [06:59] mwhudson: thank you for pointing that out and finding it [07:00] mwhudson: I think that mvo may be on holidays still, if he's back we should pursue this === ikey|afk is now known as ikey [07:19] jamesh: hey [07:19] hi zyga-arch [07:20] jamesh, hey! :) [07:21] I replied to the thread with you and jdstrand [07:21] please have a look and if you want to discuss something quickly now, let's do it [07:21] zyga-arch: thanks. reading [07:21] hi pstolowski [07:22] zyga-arch: do you currently ever update the persistent namespaces rather than throwing them away to start over? [07:22] zyga-arch: nice, but I see some unrelated(?) test failed on travis? [07:23] jamesh: we update them when the fstab file (content interface and parts of layouts) change [07:24] jamesh: we have a very serious bug where we don't update them on base snap change that I cannot fix because it breaks apparmor and we'd have to unconfine snap-confine [07:24] jamesh: and I also forgot to meniton that snap-update-ns may need to get a new, specific, confinement for a *given snap* as it will process snap-specific mount profile [07:25] otherwise it must be unconfined to do that [07:25] janisozaur1: yes, master is very unhappy lately [07:25] janisozaur1: I ran into an issue where snap-seccomp needs to link libseccomp statically, I need to reverse that for arch [07:25] zyga-arch: but does "update" mean changing the existing namespace in use by running processes, or only making sure new processes see the changes? [07:25] yes [07:25] we change it live [07:26] existing processes see this [07:26] the "easy" solution was nacked as this fractured the view [07:26] that is essentially what snap-update-ns does [07:29] jamesh: the invalidation of base snap includes snap-confine figuring out that the base snap is not the same device anymore, using the freezer cgroup to see if any process uses the namespace and discarding/rebuilding it [07:29] jamesh: one more complexity is that snap-confine/snap-update-ns must work from within the constructed namespace and this brings in extra complexity (mainly around bugs in apparmor) [07:30] where naive setns() to pid 1 breaks everything [07:31] ah. I'd been concentrating on snap-confine and missed snap-update-ns [07:31] there's a small PR that starts this already... [07:32] https://github.com/snapcore/snapd/pull/3621 [07:32] PR snapd#3621: cmd/snap-{confine,update-ns}: apply mount profiles using snap-update-ns [07:32] please have a look [07:32] jamesh: oh, and also reexec and base snaps adds more complexity (obviously) [07:32] because snap-confine needs to run snap-update-ns [07:32] but the base snap may not even have a normal FHS [07:33] reexec certainly adds some level of problems where we need to ensure tools use a consistent set of executables [07:33] and not a mix of the two [07:33] "reexec" only conceptually, really it is "using binaries from core snap" [07:36] jamesh: I'll grab something for breakfast, please tell me what you think, I'll be readin [07:38] zyga-arch: sure. I'm replying to your email with a description of what I need. [07:56] zyga-arch: okay. Replied with some details of how xdg-document-portal works [07:57] jamesh: wait, so this is /run/user/$UID/doc? [07:58] jamesh: so... we need nothing? [07:58] run is mounted as a slave of the host /run [07:58] so if you mount /run/whatever on the host this automatically works in the snap [07:59] no user-specific mount namespaces necessary [07:59] just make sure this is mounted on from the session and not from the snap (since it is a slave of the peer group) [07:59] does that make sense or am I prematurely enthusiastic? [08:01] zyga-arch: it is a different bind mount per package [08:01] per-package? [08:01] yes [08:01] read on a bit further :) [08:01] ok [08:02] the daemon produces per-package subdirectories inside the fuse file system that get mounted at /run/user/$UID/doc [08:02] aha [08:03] so we're back to square one [08:03] presumably because a fuse daemon doesn't know what pid originates each request, and/or the kernel may cache inode information between requests [08:04] are you familiar with bubblewrap and how flatpak uses it? [08:04] what's the mount namespace story there? [08:04] it builds a new namespace for each instance of the app [08:04] jamesh: so snapd 2.0.2 story [08:04] it doesn't try to share or update existing namespaces [08:05] jamesh: how does it access process specific namespace? just via /proc/$PID/ns/mnt? [08:05] (at least that's what I understood from reading it) [08:05] ohhh [08:05] and it's also FUSE [08:05] man [08:05] all the stars align to spell "oblivion" [08:06] rbind is just a set of recursively created bind mounts *at the time you call mount* [08:06] further changes are propagated using peer groups [08:06] so if I do a change in one process [08:06] and another process shares that peer group [08:06] and is a slave [08:07] it will see the change (things get mounted) [08:07] if a slave does a change the master won't see it [08:07] but does it break the master/slave relationship if the slave makes changes? [08:07] there are a few sharing modes (private, shared, slave, master, and one more I forgot) [08:07] no [08:07] slave can make changes that only it will see [08:08] so if you think about making changes to /run from within the snap namespace they won't propagate outwards [08:08] so if the process creates a new mount namespace as a slave rbind of the persistent namespace and then mounts the document portal over the top, things might work? [08:09] well, not sure, the sharing is per *mount point* [08:09] one sec [08:11] https://forum.snapcraft.io/t/feature-snap-layouts/1471 [08:11] there's a link to how peer groups function there [08:11] https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt [08:11] so assuming we still need the user mount namespace [08:12] and that it *probably* has to be persistent too [08:12] (for that users) [08:13] https://github.com/projectatomic/bubblewrap/blob/master/bubblewrap.c <- that's the bubblewrap code. It definitely isn't trying to share namespaces [08:13] we could do a bind mount from /run/user/doc/by-app (which is tricky if >1 app is in a snap) to /run/user/doc [08:13] zyga-suse: treat by-app as by-package [08:14] my proof of concept patches were doing permissions at the package level, since that seemed most sane [08:15] for flatpak, apps == packages so they are a bit loose with that terminology [08:17] right [08:17] but in our model one snap can ship two flatpaks really [08:18] hmm [08:21] right. I'm just saying that the "by-app" directory inside the document portal file system is effectively per-package [08:21] If you give one app from a snap access to a document, there isn't much to stop it giving another app from the same snap access [08:23] well, we can still use apparmor [08:23] ;-) [08:23] but yeahg [08:23] so, who does the bind mounting of all of that? [08:25] the portal runtime running in the session? [08:28] how many zyga's is too many [08:29] flatpak constructs a bubblewrap command line that says how to set up the sandbox [08:29] also 2.26.*14* ? oh dear [08:29] mwhudson: well, it's just cooperative multi tasking so it's not any better than one :D [08:29] one of the arguments tells bubblewrap to bind mount the document portal [08:29] mwhudson: *yes* [08:29] we found more bugs but mvo didn't want 15 [08:31] zyga-arch: i made a thing https://docs.google.com/spreadsheets/d/1ndk9eN5uSSY9A3SYzBRLBxOLMWw5--A2KNbS0v0y6_g/edit?usp=sharing [08:36] aha, looking [08:37] mwhudson: I requested write access to add some notes [08:39] zyga-ubuntu: granted [08:40] mwhudson: ok, comments made [08:40] I think the biggest thing is the net fork [08:41] the gettext package seems like a low hanging fruit [08:41] is that only used for a test? [08:41] as is the go-flags update [08:41] gettext? [08:41] the net fork [08:41] or net? [08:41] I don't recall, let me check [08:41] but my bet is not just tests [08:41] git grep mvo5/net/bdf [08:43] mwhudson: actually [08:43] it seems just for tests [08:43] ok good [08:43] so we could patch that away for now [08:43] yeah [08:43] (except on big-endian arches where it works by accident) [08:44] Chipaca: hey hey [08:44] zyga-ubuntu: hiya [08:45] zyga-ubuntu: looks like subunit-go is unused in 2.26.14 too? [08:45] I had a look at weather in London today [08:46] 16C vs 30+ here :/ [08:46] I miss London [08:46] mwhudson: I think we never used it [08:46] it may have been pulled in earlier by something else [08:46] but not directly via snapd tests [08:46] no matches in grep [08:47] oh i guess it could be a transitive dep [08:48] easy to find out [08:48] I think it is gone totally now, I grepped in the vendor tree as well [08:50] zyga-ubuntu: hnngh https://github.com/mvo5/libseccomp-golang is a fork too? [08:52] https://github.com/mvo5/libseccomp-golang/commits/master it seems so [08:52] not sure if we want to package the fork [08:52] or work with upstream [08:52] aha, mvo added support for older libseccomp [08:52] but not sure if this is even landable [08:53] I think it may refer to our special-cased patched 2.1.1 from ubuntu [08:53] https://github.com/mvo5/goconfigparser is not a fork but the debian package is of a version that is not tagged in the repo [08:53] (wehre it is more like 2.2) [08:53] mwhudson: I think for that we can use master or ask mvo for a release [08:53] is that even used though? [08:53] yeah i don't know if it's a problem, it's just making filling this sheet out less trivial :) [08:53] /partition/grub_test.go: "github.com/mvo5/goconfigparser" [08:53] partition/grub_test.go: cfg := goconfigparser.New() [08:54] just in tests? [08:54] feels bogus [08:54] I think it's a leftover [08:54] and the test can be patched away [08:54] we moved to something else in the tree now [08:55] I think this became "partition/grubenv" [08:55] well, maybe, not sure [09:17] sigh [09:18] an hour and a bit wasted because 17.10 was using wayland behind my back [09:18] Chipaca: it was one hour in the future [09:18] pedronis: hey, welcome back :-) [09:23] Chipaca: oh? what broke? [09:27] Chipaca: could you please do a review of https://github.com/snapcore/snapd/pull/3636 [09:27] PR snapd#3636: snap: add support for parsing snap layout section [09:27] PR snapd#3637 closed: interfaces/unity7: allow receiving media key events in (at least) gnome-shell [09:30] zyga-ubuntu: if you ssh -X into a thing that's running wayland, gtk apps start in the wayland session [09:32] * zyga-ubuntu posted https://forum.snapcraft.io/t/slow-core-downloads-breaks-tests/1521/1 [09:32] Chipaca: and? [09:32] Chipaca: about that cache thing you mentioned [09:32] Chipaca: you'd be interested, I suspect [09:35] zyga-ubuntu: in general for the deps where snapd is way behind debian should i just propose PRs that update the snapd version? [09:35] and let CI decide if it works [09:35] mwhudson: I'd say yes [09:35] mwhudson: but one by one so that we can evaluate where it breaks [09:35] heh yes [09:35] thanks [09:35] i'm not that daft :) [09:41] mwhudson: :) [10:24] PR snapd#3638 closed: packaging: add current arch packaging [10:29] wow [10:29] Chipaca: not quantitative, but this feels way faster [10:30] hm? [10:30] you mean the Arch packaging? [10:30] it's deliberately designed to not be able to do a lot [10:31] it's derived from how we do things in RPM, but drastically simplified [10:31] Son_Goku: no, I was talking to Chipaca in private about this https://forum.snapcraft.io/t/slow-core-downloads-breaks-tests/1521/2 [10:31] Son_Goku: a small optimization with huge wins for testing [10:31] Son_Goku: pre-cache heavy snaps we download [10:31] no coding required [10:31] duh? [10:31] why weren't we doing that before? [10:31] Son_Goku: ¯\_(ツ)_/¯ [10:31] effort != 0 [10:31] ;) [10:32] I thought we were already doing that [10:32] and nobody cared before [10:32] sure, easy to say "duh" after the fact [10:32] :-D [10:32] now when it takes one failure out of a 1000 tests to break the run [10:32] Chipaca: there's thing thing that I call base expectations [10:32] nobody expected base expectations [10:32] when we do not even do system updates before running the tests anymore, I expected we were caching the snaps [10:32] proper caching is still not there [10:32] but this is a huge win [10:34] test took 19 minutes [10:34] PR snapd#3639 opened: Update to version of golang.org/x/crypto currently in Debian unstable [10:35] I'll do some tweaks and do A/B [10:35] hm, does that mean that with this dep upgrade, snapd won't build on Fedora 25 anymore? [10:36] Debian sid is on Go 1.8, and Fedora 25 is only on 1.7 [10:37] Son_Goku: dep update? [10:37] [06:34:47 AM] PR snapd#3639 opened: Update to version of golang.org/x/crypto currently in Debian unstable [10:37] PR snapd#3639: Update to version of golang.org/x/crypto currently in Debian unstable [10:37] ah [10:37] good question [10:42] Son_Goku: i don't think so, this is only the crypto bits, they should still support 1.7 [10:43] zyga-ubuntu: i have code i can push [10:43] actually, let me run all the unit tests first :-D [10:43] * Chipaca _thinks_ he's covered all the angles, but [10:43] PR snapcraft#1434 opened: lxd: clean with no parts should only delete [10:44] basically: if the snap has a known size, and it's equal to the resume, then skip the download; and if it has a non-empty hash, check the hash [10:44] those ifs should make it work with the tests as they stand (and they make some sort of sense) [10:44] * mwhudson zzzz [10:45] Chipaca: haha, easy prey :) [10:45] thank you for fixing it [10:45] Chipaca: will it rename .partial files that aren't "partial" too? [10:46] mwhudson: night night! thank you! [10:46] zyga-ubuntu: what does that mean? [10:48] Chipaca: if I naively "snap download core" [10:48] stick it as .partial in /var/lib/snapd/snaps/ [10:49] will it choke? [10:49] I mean, I don't mind chopping of the final byte [10:49] zyga-arch: yes, that's what the patch is for [10:49] excellent [10:49] zyga-arch: no need to even talk to the server if we already have the whole thing [10:49] and, unit tests pass [10:50] if you have a pr i can push this to it [10:50] or [10:50] we can do it backwards [10:50] maybe easier to do it backwards :-) [10:52] backwards as in who goes first? [10:53] zyga-ubuntu: yes [10:53] zyga-ubuntu: https://github.com/snapcore/snapd/pull/3640 [10:53] PR snapd#3640: store: do not resume a download when we already have the whole thing [10:53] PR snapd#3640 opened: store: do not resume a download when we already have the whole thing [10:54] zyga-ubuntu: if you push your changes to that, everybody should be happy [10:54] Chipaca: understood [10:54] it changes the logic for downloading deltas a teeny bit [10:54] bit it shouldn't change things in practice [10:54] I'll review it in a moment [10:55] if the store says "no deltas", download begins, download is canceled, download is reattempted and the store says there are deltas, currently we don't resume; this makes the resume win [10:55] in practice it shouldn't make much difference except outside tests [10:55] i mean except inside tests :-) [10:55] anyway [10:56] time for me to take a break, run, and lunch [10:56] * Chipaca afk [10:59] ok, I will need ~45 minutes to finish the A/B timing tests [10:59] and in the meantime I can review [10:59] actually [10:59] scratch that [10:59] I can push my PR directly to see how long it takes [11:09] hrm ... travis ?? [11:15] Chipaca, are you still working on the shutdown stuff (unmounting /writable and /lib/modules failing) or is that on hold ? [11:15] PR snapd#3641 opened: tests: download core and ubuntu-core at most once [11:16] ogra: that's merged [11:16] ogra: loooong ago [11:16] zyga-ubuntu, where ? that never changed on any ubuntu core images i run [11:16] ogra: look at /usr/lib/snapd/ [11:16] there should be a shutdown executable there [11:16] there's a systemd job that puts it in the special place that systemd uses on shutdown [11:17] I think it runs all the time for ~6 months now [11:17] well, it didnt fix the bug obviously [11:17] oh? [11:17] Chipaca: ^ [11:17] [FAILED] Failed unmounting /lib/modules. [11:17] [ OK ] Unmounted /etc/sudoers.d. [11:17] [ OK ] Unmounted /run/snapd/ns. [11:17] [FAILED] Failed unmounting /writable. [11:17] i still see that all the time on every shutdown on every install [11:18] mmmmm [11:18] maybe something broke? [11:18] I wonder if we can get some logs from the tool [11:18] well, i never "not" saw it [11:18] I remember testing the thing in kvm [11:18] (i actually thought john is still working on it ) [11:23] i see the systemd job simply copies it to /run/initramfs/ [11:27] another faiure of FAIL: overlord_test.go:360: overlordSuite.TestEnsureLoopPrune [11:39] * ogra pokes https://travis-ci.org/snapcore/core-build/builds/259703332 with a pointy stick in the eye ... [11:40] ogra: remember the abyss quote [11:44] mwhudson: haven't read all backscroll. it seems like getting snapd in Debian (properly?) depends on using non-embedded code copies? [11:44] jdstrand: yes, and we did de-vendorize everything [11:45] jdstrand: but now the problem is we have a few forks [11:45] jdstrand: and it's unclear if we should move the vendorized deps ahead when we do this in debian [11:46] PR snapd#3642 opened: cmd/snap: get keys or root document [11:52] that's interesting. we have asimilar policy in Ubuntu but was told do to time constraints to relax the requirement for snapd [11:52] due* [11:53] interesting the work is happening now [11:55] ogra: can you open a thread about that /writable bug? [11:56] jdstrand: it's only happening for debian [11:56] jdstrand: I think that in ubuntu it is not even considered [11:56] jdstrand: especially since it impacts testing value [11:56] jdstrand: and that we reexec anyway [11:57] well, if there weren't outside factors influencing what we are doing in Ubuntu I would imagine we wuld do it in Ubuntu [11:58] jdstrand: I think the key factor was OMG time [11:58] it seems like Debian picked up on Ubuntu's definition of how to support golang packages but are actually enforcing it [11:58] jdstrand: though we lack in debian/copyright heavily todayu [12:00] cachio,hey! have you found any pattern for reproducing hook errors from https://paste.ubuntu.com/25218225/ ? e.g. linode vs local qemu etc? [12:03] huh, i might've broken deltas (according to spread) [12:03] * Chipaca will fix after lunch [12:03] zyga-ubuntu: ogra: those [FAILED] are from systemd [12:04] zyga-ubuntu: ogra: our helper runs _after_ that; those failed are the reason we need the helper [12:05] jdstrand: jdstrand:policy-updates-xxvi [12:05] jdstrand: wow, roman numerals! [12:07] Chipaca: lots of refresh tests failed with your PR https://travis-ci.org/snapcore/snapd/builds/260146033?utm_source=github_status&utm_medium=notification [12:07] Chipaca, well, can we quieten them ? [12:13] zyga-ubuntu: yes, as i said, i seem to have broken deltas (or their tests) [12:14] ogra: sure! systemd is free software, right? [12:14] dunno, ask redhat :P [12:15] (surely open source though :) ) [12:15] nu-uh, they're on the other side of the river from me [12:29] zyga-ubuntu: yeah, rocking it old school. keeping it fun! :) [12:39] zyga-ubuntu: about your patch, unless i'm much mistaken the way you've done it won't work [12:39] zyga-ubuntu: that is: only the first test will find the .partial [12:39] zyga-ubuntu: you need to download them somewhere, and then at the start of each test copy them? or sth like that [12:40] Chipaca: isn't that exactly what is going on [12:40] otherwise, test downloads thing, tests its stuff, cleans up -> no more thing [12:40] this is doing in the "prepare the magic state tarball" stop [12:40] step* [12:40] and then it gets restored in each one [12:40] or maybe I misunderstood the restore logic [12:40] zyga-ubuntu: ah... if that's the case then it's ok :-) [12:40] Chipaca: but now that you said it, I'm not sure it is restored in each test [12:41] zyga-ubuntu: easy to test [12:41] TBH the spread setup is so wonky now someone could sit down and write a comprehensive document about it [12:41] Chipaca: how? [12:41] zyga-ubuntu: spread --shell yadda [12:41] mmm, let me try, thanks! [12:42] zyga-ubuntu: tweak spread.yaml to workers:1 [12:42] ah [12:42] good iea [12:42] ctrlc- [12:43] I think too late [12:43] 2017-08-02 14:43:04 Server (Spread-44) exceeds halt-timeout. Shutting it down... [12:43] pstolowski, I could reproduce it in qemu [12:43] interesting server! [12:45] Chipaca: on the up side, it's very refreshing to see green tests [12:45] cachio, every time? [12:45] yes [12:46] using branch [12:46] release/2.27 [12:46] pstolowski, so far I ran it twice and I saw it twice [12:47] cachio, interesting; did you run just this problematic test or entire suite? [12:47] pstolowski: hey, any hints on which snaps have config or how to play with your PR? [12:47] no, the entire mainsuite [12:49] zyga-ubuntu, i guess you can try core; you can try to add extra dummy config to core via snap set core foo=bar [12:49] pstolowski: and they are not discarded?! [12:50] pstolowski: this seems pretty dangerous [12:50] pstolowski: $ snap set author.name=frank [12:50] pstolowski: snap set --help [12:50] pstolowski: this example seems broken since there's no snap-name there [12:51] woah [12:51] that's surely a bug [12:51] people can set whatever they want now [12:51] and once we add options tomorrow it starts to have a meaning [12:51] nyce! [12:52] brb, see you at the call [12:52] zyga-ubuntu, yeah, not discarded, and also known I think. i'm not sure it was considered an issue [12:54] you can read it as a bug or a feature depending [12:55] I think the plan is still to have some kind of schema at some point [13:00] Chipaca: the .partial files are there [13:02] 2fa [13:16] * ogra wonders if travis will ever start ... in total i'm waiting for that job since 14h now [13:17] (with a timeout over night and a manual re-start) === chihchun is now known as chihchun_afk [13:22] Chipaca: was my explanation about timeouts understandable? [13:28] pedronis: that our timeouts were too aggressive? [13:29] yes [13:30] pedronis: for downloads, right? [13:30] for everything really [13:30] pedronis: well... for interactive things, we're waiting too long, not too little [13:31] but that might mean that, for interactive things, we should retry less and wait more [13:32] * ogra shakes fist at https://travis-ci.org/snapcore/core-build/builds/259703332 [13:32] Chipaca: well, is not realistic to get a server answer in 100ms from almost anywhere [13:33] if we are too slow we need to cache [13:33] pedronis: OTOH the store is taking >1s to anser more than 1% of requests [13:33] yes, but an aggressive timeout doesn't help, it's just more load [13:34] pedronis: is the random >1s responses because of load? [13:34] I don't know [13:34] but using 2+ requets for everything doesn't help [13:36] pedronis: are we? [13:36] I suspect so [13:39] janisozaur1: hey, I made some progress, I fixed two things breaking tests [13:39] janisozaur1: and I got the bulk of the code to build [13:39] janisozaur1: still a few things to do but I should have a *much* better package soon [13:42] cachio, so, I need release/2.27 to reproduce the bug? [13:42] pstolowski, yes [13:42] thanks [14:02] hmmm [14:02] * zyga-arch breaks for some drinks while staring at the test failure [14:19] Hi all, is it possible to set the SSO credentials for a fresh install in a config file prior to first boot? [14:20] PhoenixMage, https://docs.ubuntu.com/core/en/reference/assertions/system-user [14:20] you need an USB key though [14:21] USB keys I have plenty of but no monitor that has HDMI and no serial cable [14:21] Thanks for the tip [14:30] hmm [14:35] ok so I understand how to create the assertion but have no idea what the format on the usb has to be such as filename [14:38] PhoenixMage: hey [14:40] PhoenixMage: you need to put "auto-import.assert" in the root of the drive [14:41] PhoenixMage: the file can contain any assertions [14:41] PhoenixMage: I think you want to format the USB drive as a FAT filesystem [14:42] PhoenixMage: it will be auto-imported on boot [14:42] PhoenixMage: you can test this with "snap auto-import" [14:42] PhoenixMage: but you must be on a core device (it is disabled on classic) [14:43] zyga-arch: I can run it up in a core VM [14:43] zyga-arch: Sorry for the silly question but where can I get an authority-id? [14:45] PhoenixMage: you probably want to talk to pedronis about this, ideally in a forum thread so that it is reusable for others [14:45] PhoenixMage: in short you want to have your own brand [14:45] PhoenixMage: and then issue (as the brand) an assertion that lets you create accounts on unowned machines using that brand [14:46] PhoenixMage: canonical could issue such assertions but for the moment this is not done [14:46] PhoenixMage: for some insight you can also look at a test that is checking this feature [14:46] PhoenixMage: where it is fully done (end-to-end) [14:46] PhoenixMage: but I'm not that sure it's easier than asking pedronis given that it assumes a lot of context [14:47] zyga-arch: Thanks, might have to leave that to another day, its nearly 1am here [14:49] PR snapcraft#1435 opened: lxd: Wait on lock files before running apt commands [14:55] PhoenixMage: good luck :-) [14:56] PhoenixMage, good morning ! [14:56] :) [15:00] (insert quote about bilbo and gandalf good morning) [15:00] I still call this evening, in my book there is no such thing as a good morning [15:00] Appreciate the sentiment though ;) [15:01] Was hoping to create a couple of headless active directort domain controllers using Pis and Core :/ [15:01] surely possible ... but you need a snamba snap first i guess [15:01] *samba [15:02] (not sure there is one in the store yet) [15:02] ogra: first I need a Pi core instance I can use [15:02] true [15:02] Then I will worry about learning how to make/use snaps [15:02] Core is new to mwe [15:03] PhoenixMage: then you don't need the assertion yet [15:03] Getting close to morning, there goes my typing [15:03] PhoenixMage: that's for waaaaaay later [15:03] zyga-arch, well, he has no kbd, serial or monitor ... [15:03] ogra: pi zero? [15:04] Understand the whole secure at first boot thing, my background is security but there should be a way I can at least put an ssh-key on it without having internet access [15:04] no idea, does that matter if you dont have any peripherials ? [15:04] ogra: if normal pi then it is significantly easier to get a serial port connected [15:04] PhoenixMage: there is but only the brand has a way to issue those [15:04] But then again, web devs [15:04] zyga-arch, only if you have the cable :) [15:04] ogra: you do realize we are arguing about making a model assertion and making a new core image just so that we don't need to get a 5$ cable [15:05] we need to really make it easier to set up a board without any peripherial HW [15:05] * ogra was pondering to fiddle with USB gadget networking ... then you can ssh through the OTG port [15:06] zyga-arch, we're not arguing [15:06] (at least i'm not) [15:06] I dont think its unreasonable to expect someone to have a usb thumb drive, but a serial cable or a compatible screen or keyboard isnt necessarily available [15:06] arguing as in discussing :-) [15:06] PhoenixMage: for embedded devices it's pretty common, I recognize there are some things missing in the story today, I'm just telling what is the easiest path forward [15:06] I like to play with stuff like this in hotel rooms when I travel so nothing is given except board access and I have likely forgotten a serial cable [15:07] for hacking just use kvm [15:07] what i'd really like is to enable gadget networking in our images ... then you can just access console-conf via USB without extra cables [15:07] no more hardware needed [15:07] if you need an intro to snaps and core that's the most comfortable way to do it [15:07] ogra: that would be nice, everyone has at least 1 micro usb cable around [15:07] right [15:08] Well until usb c is ubiquitous [15:09] raspberry pi, shiny metal ass edition [15:09] with usb-c [15:09] 40GB cable [15:09] doing 100MBit networking [15:09] I'd settle for gig networking [15:09] 40Gb [15:09] and the board will be white [15:09] with no sharp edges [15:10] that sounds like a beaglebone white ... [15:10] :P [15:10] I am trying to get all my essentials on to Pi to minimise my power bills and will fire up the rest of my lab when I need it [15:10] I am looking at an Olimex Lime 2 for my more network intensive applications like next cloud [15:11] So does a brand cost money? [15:11] I am assuming not but hey [15:11] no, it is just your store account [15:11] It says talk to sales on the website lol [15:12] PhoenixMage: nope [15:13] I did look at banana/orange pis too but the olimex looks nicer [15:14] if you look at https://dashboard.snapcraft.io/dev/account/ .... there is your account id ... [15:14] if you are the owner of the kernel and gadget snaps for yur image you can use that id as your brand-id [15:15] PhoenixMage: think about software, not hardware [15:15] (model assertion, kernel and gadget need to be owned by the same id as the system-user assertion ... ) [15:15] all the hardware is nice on the product page [15:15] then you get it and, whoops, the kernel is weird [15:15] anyway [15:15] back to hacking [15:16] And sleep for me [15:16] Thanks for all your help, appreciate it [15:16] o/ [15:16] sleep well ... [15:17] I got a pregnant lady in the bed not much chance [15:21] * zyga-arch fixed a bug in cmd_test.go [15:34] ogra: thanks for merging my change to core-build; when would the core snap in edge get that change? I looked at core_2554 in edge today and it's not there yet; [15:34] rharper, well.... i'm waiting for https://travis-ci.org/snapcore/core-build/builds/259703332 since yesterday afternoon [15:35] ogra: ok [15:35] rharper, it needs a new deb in the PPA,, i'll get to it once travis passed [15:35] cool, thanks for the info [15:35] i'll ping you once it is in edge [15:35] thanks! [15:40] PR snapd#3643 opened: overlord/devicestate, store: update device auth endpoints URLs [15:41] Chipaca: yo, you around sir? [15:41] zyga-arch: yup [15:42] for now at least [15:42] excellent [15:42] one liner fix for you [15:42] zyga-arch: go on then [15:48] cachio, hey, no luck with reproducing the failure you saw :( [15:48] * zyga-arch makes a few PRs [15:51] Chipaca: https://github.com/snapcore/snapd/pull/3644 [15:51] PR snapd#3644: cmd: fix tests that assume /snap mount [15:51] PR snapd#3644 opened: cmd: fix tests that assume /snap mount [15:51] PR snapd#3645 opened: cmd: mark arch as non-reexecing distro [15:51] and 3645 [15:51] I made them separate because I wanted nice description on GH and it's easier to cherry pick [15:52] zyga-arch: lel [15:52] lel? [15:52] lets-evaluate-laughing? [15:53] oh [15:53] 3644 is buggy [15:53] but not caught by tests [15:53] zyga-arch: it can't be, i approved it [15:53] (corrected) [15:54] sorry, I didn't notice [15:54] now it's good [15:54] I force pushed to get the easy cherry pick for the packaging [15:55] thank you sir! [15:55] janisozaur1: ^ little by little [15:57] pedronis: ^ if you have a sec and could do a 2nd review on the pair? [16:01] Chipaca: fun fact [16:01] I just logged into my server [16:01] as root, unusually [16:01] my /root/snap/core is interesting [16:01] we never recycle those directories [16:01] I see all the revisions we ever did [16:01] all empty [16:01] but ... well [16:01] is that the same thing that pstolowski reported ? [16:02] zyga-arch: a'yup [16:02] perfect, thank you [16:02] zyga-arch, yes [16:02] what's the policy, our queue is grewing again? [16:03] pedronis: downstream bugfixes for packaging [16:04] pedronis: not sure if we have a policy, we should definitely process the review queue [16:12] Chipaca: are we using some local proxy during testing? [16:12] Aug 02 14:38:41 autopkgtest snapd[32266]: 2017/08/02 14:38:41.789947 retry.go:52: DEBUG: The retry loop for http://localhost:11028/api/v1/snaps/assertions/snap-declaration/16/99T7MUlRhtI3U0QFgl5mXXESAiSwt776?max-format=2 finished after 1 retries, elapsed time=1.850053ms, status: Get http://localhost:11028/api/v1/snaps/assertions/snap-declaration/16/99T7MUlRhtI3U0QFgl5mXXESAiSwt776?max-format=2: dial tcp 127.0.0.1:11028: getsockopt: con [16:12] nection refused [16:12] this is from a failed test run [16:12] now why is snapd calling localhost? [16:12] * ogra cries ... [16:12] https://travis-ci.org/snapcore/core-build/builds/259703332 [16:12] sigh [16:12] ogra: at least travis has nice faces [16:12] zyga-arch: some of the tests use a fake store [16:12] ogra: restarted [16:13] zyga-arch, yeah, i only noticed recently that there a females now [16:13] aha, I see [16:13] zyga-arch, i restarted it twice already since yesterday [16:13] ogra: how does it fail? [16:13] it sits there forever and then fails with that error [16:13] travis hiccup? [16:13] dunno the exact wording since you just restarted it and the page auto-refreshed :P [16:14] ogra: it said auto-restarting is limited [16:14] yeah [16:14] ogra: did you force push to it? [16:14] no [16:14] i only merged the PR after you and Chipaca approved it yesterday [16:14] interesting, weird [16:14] and the PR is a one word change [16:14] let's see what happens now [16:14] well ;D [16:14] quality :D [16:14] i bet the same as the two times before [16:15] (nothing ... until something times out) [16:17] zyga-arch: that localhost is the fake store [16:17] zyga-arch, hmmm .... the last merge before this hanging one is https://github.com/snapcore/core-build/pull/14 [16:17] PR core-build#14: initramfs/testing: add unit tests for initrd scripts [16:18] It *did* pass [16:18] maybe something broke since [16:18] zyga-arch, are yyou sure that travis gets along with the --rbind change you added there ? [16:18] like travis-side [16:18] --rbind? [16:18] yeah, you changed the travis.yaml ... part of that is to replace all --bind calls with --rbind [16:19] I see [16:19] uh oh [16:19] and i never noticed that you run kvm inside a double stacked chroot ! [16:19] I think those are for qemu [16:19] oh my [16:19] but yes, it all passed [16:19] what [16:20] (that should really have been a separate test ... not inside the chroooted chroot) [16:20] why do you feel thta? [16:20] *that [16:20] because too many layers ?? [16:21] and is that a problem? [16:21] layers of what [16:21] anyway, this *did* pass [16:21] I'm all into figuring out what happens but this is not really anything controversial [16:21] there is a travis 14.04 chroot ... in which we create an ubuntu 16.04 chroot ... inside which you tghen install kvm and qemu to run a vm [16:21] yes, and I would expect this to just work [16:22] well [16:22] it runs without kvm on travis btw [16:22] me too ... but there can be millions of corner cases [16:22] I really don't see how [16:22] I'm running an userspace process, without kvm in a chroot [16:22] btw, does travis do 16.04 now? [16:23] maybe we could drop some of the chroots [16:23] no [16:23] * ogra got a notification that tthey gradually updating to 14.04 from 12.04 right now [16:23] (got that today) [16:23] so i guess 16.04 native is far out [16:24] but we should really separate the two tests and not mix-mash them [16:25] separation will not get you anything positive from travis [16:25] chroots in chroots that run a vm really doesnt sound sane [16:25] if you run a vm anyway, do it at the toplevel [16:25] I'd rather switch to using spread as the substrate so that we can ignore silly travis limitations [16:25] there is no need to do this inside the chroot [16:26] well, not sure what spread would buy us anyway ... its dpkg source packages ... we should rather use autopkgtest all over [16:26] zyga-arch: seems I should look at some older branches before, anyway about to eod [16:26] but since i was forced into that weird tree setup you cant just auto-build the debs anymore [16:27] (there is no more toplevel /debian dir due to the fact that i had to put both packages into one tree) [16:29] pedronis: as you want, those are super short and tiny [16:29] pedronis: I can cherry pick for packaging for now [16:29] so no worries [16:33] zyga-arch, btw, https://github.com/snapcore/core-build/pull/14 doesnt even seem to have had any travis runs at all [16:33] PR core-build#14: initramfs/testing: add unit tests for initrd scripts [16:33] (unless the UI somehow hides them lately) [16:33] oh, it actually does ... found it [16:36] yeah, that's the green tick [16:37] wowo, but we need to fix a lot there [16:37] * ogra is just reading the logs [16:38] all the initrd re-packing should definitely use the proper compression method ... and the cpio calls should use the correct options from the system, so we end up with the same initrds the system would produce [16:39] (there are config files we can read from the system that have all the bits and pieces, so we dont need to re-invent the wheel) [16:42] zyga-arch, FYI ... failed fast this time (same error) [16:43] ogra: proper compression method? [16:43] zyga-arch, yeah, whatever is set for the specific OS in initramfs tools config [16:43] you are lucky that gz is still supported :P [16:43] (we havent used that iin years for initrds) [16:45] core defaults to lzma ... [16:48] ogra: can you give me an example? [16:48] ? [16:48] like the options you refer to [16:48] your code hardcoded gzip everywhere [16:48] gzip is fast to compress and works [16:49] sure [16:49] that's the only reason I used it [16:49] but not what the actual initrd will use [16:49] that's okay, we're not testing that [16:49] we're just testing the bash functions [16:49] we should be as close to reality as possible with our tests or shouldnt we ? [16:50] no, we should not be as close to reality, the point is to test a specific part of the code (the shell code) in a reasonably efficient and sensible way [16:50] otherwise everything would be an integration test [16:50] look how there are tons of mocking calls there [16:50] we're not testing the real thing [16:50] ogra: btw, can you please pass a link to the PR again [16:50] I cannot find it somehow [16:50] which one ? the failing one ? [16:50] yep [16:51] https://github.com/snapcore/core-build/pull/15 [16:51] PR core-build#15: cloud-init: fix strict mode, ensure cloud-init only runs on positive id [16:51] -policy: search,found=first,maybe=all,notfound=disabled [16:51] +policy: search,found=first,maybe=none,notfound=disabled [16:51] thats the change [16:51] (all vs none) [16:51] ah, you merged it now [16:51] nothing fancy [16:52] did tests pass? [16:52] well, yes and no [16:52] it passed when the PR was created [16:52] I see [16:52] not sure why travis runs again on merge ... did it do that before ? [16:52] travis has two options: to run on branch push (so branch is tested) and to test merges [16:52] it's a per-repo choice [16:53] right, i didnt change that ... (i doubt i can actually) [16:53] and i dont know if it did that for any of the former PRs in that branch [16:55] the tree definitely shows it landed properly in https://github.com/snapcore/core-build/blob/master/config/etc/cloud/ds-identify.cfg [16:56] so i dont really get what travis tries to do there [16:56] perhaps we turned that off [16:56] i can imagine it to run before merge ... but why would it run after ... [16:59] * zyga-arch rebuilds the arch package with some more fixes [17:01] hmm, funny ... the PR actualy links to the successful travis run from 27 days ago [17:03] * ogra decides to simply ignore that travis run [17:03] Bug #1707474 opened: FTBFS on i386: incompatibility with new xfsprogs [17:24] hmm [17:33] ah, I had a stale file [17:35] janisozaur1: hey, how does it work if I would like to maintain a package in the community repo? [17:35] janisozaur1: or just co-maintain snapd with timothy? [17:35] zyga-arch: I assume it must be trivial or near-trivial [17:36] not trivial in any way but I'm an upstream, does that help? [17:36] in a project I work on, the Windows developer submitted an AUR package [17:36] and it's not a core package [17:36] we did an AUR package before but it got updated to community [17:36] (I'm talking about snapd) [17:37] you can submit snapd-git to AUR without raising any eyebrows [17:37] yeah, I think we already had that one, I could do it [17:37] ideally I'd work with timothy on the real packge [17:37] it's a common practice to have `x-git`, `x-beta` and so on packages in AUR [17:37] package* [17:37] aha [17:37] that's good to know [17:37] we should to that then [17:37] especially the -git one [17:38] quite commonly PKGBUILDs used for real repos would be the same as used on AUR [17:39] with the only difference being the sources version they point to [17:39] yeah, that's the goal here [17:39] ok, one more test to fix [17:39] the one that you downloaded from community repo, just change the pkgver and it will produce updated version [17:40] oh, and a *real* bug [17:40] well, I have a lot of changes/fixes there [17:40] with a bit of luck the last one to make [17:41] Chipaca: do you have a sec to hand-hold my logic? [17:42] Chipaca: what is the expected value of $SNAP on a distro that uses non-standard /snap location [17:42] since we don't support classic confinement [17:42] I would say it should just say /snap [17:42] since on the inside, where the variable matters, [17:42] it is always the same [17:42] zyga-arch: i do [17:42] excellent [17:42] one more patch then [17:42] really one liner :) [17:43] zyga-arch: $SNAP is /snap/// [17:43] right! [17:43] +1 that's exactly what I made [17:43] just wanted to get an ack that I didn't miss any loophole [17:43] zyga-arch: now if the snap is classic, i don't know if that is reality [17:45] Chipaca: those don't work without /snap on the distro [17:45] so that's +1 [17:46] Chipaca: PR away [17:46] one more patch to my collection [17:46] PR snapd#3646 opened: snap/snapenv: always expect /snap for $SNAP [17:48] one more makepkg [17:48] some say that this is the one where tests pass [17:50] cachio: i've just had fedora fail to prepare, is that on your radar? [17:50] cachio: https://s3.amazonaws.com/archive.travis-ci.org/jobs/260290219/log.txt?X-Amz-Expires=30&X-Amz-Date=20170802T174918Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20170802/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ca82ef1041c0f438b599060ab83bf69d943193fed63576fd4a05e273e31399b3 [17:50] gah, bad url [17:51] cachio: https://api.travis-ci.org/jobs/260290219/log.txt [18:00] Chipaca: and one more [18:01] PR snapd#3647 opened: gitignore: ignore more build artefacts [18:02] and to be fair [18:02] it worked [18:03] just run-checks is silly [18:13] ok, i'm EOD [18:13] Chipaca: o/ [18:13] zyga-arch: \o [18:15] janisozaur1: it built (and passed all tests!) [18:15] great success! [18:16] what's the plan now? will you submit snapd-git package to AUR? [18:16] janisozaur1: how can I merge two packages into one? [18:16] first I want to play with it [18:16] I will propose a PR to merge the improvements to master [18:16] and work on building it there as well (so that it doesn't regress) [18:16] what do you mean "merge two packages"? [18:16] as tests turn positive I will ping timothy to update the package in community [18:17] the split package? [18:17] there are two binary packages: snapd and snap-confine [18:17] we merged them into one in all the other places [18:17] so almost good [18:17] arch is wrong, must be something still missing from uname mapping [18:18] odd, uname just uses x86_64 like all normal kernels do [18:18] let me check the place [18:18] but [18:18] just have one "package()" instead of two and remove references to split package in header [18:18] woot [18:18] let me try [18:18] how do I deprecate/remove the stale snap-confine package [18:18] some files will move to snapd [18:19] i think `replaces=('snap-confine')` should do [18:20] but honestly that might be a better question for #archlinux [18:21] good point [18:22] ok [18:22] snaps seem to work for me [18:23] ok [18:23] I still need to do tab completion [18:23] and then do some comparison to what we ship here and in fedora or debian [18:23] but [18:23] I can share what I have, do you want to play with it? [18:23] yes [18:23] yes, please :) [18:25] can I just say package() { } when I have one binary package? [18:25] yes [18:27] if you submit a PR with updated PKGBUILD, I can work with that [18:27] double check packaging snapd itself works [18:28] yep, just building locally [18:28] I'll install the tab completion files as well [18:29] snaps can do pretty nifty confined tab completion [18:33] so far so good [18:36] PR snapd#3648 opened: release: remove default from VERSION_ID [18:42] ok, trying the build with tab completion [18:42] if this works I'll push the branch [18:43] I also fixed the unknown [18:43] (in snap version) [18:43] I tried a few snaps already and it's ok [18:43] though the update from previous snapd with snap-confine didn't work OK [18:43] I had to remove snapd and snap-confine [18:43] maybe it works better when this is done in a repo [18:43] and not when I just use pacman on files [18:44] I think it should work the same way [18:44] maybe I did it incorrectly, I really promise to push in a sec [18:44] let me review the patch and push now [18:45] can you please try https://github.com/zyga/snapd/commit/4bf43f3f68e856f7a45375f972aaca98bc3295e5 [18:46] just get that branch https://github.com/zyga/snapd/tree/feature/improve-arch-package [18:46] and do makepkg in packaging/arch [18:46] if you have stale src you may need to kill it [18:46] aww, hold on [18:46] didn't build [18:48] * zyga-arch correts [18:48] have a look but don't build :) [18:48] I'll push the fix over this in a moment [18:50] janisozaur1: how do I build a package and skip tests? [18:50] just to gain speed [18:51] makepkg --nocheck [18:51] build successful, let me install and run a simple snap to check [18:51] I think the version is wrong [18:51] it should convey "prerelease" [18:52] not sure how to do that [18:52] 2.27~1-1 something [18:52] like in debian? [18:52] is 2.27 already a tag? [18:53] no, not yet [18:53] that's why :/ [18:53] pushed [18:53] try it [18:53] I'll try it with GUI snaps now [18:53] so the usual way would be: [18:53] maybe, krita? [18:53] 1. have the package name `snapd-git` [18:53] tab completion for snap works! [18:54] 2. the (stored) package version is only changed when the PKGBUILD itself changes, otherwise it should be autogenerated [18:55] janisozaur1: note that the purpose of packaging/arch directory is to keep the refenrence *downstream* release packaging [18:55] 3. the `pkgver() {}` should report dynamic version, e.g. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zopfli-git#n13 [18:55] snapd-git should be a separate AUR package [18:55] ah [18:55] thank you! [18:55] no GLX :/ [18:56] I need to improve opengl support :) [18:56] it seems this is the thing were we all started [18:56] so you can have the pkgver set to something like 2.26.14-1414-g1bb7d6da9 [18:57] I see a billion gpg-agents on my system [18:57] hmm [18:57] is this gnome-web being dumb or did I break something with tests? [18:57] yep [18:57] tests are leaking crap [18:57] but that's for another moment [18:59] janisozaur1: I'll add pkgver and push again [18:59] thank you for the link [19:01] ok try it! [19:02] PR snapd#3649 opened: packaging: update arch packaging for 2.27 snapshot [19:02] and please comment on https://github.com/snapcore/snapd/pull/3649 [19:02] PR snapd#3649: packaging: update arch packaging for 2.27 snapshot [19:04] I also commented on https://forum.snapcraft.io/t/updates-to-snapd-package-on-arch/1467/6 [19:15] aww === LarreaMikel1 is now known as LarreaMikel [19:18] I got one odd test failure but I didn't change that branch, feels like tab/spaces thing [19:19] janisozaur1: any luck? [19:20] janisozaur1: I replied on your comment [19:20] janisozaur1: let me know how it works with various snaps [19:20] I definitely want to look into GLX issues but given my environment (libvirt vm with virtio GPU) I'm not sure that is representative [19:21] I need to boot natively and see how it works [19:21] but, if you are native today you can tell me how it works for yoiu [19:21] you* [19:21] after realoading the daemon i can get textual things to work [19:22] what is the hardware you are on? [19:22] i7 4790, geforce 960 [19:22] I see [19:22] I see DNS resolution issues [19:22] wethr snap for instance [19:23] doesn't work [19:23] trying to run glxinfo definitely does not work [19:23] > [1] 9519 segmentation fault (core dumped) snap run gl-test-janisozaur.glxinfo [19:23] janisozaur1: do a local test [19:23] rebuild without --with-nvidia-arch [19:23] and see if that changes anything [19:23] after doing this you must "sudo unmount /run/snapd/ns/$SNAP_NAME.mnt" [19:24] `--enable-nvidia-arch`? [19:24] it's already in PKGBUILD, though [19:25] right [19:25] remove it [19:25] without it :) [19:25] I think it causes the crash [19:25] it does some crazy things [19:25] *ahem* [19:25] I wonder who wrote that [19:25] :P [19:25] I should have never done that [19:25] without this option you are not going to mix anything from the snap world with the distro world [19:25] i can try that same package on intel gpu [19:26] all we need from the system is a running kernel [19:26] so if you have the GPU driver module in place [19:26] we need a snap with the userspace proprietary bits that is built using a compatible compiler [19:26] (compatible with the base/core snap of the snap the app requires) [19:26] and then it will work [19:27] we're interested in fixing it but it's not super high on the priority list yet [19:27] (GNOME theme support is first) [19:27] along with other general feature work [19:27] but with some experiments it could be made to work [19:27] nothing trivial though [19:28] are there any standard debugging snaps? [19:28] janisozaur1: depends on what you want [19:28] you can always run "snap run --shell snapname.appname [19:28] that will drop you into bash instead of whatever the command was [19:28] so [19:28] I can confirm that I don't get a working resolver [19:29] because /etc/nsswitch.conf uses files mymachines resolve [19:29] I need to patch this, one sec [19:29] one with glxinfo? [19:29] (this is just another bug out of the old design mistake to share /etc) [19:29] I don't know any actually [19:29] but [19:29] you can do some crazy stuff by accessing it from the real filesystem [19:29] from /run/snapd/hostfs [19:30] not sure if it will work [19:30] can i list apps of a installed snap? [19:30] you may need to set library search path [19:30] jamespage: snap info $SNAP_NAME [19:30] commands: section [19:31] > error: cannot find signatures with metadata for snap "/home/janisozaur/gears_gears_amd64.snap" [19:31] say whaaaa? [19:34] sudo snap install --dangerous [19:34] snaps come with assertions that describe what the snap is, who made it, etc [19:34] this is the root of trust and permissions [19:34] those are *separate* from the actual image as they come from the store, signed [19:35] you can install a locally built snap with --dangerous [19:35] right, I was using it yesterday, a minor brainfart today [19:37] ok, rebuilding with one more patch [19:37] if this works I'll open another PR and push an update [19:38] this should fix DNS [19:39] really the next step is to run comprehensive suite of integrationtests [19:39] on the other system, where i installed the same pacman package, trying to run a snap: [19:39] but those take more time to integrate with [19:39] > cannot perform operation: mount --rbind /dev /tmp/snap.rootfs_SVXQPd//dev: No such file or directory [19:39] unmount anything in /run/snapd/ns/ [19:39] that *may* be at fauld [19:39] *fault [19:40] and check if you have "core" in "snap list" [19:41] hmm [19:42] no luck [19:42] so [19:42] how does it work? [19:42] my /etc/hostname is 127.0.0.1 [19:42] I've unmounted /run/snapd/ns/ [19:42] is that dnsmasq running as a local resolver? [19:42] now i get [19:42] > core 2462 canonical broken [19:43] woah? [19:43] are you in snap run --shell shell? [19:43] or on the "outside" [19:43] and can you run snap list [19:43] outside, that's from snap list [19:43] and check /var/lib/snapd/snap/ [19:43] is the core snap mounted there? [19:43] "broken" says it cannot read the mounted snap [19:44] specifically meta/snap.yaml [19:45] so [19:45] no, empty [19:45] is there a systemd unit for the core snap [19:45] maybe something is broken [19:45] in /etc/systemd/system [19:45] you should see var-lib-snapd-snap-core-2462.mount [19:46] `systemctl| grep snap` says nothing about core [19:46] if you start that unit it should work [19:46] yes, much better now [19:47] and custom snap runs work now too [19:48] trying to run glxinfo on that machine with intel gpu: https://hastebin.com/doneyaxolu.md [19:52] zyga-arch: can I PM you? === JanC is now known as Guest87139 === JanC_ is now known as JanC [20:08] PR snapd#3650 opened: cmd/snap-confine: don't share /etc/nsswitch from host [20:12] janisozaur1: re [20:12] sure [20:12] I was rebooting to figure out what was wrong on my setup [20:12] all fixed now [20:32] PR snapd#3647 closed: gitignore: ignore more build artefacts [20:33] PR snapd#3644 closed: cmd: fix tests that assume /snap mount [20:33] PR snapd#3645 closed: cmd: mark arch as non-reexecing distro [20:34] PR snapd#3646 closed: snap/snapenv: always expect /snap for $SNAP [21:20] Has anyone booted a core image recently? I've been trying to generate one and if I reboot the device it cannot find the kernel snap. I've tried kvm and running on a physical pc, this is using the pc-kernel and my custom kernel snap and I keep seeing the same issue. [21:31] If anyone is interested this is the json used to generate the model. [21:31] { "type": "model", "series": "16", "model": "truck", "architecture": "amd64", "gadget": "pc", "kernel": "pc-kernel", "authority-id": "", "brand-id": "", "timestamp": "2017-08-02T15:29:45+00:00", "required-snaps": ["bluez", "network-manager", "dnsmasqd"] } [21:37] if a restricted snap is connected to snapd-control interface, does that allow it to be able to talk to snapd commandline interface ? [21:37] s/restricted/confined. [21:43] Sorry, how would I check that? [23:28] well https://github.com/snapcore/snapd/pull/3639 didn't go so well [23:28] PR snapd#3639: Update to version of golang.org/x/crypto currently in Debian unstable [23:28] i'm fairly confused as to what actually broke though [23:29] oh eh what? [23:29] src/github.com/snapcore/snapd/vendor/golang.org/x/crypto/acme/acme.go:18:2: cannot find package "context" in any of: [23:30] oh right, x/crypto no longer compatible with 1.6 i guess