[00:48] PR snapcraft#1961 closed: Sentry [00:51] PR snapcraft#1962 closed: store: stringify message for StoreDeltaApplicationError === nacc_ is now known as nacc [06:07] morning [06:08] Goood Morning! [07:08] mvo: morning [07:15] hey mborzecki ! [07:15] mborzecki: good morning [07:17] heh the timer services spread test is failing on 14.04, can't figure out why, cannot reproduce it in spread debug shell either even if i do `snap enable test-snapd-timer-service && snap disable test-snapd-timer-service` in a loop [07:19] and the error does not make any sense `start snap.test-snapd-timer-service.random-timer.timer] failed with exit status 6: Failed to issue method call: Unit snap.test-snapd-timer-service.random-timer.timer failed to load: No such file or directory` [07:21] hmm and we don't seem have any tests for enable/disable that touch services [07:26] mborzecki: hm, I have not seen this error before [07:27] mvo: this happens when i reenable the snap that has timer services, i'm adding a test right now to see if this happens also if there's just regular snap with services [07:30] mvo: also, the start happens after enabling the unit, so somehow systemctl enable worked, but systemctl start does not [07:31] hey mvo :) [07:31] zyga: hey [07:31] hey :-) [07:31] man, I overslept [07:32] mborzecki: hm, lets hope its not a general problem [07:32] zyga: hey, good morning [07:33] I got a failure of snap-service-refresh-mode [07:33] reinstall did stop a service that shouldn't [07:33] full log in https://api.travis-ci.org/v3/job/346989504/log.txt [07:34] * zyga notices the extended reply on https://forum.snapcraft.io/t/lxd-issue-due-to-snap-confine-apparmor-profile/4203/19 [07:40] Can anyone help in this? https://forum.snapcraft.io/t/cannot-upload-to-store/4250/9 [07:40] i.e. why am I getting this external libusb symlink when I built with Snapcraft? [07:40] kalikiana ^ [07:40] hi [07:41] pedronis: hey, morning [07:42] mvo: while trying to understand why the core transition tests failed with my new code, I found an interesting thing about them [07:43] pedronis: tell me more [07:44] mvo: since we have the base code we always install core when installing a new snap (if it's not there), even if ubuntu-core is there, so the two kind of test are the same now [07:44] pedronis: oh, indeed [07:45] I don't know if there is something to do [07:45] but I was confused for a bit [07:45] (I found the problem with my new code) [07:47] * mvo nods [07:48] mvo: we might want to remove of them, or merge them somehow [07:48] s/of them/one of them/ [07:49] I don't think at this point fixing the "bug" make sense [07:50] pedronis: indeed, I would love to get rid of all of them but not quite yet (its an expensive test) [07:55] and let them live there before they get removed [07:58] pedronis did you push the fix for the timestamp issue to 2.32? [07:58] no [07:58] only master [07:59] I just got this failure in a 2.32-based PR, perhaps it's worth doing so [08:05] mvo I wanted to update you on layouts [08:06] there is one PR that I asked you to co-review with jamie, that I would like to cherry-pick into 2.32 [08:06] there will be a follow-up today, building upon the concept, that will have a similar fate [08:06] both of those should be cherry-picked into 2.32 [08:06] the changes are non-trivial so I wanted you to be aware of that [08:10] zyga: what is the risk of breaking things there? i.e. is it a new feature (user mounts) or modifying exiting behaviour? [08:10] mornings [08:10] mvo a bit of both [08:11] mvo snap-update-ns will now use per-snap profile [08:12] mvo the follow-up PR will remove broadly open permissions and replace them with values that match the layout of a given snap [08:12] as well as inject $SNAP_NAME (expanded) into many places that currently use a glob [08:14] zyga: how critical is that? 2.32 already contains quite a bit of churn and its only 2 weeks away. I'm a bit concerned about adding things that might break [08:14] zyga: maybe we can discuss in more detail in the standup? [08:14] mvo pretty critical I'm afraid, jamie requested that to be in 2.32 [08:15] to avoid pretty-much unconfined snap-update-ns [08:15] ok [08:21] o/ [08:28] mo'in [08:29] mvo: I'm off to the dentist's first thing, should be back for a late start (my 11am) [08:31] Chipaca: hey, thanks [08:33] https://github.com/snapcore/snapd/blob/master/wrappers/services.go#L250 daemon-reload should probably happen when we add service files, regardless of those being enabled or not, shouldn't it? [08:35] mborzecki: yes, good catch [09:00] hmm [09:00] I'm seeing failres of snap-info [09:00] zyga: oh, featured list changed again? or the install date? [09:00] no, it is summary, it seems [09:01] + snap info basic_1.0_all.snap /home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps/basic-desktop test-snapd-tools test-snapd-devmode core /etc/passwd test-snapd-python-webserver [09:01] + python3 check.py [09:01] in test-snapd-tools.summary expected 'Tools for testing the snapd application', got '' [09:01] starting local run now [09:02] I doubt this is something that is broken in my branch as it is entirely unrelated [09:03] btw. don't recall, do we do any testing with recentish nvidia cards? [09:03] mborzecki sergio ran some tests remotely recently [09:03] mborzecki not sure how recent the hardware was though [09:04] hmm, the user that had the stack smashing detected on manjaro with nvidia drivers got back to me, he's seeing the problem on arch too, nvidia drivers 390 [09:05] i'll suggest him to open a topic in the forum, maybe jdstrand will be able to suggest something [09:14] and indeed [09:14] I don't get a summary [09:14] https://pastebin.ubuntu.com/p/m5KQPxNSw4/ [09:14] any ideas anyone? [09:14] description is also empty [09:15] it's coming from the local snap.yaml i suppose [09:16] mvo, hi, I'm getting this error https://paste.ubuntu.com/p/gTrF3Z8yTS/ when trying to rebuild the maas snap with the custom base-18. did something change in bionic? [09:16] zyga: when it goes from the store there's both summary and description https://paste.ubuntu.com/p/3GZR5q5XJC/ [09:17] ackk: this looks like a snapcraft change, I wonder if it is not taking bases into account? it takes about core there [09:17] ackk: maybe kalikiana can help with the above error (cc https://paste.ubuntu.com/p/gTrF3Z8yTS/) [09:18] mvo, oh, I wonder if I'm usin an older version now (I used to use snapcraft from the snap) [09:18] hmm, test-snapd-tools doesn't have a summary [09:18] (or description) [09:19] checking master now [09:27] hmm [09:27] it passed on master [09:27] trying again [09:28] and now my branch passed [09:28] mvo there's something wonky going on, snap-info fails ~ 2/3 runs [09:36] zyga: woah, for snap info - that is astonishing [09:36] I don't understand it yet, running one test I saw a failure a moment ago [09:36] now no failures for 3 runs [09:36] zyga: only in tests? or also on a real system [09:36] zyga: is this coming from the store or from the local snap? [09:36] only in tests so far [09:37] main/snap-info [09:37] good question [09:37] from the store [09:37] maybe we hit different machine via load balancing [09:37] and one gives wonky answers [09:39] mvo: do you know anything about this error? https://pastebin.canonical.com/p/mdnpq6rM7T/ [09:39] mvo: it started happening recently (noticed it today), so i would suspect something changed in snapcraft [09:40] mvo: this is trying to build agains the base-18 on bionic [09:40] mvo so on my bionic machine I just installed test-snapd-tools [09:40] and it has a summary and desscription [09:40] mvo, BjornT's error is the same as mine [09:40] but just a moment ago inside a test I did the same and they were both empty (see the pastebin I sent earlier) [09:41] mvo, BjornT I'm trying to build with snapcraft from the snap (rather then the bionic one) and it now gets stuck on priming [09:43] zyga: was the test using a different channel? [09:44] no [09:44] same test in a loop [09:44] it doesn't fail now, maybe store got fixed now [09:45] BjornT: I talked about this with ackk some minutes ago, it looks like snapcraft is not taking "base" into account when it warns about the glibc incompatibilities [09:46] mvo: any chance of getting it fixed (or a workaround) quickly? it's blocking maas development [09:46] ah, the deb in bionic is newer than the snap stable version, I wonder if something broke there [09:47] BjornT: that is a question for sergiusens and/or kalikiana - I am not working on snapcraft myself, sorry. but lets hope they get back to you quickly [09:53] mvo, do you think #4762 could go o 2.31? [09:53] PR #4762: servicestate: use systemctl enable+start and disable+stop instead of --now flag [10:13] kalikiana, around? any suggestion on the issue above? ^ [10:23] I cannot reproduce snap-info error anymore [10:23] so maybe just a temporary fluke [10:23] pedronis is the store undergoing any updates now? [10:23] we reverted something I think [10:23] don't know if it was related [10:26] pstolowski: definitely 2.32, I think I will also cherry-pick to 2.31 just to be on the safe side [10:26] mvo 4760 is ready for your review now [10:28] zyga: must be later todday, I need to meet the feature freeze deadline for c-n-f [10:28] mvo understood [10:28] mvo curious, will you still tweak the output? [10:28] sorry! [10:28] I really didn't like the odd output I saw last night? [10:28] zyga: tweak the output of c-n-f ? [10:28] yes [10:29] https://bugs.launchpad.net/command-not-found/+bug/1749777 has the latest agreements as-i-understand-them [10:29] Bug #1749777: Syntax tweaks for snap-friendly output === LtWorf_ is now known as LtWorf [10:29] zyga: there is a bit of controversy still but its difficult to find a solution that makes everyone happy, we discussed that quite a bit [10:30] what bugs me the most is that the mixed advice there doesn't give instructions on how to do anything about installing it [10:33] zyga: indeed, I think we did a pad with some clever ideas, just need to find it [10:34] mvo I made a trivial suggestion [10:34] https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1752185/comments/3 [10:34] Bug #1752185: Formatting of command-not-found with snap addition could use cleanup [10:34] zyga: https://pad.ubuntu.com/1C0cSZX9oB [10:34] zyga: sure, that is welcome [10:35] mvo is "this is what we will do" part true? [10:35] as in, that's the thing you will code [10:37] mvo, ack [10:38] PR snapd#4762 closed: servicestate: use systemctl enable+start and disable+stop instead of --now flag [10:38] zyga: it was true [10:39] zyga: and then this bugreport with another version of the syntax came along [10:39] zyga: that was the outcome of a long(ish) meeting with john and gustavo, I think the result is good but its also noisy, the idea from mark has the advantage that its very compact [10:39] I think it just hast to be useful and feel good [10:39] good luck on that [10:51] ackk: Sorry, I was in a call. Looking in a moment [10:51] kalikiana, thanks [11:03] BjornT: What Snapcraft are you building with? Edge? There've been some recent fixes on master although base support is still a work in progress. I'd defer to sergiusens here since he's working on that. [11:07] kalikiana, I've been using stable, I'm building with edge now [11:07] kalikiana, priming now seems to take a very long time [11:08] kalikiana, it fails with edge as well [11:08] kalikiana, so, stable does seem to take into account bases, edge (or bionic package) doesn't [11:09] BjornT, kalikiana even no-system-libraries fails for me [11:14] kalikiana: i'm using git master to build the snap. using no-system-libraries takes me further. it still prints out warnings and i get a snap. but now i get python import errors when trying to run the snap. it seems that /usr/bin/python3 is used, which doesn't have my python modules [11:32] pedronis, hey, running again the tests against stagin [11:32] g [11:32] cachio_: no, need, I did this morning [11:32] also there's a problem with staging [11:32] we are trying to fix [11:33] pedronis, ok, so many errors? [11:33] yes, not a lot [11:33] but more that there should be [11:37] pedronis, ok, I am making a run now [11:38] pedronis, I already started it [11:38] ok [11:54] Is it possible to have multiple versions of a snap installed simultaneously? [11:54] mpt not yet but Chipaca is working on that [11:54] ah, cool [11:54] no i'm not [11:54] :) [11:55] but i will be, next [11:55] or, rather, that's the next big thing i'll be working on [11:57] PR snapd#4765 opened: interfaces/apparmor: use snap name instead of wildcards [11:57] PR snapcraft#1964 opened: Fix Store integration tests with updated snap name registration error messages (take 2) [11:57] I need some reviews [11:57] for this (last patch only) [11:57] and the one before [11:57] anyone interested [11:57] this one is actually trivial [11:57] https://github.com/snapcore/snapd/pull/4765/commits/caafe76f4c3040426573b81def2a645119c68451 [11:57] PR #4765: interfaces/apparmor: use snap name instead of wildcards [11:59] Chipaca, ok. When you do have multiple versions installed, will they always have access to the same interfaces? Or will it be possible to differentiate? (for example one version has access to the camera while the other doesn’t) [12:00] mpt: as I understand it they'll be separate entities as far as that aspect of things [12:01] mpt: but there isn't even a forum topic about it yet, so it's rather green [12:01] Chipaca, thanks. (Reason I’m asking is, that means they’ll need to be listed separately — and disambiguated — in GUIs for seeing/changing what permissions they currently have.) [12:01] mpt: (if you feel strongly one way or the other now'd be an ideal time to bring it up :-) ) [12:06] pedronis, I uploaded 3 snaps to staging [12:06] pedronis, it should fix the 3 failing tests that I swaw [12:06] I0ll re run to see we have 100% passing [12:11] kalikiana: fwiw, i tried this patch: https://paste.ubuntu.com/p/s2t3wct5J3/ [12:12] kalikiana: the maas snap builds then, but then the configure hook complains: https://paste.ubuntu.com/p/G3dsTh33Fg/ [12:12] kalikiana: libssl.so.1.1 is in the snap, though [12:17] kalikiana: btw, LD_LIBRARY_PATH doesn't seem to be set [12:21] PR snapd#4766 opened: userd: add an OpenFile method for launching local files with xdg-open [12:22] Chipaca have a look at 4755 please [12:40] mvo, still working with sru [12:40] I see some denials [12:41] https://paste.ubuntu.com/p/6WJfXd952Q/ [12:48] zyga, I am tesintg on google and I see bionic has not SElinux enabled [12:48] cachio_ why would it be enabled? [12:49] zyga, well, hte problem is that we are trying to uninstall snapd_selinux package [12:49] and it is failing [12:49] that package only exists for fedora [12:49] the package is not installed [12:49] why would we do that? [12:49] we do that in the upgrade test [12:51] ok, in that case something else is wrong [12:51] zyga, after remove and reinstall snapd [12:51] there's no such package in ubuntu or anywhere else but fedora [12:51] zyga, I see all the snaps broken [12:51] so probably some wrong pattern somewhere [12:52] zyga, ok, thanks!! [12:52] zyga: you sure you meant to ask me to look at my own pr? [12:53] yes :) meant to look at the feedback [12:54] zyga: I think I'll just replace it with a MatchCounter [12:54] the gist of this pr predates that :-) [12:57] PR snapd#4767 opened: interfaces: disconnect hooks [13:01] PR snapd#4763 closed: osutil: handle file being matched by multiple patterns (2.32) [13:03] zyga: hey, I approved PR 4745 [13:03] PR #4745: osutil: allow creating strings out of MountInfoEntry [13:03] jdstrand hey, thank you! [13:03] zyga: I looked at PR 4765, but I think the rules need tuning. lots of apparmor denieds [13:03] PR #4765: interfaces/apparmor: use snap name instead of wildcards [13:03] jdstrand I'm going through hardening, got slowed down by store issue in the morning but now I'm iterating quickly [13:04] yes, I'm fixing that now [13:04] ok [13:04] I've added it to my list. when it passes automated tests, I'll look at it [13:05] thanks! [13:06] PR snapd#4745 closed: osutil: allow creating strings out of MountInfoEntry [13:12] cachio_: hm, wonder if snapd-app-helper in our installed profile [13:16] PR snapd#4768 opened: [RFC] snap userd autostart v2 === ondra_ is now known as ondra [13:32] * kalikiana lunch time [13:35] sergiusens: kyrofa: snapcraft#1964 fixes your integration tests vis-a-vis new validation failure messages [13:35] PR snapcraft#1964: Fix Store integration tests with updated snap name registration error messages (take 2) [13:37] mvo: BjornT no, becuase I asked what the official bases would be named (you are CCed in that email mvo) to actually work on this ;-) [13:48] Chipaca: maxiberta is the integration store server updated to follow these strings? Once this is updated, all the store triggers will fail until updated, are you aware of that? [13:49] sergiusens: what's the 'integration store server'? [13:49] sergiusens: and what are 'store triggers'? [13:54] PR snapcraft#1963 closed: Fix Store integration tests with updated snap name registration error messages [13:56] Chipaca: OLS triggers pre-deployment tests using our test suite against the integration/staging store [13:57] sergiusens: ah! that's why maxiberta wrote the first PR (which didn't address the whole issue) [13:58] Chipaca: yeah, but this is chicken and egg problem unless we allow dual results in the tests :-) [13:58] sergiusens: core18 [13:58] sergiusens: will be the name [13:58] sergiusens: but there might be more [13:58] sergiusens: … the code with the new errors is on staging [13:59] sergiusens: maybe I'm not understanding something [13:59] Chipaca: oh, I am asking, I am not stating :-) [13:59] Chipaca: let's make this simple, cprov can you +1 https://github.com/snapcore/snapcraft/pull/1964 :-) [13:59] PR snapcraft#1964: Fix Store integration tests with updated snap name registration error messages (take 2) [13:59] sergiusens: maxiberta is probably the person to answer, then [13:59] I am far from understanding all the links, I just dived in there and broke stuff [13:59] :) [14:00] the new strings are already deployed on staging Store [14:00] sergiusens: production rollout is in progress, the changes matches what we have in production [14:00] mvo: is there a forum post or something where everyone +1s? I thought that was the process for bases. I would really like to see general agreement for this as it would be really hard for us to change this (wrt SRUing) if this changes [14:00] *will* have in production in a few minutes [14:00] cprov: great, then in it goes [14:01] thank you [14:01] pstolowski, niemeyer: when you talk about "snap connections", I'd love to participate [14:01] thanks Chipaca, sergiusens [14:03] zyga, sure. but i think i'll go with something straighforward as outlined by nimeyer during the standup, not sure we will discuss it more [14:03] * pstolowski lunch [14:07] PR snapcraft#1964 closed: Fix Store integration tests with updated snap name registration error messages (take 2) [14:07] sergiusens: what is the 'assigned' thing github tells me when you merge stuff? [14:08] I'm getting error when uploading a snap to the store [14:08] package contains external symlinks: usr/lib/x86_64-linux-gnu/libusb-1.0.so lint-snap-v2_external_symlinks [14:08] Chipaca: just my internal way of making sure later who worked on what to backtrack and provide a thank you drink ;-) [14:08] But the package was built with snapcraft, isn't suppose to take care of such links? [14:09] Jasem[m]: some snaps are allowed some symlinks, so we cannot remove them "magically" or part of the building populus might be unable to create snaps in the first place [14:11] Chipaca: well, any idea how to resolve this problem then? [14:11] you can use `stage` or `prime` keywords to filter it out, but somehow I think the actual package from the archive in this case might be problematic as .so files are usually linked directly to a .so. in the same directory (and this one seems to be using an absolute path) [14:13] mvo, did you see the denial on the sru? [14:15] mvo, I have a debug open [14:20] zyga, pstolowski: We should definitely have talk about it before spending much time on one direction [14:20] Forum is great for that [14:20] Chipaca: Just responded on that thread [14:21] niemeyer: appreciated [14:22] PR snapd#4769 opened: wrappers: detect whether systemd-analyze can be used in unit tests [14:22] niemeyer: can we line up the 'days' to make scanning easier? [14:23] Chipaca: think it'll look awkward in the general context [14:23] Chipaca: Similar issue we had with "installed" (the version) [14:23] Chipaca: Also, "today" and "yesterday" won't align either [14:24] true dat [14:24] the former is less a concern now that the first indent isn't all uniform [14:24] (for the best i think) [14:24] but, it's not like we're oging to have 10 of these lines :-) so i'm just being a nit [14:24] niemeyer: thanks [14:25] Chipaca: np, thanks for calling it out [14:31] mmmm [14:31] pierogi :-) [14:31] I missed that [14:32] jdstrand 4765 is green now [14:32] if you look at the 2nd patch there the review is easier [14:34] cachio_: yeah, so about the denial> what do you see with " grep device-helper /etc/apparmor.d/usr.lib.snapd.snap-confine.real " [14:36] mvo, empty [14:39] cachio_: hm, that sucks [14:39] cachio_: if you grep for udev in there, what do you get? [14:39] cachio_: and please also grep for usr.lib.snapd [14:41] zyga: ack [14:42] * cachio_ afk [14:47] mvo that's weird [14:47] what's on bionic? [14:47] * zyga finished with pierogi and gets back to hardening [14:52] zyga: it looks like something is wrong with the apprmor profile, but its strange [14:52] hmm, didn't we have something like that a moment ago [14:52] zyga: oh, actually - 2.31 still have udev/snappy-app-dev [14:52] the device-helper rules went away [14:54] hmmmm [14:54] what was that [14:54] ah [14:54] I remember now [14:54] but that was for a re-exec rule [14:54] and just for testing scenarios [14:54] not for real-life issues [14:55] and in either case, we fixed that one [14:55] so ... [14:55] no idea, I'll go back to hardening [15:08] cachio_: do you have more context about the sru error? I see the denial but in what test is that happening? what is odd is that on 2.31 we have /lib/udev/snappy-app-dev - we moved to snap-device-helper only in 2.32 [15:10] cachio_: just let me know when you are back, happy to look at this then [15:13] niemeyer, zyga ok! [15:30] ok jdstrand whats a good non-conflict definition to copy for an interface? [15:30] to copy for an interface? [15:31] what does that mean? [15:31] like for making a new interface [15:31] ah [15:31] you wanna start with something and iterate [15:31] whatever it is i went with last time was wonky [15:31] start with common [15:31] then see what you miss [15:31] most things are fine with common [15:31] my actual definitions were fine for apparmor and seccomp [15:31] its the actual interface struct that was wonky [15:32] which seems woefully undocumented [15:32] no no, just use commonInterface [15:32] zyga: I'm getting this kind of error: cannot update snap namespace: cannot create writable mimic over "/opt": permission denied [15:32] snap-update-ns failed with code 1 [15:32] i c [15:32] pedronis on /opt?, hmmm that's weird [15:32] do you have the full log [15:33] I get this: [Wed Feb 28 14:44:11 2018] audit: type=1400 audit(1519829052.799:113): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="/snap/core/409/usr/lib/snapd/snap-confine//snap_update_ns" name="/tmp/.snap/opt/" pid=14715 comm="3" srcname="/opt/" flags="rw, rbind" [15:33] so yeah im using commonInterface. [15:34] i think this is what causes the problem: https://hastebin.com/wonojepoqo.cpp [15:34] but i honestly have nfc what it means [15:34] i copy pasted from something else a while back [15:34] pedronis do you have this line in the profile: [15:34] mount options=(rbind, rw) /** -> /tmp/.snap/**, [15:34] that I don't know [15:34] it's a full run [15:34] is it just a log? [15:35] ah [15:35] drat [15:35] no idea [15:35] it looks like we start and we have the wrongest profile ever [15:35] I saw this with /etc [15:35] maybe it's the same bug that mvo saw as well [15:35] as something clearly puts the wrong profile (like very old one) around us [15:35] zyga: maybe you can add debug: to print the profiles to main/layout ? [15:35] maybe one of the migration tests reaks t he backup [15:35] yeah, good idea, I'll do that [15:35] *breaks the backup [15:37] zyga, any thoughts on that paste? [15:37] ikey oh, I didn't notice [15:37] looking [15:38] ikey and what's the problem? [15:38] its borked [15:38] so [15:38] so it was working on our existing snapd installs [15:38] but for *new snapd users* it bricked core [15:38] those are rules that say what can be done with an interface [15:38] right and i cant find any *usable* documentation on it [15:38] bricked coreR? [15:38] ya [15:38] core couldnt be installed [15:39] allow-installation: false [15:39] is this an implicit interface? [15:39] idk what that means either [15:39] again, documentation, lol [15:39] the rules are basically saying what you can and cannot do [15:39] ive been asking about this for months now.. [15:40] its the steam-support interface that gives permissions to the steam snaps [15:40] and ideally we only want those to use it [15:40] but apparently thats all private store side behaviour [15:40] they get enforced by the policy checker [15:40] look at basedeclaration.go [15:40] ya ive read it [15:40] there's a lot of documentation there [15:40] cachio_: hi, afaict we need newer versions of test-snapd-content-plug/slot in staging [15:40] lots of words that dont really explain anything to anyone outside the inner circle [15:41] ikey so maybe I can help you out in practice [15:41] tell me about the interface you're working on [15:41] is it going to be added by core implicitly [15:41] or will it live in a specific snap [15:41] pedronis, ok [15:41] 1 minutes [15:41] thank you [15:41] zyga, its the interface that will be added to snapd to give the permissions for steam to run [15:41] so linux-steam-integration would connect to it [15:41] and pop holes in the sandbox [15:42] ikey who will have the slot side? [15:42] ? [15:42] is it going to be linux-steam-integration snap itself [15:42] ya [15:42] or is that going to be on core? [15:42] what [15:42] I mean, look at network interface [15:42] cachio_: I have all the other tests passing also with my code (except layout but that sort of weird fluke I have seen prod spread too) [15:42] ok see now you're confusing me again [15:42] there is no documentation on this difference [15:42] the core provides is (the slot) and anyone can get a plug and connect [15:42] just assumptions of prior knowledge and examples [15:43] the network interface is "implicit" so it gets automatically added to the core snap (as a slot) [15:43] i dont use core snap [15:43] pedronis, perfect [15:43] this is for solus-runtime-gaming + linux-steam-integration.. [15:43] another idea is to have a special interface that is not on the core snap (the slot) and is actually added, directly, in meta/snap.yaml in some snap [15:44] remember solus-runtime-gaming is a base snap [15:44] ikey sure but even if you don't use the core snap the interface has a plug and slot side and both plugs and slots must inhabit *some* snap to exist [15:44] so [15:44] my question is: who has the slot side of this new interface [15:44] at this point i genuinely dont know the different between slot and plug [15:44] because the terminology is grossly conflated [15:44] depending on the answer to that question we can determine the policy that will make it work [15:45] linux-steam-integration is the snap that *uses* steam-support [15:45] ikey a plug and a slot is just two ends of a wire [15:45] yes i know that but which ends go were aren't exactly well defined [15:45] case in point, core [15:45] typically the slot side is the offering end [15:45] it provides some service or capability or other thing [15:45] ok well in the plugs in snap.yaml we add steam-support [15:45] cuz we need it there. [15:45] until you connect the plug side to the slot side, the plug side cannot consume that thing and doesn't get permissions [15:45] ok [15:45] for linux-steam-integration [15:46] ok [15:46] so I suspect the slot side of steam-support is going to exist on the core snap (again, just for the sake of having to exist somewhere) [15:46] pedronis, test-snapd-content-plug updated [15:46] so "core snap" in this context really meaning "snapd" ? [15:46] but I may not be fully up to date on your discussions with jamie === nacc_ is now known as nacc [15:46] ikey the long story short [15:46] no, the core snap [15:46] but i dont use core snap.. [15:47] it's all in snapd code but the core snap is the thing that can host implicit slots [15:47] pedronis, the test-snapd-content-slot seem to be already in the last rev [15:47] cachio_: ok, good, wasn't sure [15:47] thank you [15:47] I'll try the one tests again [15:47] it isn't relevant, it's the same as you use the "network" plug in your apps and then even if you use a different base snap you get the network permission parts from this connection [15:47] ikey to fix your problem: [15:47] ok [15:47] so core defines /things/ [15:47] ikey drop the allow-installation: false line [15:48] what about those deny ones? [15:48] i assume we want autoconnect defined by store right? [15:48] and if I'm wrong and the slot side is going to be in a dedicated snap, you need to have this pre-arranged with jdstrand [15:48] yes [15:48] slot side meaning .. ? [15:48] the deny connection and deny auto connection look fine [15:48] ok [15:48] i dont "use" slots anywhere btw [15:48] the "slot side" is "the name of the snap that will ship something that looks like slots: steam-support" [15:49] just plugs [15:49] do you have any connection-based rules in that interface? [15:49] https://hastebin.com/qoqozopire.bash <- is what i have [15:49] if you have a longer pastebin with the diff, I could look [15:49] ha :D [15:49] thank you [15:49] steamSupportConnectedPlugSecComp [15:49] so the name here says it all [15:49] this is what the *plug* side gets after connecting (to a slot side) in terms of seccomp permissions [15:49] (not really its a copy paste job :P) [15:50] right [15:50] and I see you have "implicitOnCore" and "implicitOnClassic" [15:50] ya, copy paste [15:50] i have no idea what it does [15:50] :P [15:50] (yeah but my point was that those are still connection oriented concepts) [15:50] righto [15:50] i believe the original notion was to block any snap in the store autoconnecting steam-support [15:51] due to the holes it exposes [15:51] ok, if you drop the line I mentioned (allow-installation) it should move on [15:51] yeah [15:51] cuz the whole ptrace kerfuffle [15:51] then specific snaps will get an assertion that say it can connect to steam-support [15:51] like linux-steam-integration ^^ [15:51] im copying this log down locally for notes btw :P [15:52] ok so nuke that line, rebase onto git, and new PR [15:52] cool! :) [15:52] see if it works for you [15:52] not sure if anything else is missing [15:52] well that was the only issue was ran into [15:52] fresh snapd went to fetch core for the first time [15:53] and complained loudly about steam-support [15:53] obviously its a fairly nasty interface in that it "extends" another [15:54] alright cheers ima go do that [15:55] cool, good luck [15:55] * zyga replied on the LXD issue and prepares a patch for the layout bug and writes more hardening patches [15:55] zyga.fork().fork().fork() [15:55] lol [15:55] cgroups chase you [15:55] cgroups are lovely [15:56] until 2.0 that is [15:56] xD [16:00] cachio_: interfaces-content now passes [16:01] pedronis what did you chagne? [16:01] *change [16:02] zyga: this was about wrong snap revision [16:02] zyga: that failure was from main/layout [16:02] I mean nothing to do with the thing we discussed about /opt [16:02] ack [16:05] cachio__: forum post about this problem that snap-confine runs /lib/udev/snappy-app-dev from the core snap which is a symlink in the beta core which leads to the apparmor denails that you saw on the SRU verification [16:05] cachio__: I'm not sure what the right fix is. I'm also not sure why we run the snappy-app-dev inside core and if we have to do that [16:06] zyga: I guess you don't remember why we run snappy-app-dev inside core - maybe we need to run it late when we are already inside this env. but it might mean we can never rename snappy-app-dev :/ [16:06] PR snapd#4770 opened: store: parse the JSON format used by the coming new store API to convey snap information [16:07] why we run snappy-app-dev inside core, I think that's easy [16:07] because we do that after we pivot root [16:07] * zyga looks [16:07] yeah [16:07] we do that super late [16:07] hold on [16:07] we _can_ rename [16:07] we just have to be less direct [16:08] we can try the new name first [16:08] and if it's not there, fall back [16:08] and allow both in apparmor [16:08] it's like renaming snap-exec to snap-make-it-so [16:09] just [16:09] make it so [16:09] * zyga swooshes away [16:09] zyga: right, but it means we need a transiton time where the appamor profile is updated [16:09] yes [16:10] zyga: which means we probably need to revert the rename for 2.32 [16:10] /o\ [16:10] * zyga thinks [16:10] so [16:10] 2.32 [16:10] is this for revert? [16:10] or from reexec from stable deb [16:11] zyga: it is for when you run 2.31 and disable re-exec. then 2.31 snap run will run the 2.31 snap-confine which will not have the right rule yet [16:11] zyga: for 2.31 with re-exec everything is fine because then the right snap-confine with the correct profile runs [16:12] wait I don't follow [16:13] * mvo waits [16:13] so [16:13] PR snapd#4771 opened: store: add Store.InstallRefresh to support the new install/refresh api endpoint [16:14] 2.31 is in the deb or in the core snap in your example? [16:15] zyga, we install 2.31.1 from deb [16:15] ok [16:16] and the core snap is the one in beta 2.32 [16:16] and it is set [16:16] so 2.31.1 deb, with all the right snap-confine profiles, installs core and gets 2.32 [16:16] SPREAD_MODIFY_CORE_SNAP_FOR_REEXEC=0 SPREAD_TRUST_TEST_KEYS=false SPREAD_SNAP_REEXEC=0 SPREAD_CORE_CHANNEL=beta [16:16] mvo so far so good? [16:16] mvo is that accurate? [16:17] zyga: sorry, 2.31.1 is in the deb, 2.32 (with the rename) is in the core snap [16:17] ok [16:17] so far so good [16:17] and that so far works [16:17] zyga: with *no* reexec [16:17] then we disable reexec, right? [16:17] zyga: correct [16:17] ah [16:17] I see [16:17] but [16:17] ahhh [16:17] we have a compat symlink? [16:17] nothing more? [16:18] zyga: correct [16:18] zyga: aha! [16:18] ok [16:18] zyga: so we just install the real thing :) ? [16:18] zyga: smart! [16:18] * mvo hugs zyga [16:18] * zyga hugs mvo back and thinks about what the solution is [16:19] zyga: didn't you just suggest the solution? [16:19] mvo you made the solution, I'm just the garden thing :) [16:19] haha, I apparently did b [16:19] but you get it and I'm still processing [16:19] zyga: if we install the real thing in two places [16:19] yes [16:19] that will work [16:19] zyga: nstead of a symlink it should work [16:19] i seem to remember you guys mentioned this being fixed somewhere: go build github.com/snapcore/snapd/cmd/snap-seccomp: invalid pkg-config package name: --static [16:19] any pointers? [16:20] ikey ah, that's the golang security SNAFU [16:20] i think we reverted the --static linking in master [16:20] oh right [16:20] and do soma hackery in ubuntu builds to restore it manually [16:20] o [16:20] but I didn't do that so no good links [16:20] * ikey hits up https://github.com/snapcore/snapd/commits/master/cmd/snap-seccomp [16:21] https://github.com/snapcore/snapd/commit/536f30bebcbaca8b391919afbda8dd67b360d45d.patch [16:21] heh [16:21] PR snapd#4772 opened: tests/lib/fakestore/store: teach the fake store to fake the new install/refresh endpoint [16:22] mvo I was thinking about a bind mount becase that fools apparmor [16:22] but installing twice is just perfect [16:22] +10 [16:22] iirc we really /should/ force static linking on seccomp right? [16:23] it's complex [16:23] sometimes yes [16:23] i seem to remember it giving heartattacks to apparmor [16:23] but it depends on the context [16:24] * ikey finds a lump hammer [16:24] bye freenode [16:25] hmm? [16:25] hi freenode. >_> [16:25] was that a bouncy hammer? [16:25] lol wasnt me i swear [16:25] this seems to make it work: [16:25] GOPATH="`pwd`" go build -o bin/snap-seccomp --ldflags '-extldflags "-static"' -v github.com/snapcore/snapd/cmd/snap-seccomp [16:26] ikey of *course* it does [16:26] programming is so logical [16:26] XD [16:27] ok well it builds at least [16:27] lets see the verdict .. [16:28] zyga, it might make more sense if i reopen my original PR and submit the fix-commit on top? [16:28] this way we preserve the old discussions [16:28] yeah, that'd be great [16:28] and then if someone wants to chuck the rebase on top, go for gold [16:28] we'll see if github likes the notion of merging first [16:28] ill get runtime-snaps changed over in git and wean them off devmode [16:31] zyga, https://github.com/solus-project/runtime-snaps/commit/d3e3e6c0e231b3e09081a603296331a0e97917e7 :p [16:32] arses in gear [16:32] that's the spirit [16:32] lol [16:32] * zyga googles what that means [16:32] does it mean [16:32] literally just get moving and stop stalling [16:32] "let's get off our ass and do an interface"? [16:32] right [16:32] very graphic :) [16:32] mm [16:33] as we literally didn't move much [16:33] to write this [16:33] alright in theory i can install the (very old) runtime [16:33] and just build a new sideloaded snap app [16:33] and then test they havent died [16:33] i.e. regressed from the last time [16:33] and that should be all good in the hood for sending === kwmonroe_ is now known as kwmonroe [16:34] can snaps hit the store prior to the interfaces being generally available btw? [16:34] i want to kill the old snaps with fire [16:34] I don't know [16:34] guess we'll find out eh [16:34] I suspect it will be flagged for manuak [16:34] I started proposing some PRs for the new api [16:34] manual* [16:42] sudo ./mkapp.sh 193.03s user 40.57s system 46% cpu 8:25.21 total [16:42] not bad :o [16:43] PR snapd#4773 opened: tests: add debug for layout test [16:44] * zyga read that tonight parts of poland will go to -24C === rharper` is now known as rharper [16:44] :o [16:44] so close [16:44] I remember going to high school one day (during daytime) when it was -25 [16:44] but it was before we all had phones [16:44] so nobody knew the school is closed [16:45] so I went back and forth [16:45] oof [16:45] btw is the store seeing traffic issues lately? [16:45] only hitting 2.30mbs on a download [16:45] (100mbps connection) [16:46] dunno [16:46] download is from CDN [16:46] * ikey blames snow [16:46] PR snapcraft#1965 opened: tests: remove ProjectOptions dependency from integration suite [16:49] ok looking good [16:49] steam client is downloading.. [16:50] (had to manually snap connect ofc :)) [16:53] zyga, https://ibin.co/3tHZHjqBVVBh.png :) [16:54] I need to refresh my steam game collection [16:54] but ... all the patches [16:54] ikey nice :-) [16:54] ok so i reopened old PR, added the new commit on top [16:55] PR snapd#4538 opened: interfaces/builtin: Add new steam-support interface [16:55] ty, bot [16:59] zyga, do you have a5 minuts to see something? [16:59] sure [17:01] niemeyer: here's a first start on the ref https://forum.snapcraft.io/t/snapcraft-yaml-reference/4276 [17:01] zyga, hold on, I can't find the pass for the vm on google backend [17:02] sergiusens: Sweet, thank you! [17:02] sergiusens: The formatting is a bit strange, but with that material we should be able to easily play until we find something comfortable [17:02] niemeyer: as a first draft I welcome any suggestions [17:03] sergiusens: I'm not even sure what to suggest at this point.. not obvious to me either.. but now that we have the material it's easy to play.. I'll have a try later today [17:03] niemeyer: I tried to mimic the google docs we had, the table width should be modifieable with some CSS (on the forum at least) [17:03] sergiusens: I'd prefer to not play with the width.. if we're going too wide, it's not going to be comfortable to read [17:04] sergiusens: See the introductory material for example (Getting started, etc).. the width feels pretty reasonable [17:05] hi: could someone help with creating a Qt/QML snap? nothing i found in internet worked for me [17:06] niemeyer: yeah, that one does look good :-) [17:11] zyga, any idea what could be causing that problem? [17:11] no [17:11] zyga, it is just happening on bionic [17:12] see if this is package update scripts [17:12] or something the test is doing [17:12] I don't know [17:13] zyga, ok, I'll start with the update scripts [17:13] tx === devil is now known as Guest59388 [17:24] * kalikiana heading out [17:31] cprov: some store things seem broken https://travis-ci.org/snapcore/snapcraft/jobs/347284826 [17:35] sergiusens: let me take a look [17:38] sergiusens: pexpect timeout don't tell us much about what is failing :-/ [17:39] pedronis: Where's account "title" coming from? [17:39] niemeyer: it's the display-name [17:39] pedronis: We have "username" and "display-name" in the account assertions [17:39] cprov: yeah, I know, these silent tests are killing me in the sense that we never really know what goes on, elopio can we get this one fixed? [17:40] pedronis: That's also how we generally referred to those filed, I think? [17:40] pedronis: A person's "title" is something else (Ms., etc) [17:41] sergiusens: I can only think of some issue with the test creds, tests are passing locally against staging -> https://pastebin.canonical.com/p/XfPbxgWHg7/ [17:41] niemeyer: I think they come from wgrant/nessita, these names [17:41] pedronis: Sure, I mean in terms of design :) [17:42] cprov: thanks, I'll leave it to elopio then [17:44] niemeyer: I need to have dinner, I'm personally fine either way, I'm not quire sure why s/display-name/title/ [17:45] pedronis: Okay.. let's catch up with nessita and wgrant then [17:45] pedronis: Enjoy! [17:56] niemeyer: I mean I'm quite sure they were called display-name and username at some point, I'm not sure why they got changed to this [17:59] pedronis: Agreed, let's catch up with them [17:59] niemeyer: as you can see in infroFromStoreSnap most other things have quite matching names now [18:03] niemeyer: the only other serious divergence I spot is in deltas: source/target vs FromRevision/ToRevision [18:04] pedronis: It'd definitely be good to sync, but I'm less concerned about that one.. we won't be talking much about that [18:04] yes [18:04] just pointing out [18:04] pedronis: Accounts is a can of worms, though, and that's part of the sauce inside that can [18:04] afai see the rest is quite aligned, except publisher [18:05] but I vaguely remember we started from the assertion names [18:05] and I don't know why we got there [18:06] pedronis: What about publisher? [18:06] pedronis: Is publisher not the publisher? [18:06] it is the publisher [18:06] I mean the field inside it [18:06] *fields [18:07] pedronis: Ah, ok, phew [18:08] no publisher is the publisher [18:08] (I would be very unhappy if we do all this work to again mix that up) [18:13] sergiusens, elopio: FWIW our creds results in a green run -> https://travis-ci.org/snapcore/snapcraft/builds/347383931 [18:22] pedronis, do you know which scripts are executed when the snapd upgrade is done? [18:24] cachio__: nothing super interesting , debian/snapd.maintscript and debian/snapd.postinst [18:24] we do interresting things when we are removed though [18:24] snapd.postrm [18:26] pedronis, ah, ok, I'll take a look to those scripts === chihchun_afk is now known as chihchun === mcphail_ is now known as mcphail [19:16] zyga, do you know where all the mounts are done after an upgrade? [19:39] Issue snapcraft#1954 closed: Implement support for `common-id` [19:39] PR snapcraft#1960 closed: extractors: add support for common-id [19:53] niemeyer, I dont see any ubuntu - 32 bits [19:53] in google compute images [19:54] niemeyer, any idea where to find? [19:54] which project [19:59] cachio__: I think there was some discussion around having them made, but no, they don't exist yet afaik [19:59] pedronis, ah, ok [19:59] bad news [20:19] PR snapd#4774 opened: tests: adding ubuntu-14.04-64 to the google backend [20:27] niemeyer: talked with Natalia, no big objection to rechanging but double checking, we want s/title/display-name/ s/name/username/ in publisher ? [20:42] PR snapcraft#1965 closed: tests: remove ProjectOptions dependency from integration suite [20:42] PR snapcraft#1966 opened: grammar: support `to` statement in source [20:48] pedronis: I think that matches exactly what's in the account assertion now, right? [20:48] If so, yeah, sounds like a good win to have a single set of terms [20:50] These terms also feel less ambiguous, which is another win.. username is classical.. everybody knows what to expect, and display-name is a bit more unusual, but also typical in our usage [20:51] cachio__: I don't think they have it.. as I mentioned today in the standup, ideally the cloud team would just push that one too.. otherwise we'll need to cook the image ourselves [20:53] PR snapd#4775 opened: timeutil: timeutil.Human(t) gives a human-friendly string for t [20:54] niemeyer, ok [20:55] about the ubuntu core [20:55] 2018-02-28 17:40:04 Cannot allocate google:ubuntu-core-16-64: cannot find any Google image matching "ubuntu-os-cloud-devel/daily-ubuntu-core-16-v20161108" on project "ubuntu-os-cloud-devel" [20:55] I see this error trying to use that image [20:55] niemeyer, https://paste.ubuntu.com/p/NXPSSVgQXN/ [20:55] this is the image I am trying to use [20:56] but itdoesn't work if I set image: ubuntu-os-cloud-devel/daily-ubuntu-core-16-v20161108 [20:56] in spread.yaml [20:56] niemeyer, any idea? [20:57] cachio__: Strange.. let me check [20:57] I am gonna add some extra debug info into the google backend to see [20:57] cachio__: Is that for our snapd's ubuntu-core images? [20:58] niemeyer: yes, assertion has username and display-name [20:58] yes [20:58] pedronis: Cool [20:58] niemeyer, I am trying to test that [20:58] cachio__: Note that our images are not ubuntu-core images.. we can't do much with one of those [20:59] niemeyer, on, in that case I'll try to use the xenial image as we are doing currently [21:00] cachio__: I suggest digging a bit into the way ubuntu-core images are cooked for testing.. [21:02] niemeyer, ok [21:06] PR snapcraft#1967 opened: project_loader: improve the logic to install patchelf on arm [21:11] cachio__: Found the problem.. the API is returning less results than documented, 10 fold less.. I'll need to add support for pagination [21:11] niemeyer, good [21:11] niemeyer, thanks for see that [21:12] np [21:12] But now it's time for school pick up.. laters [21:12] PR snapcraft#1968 opened: demos: avoid use of the wrapper for java-hello-world [21:27] cachio__ mounts are done by systemd, we don't stop / start the units on package updates [21:27] unless that's something new in bionic but I don't know anything about that [21:48] bash manpage: "use --rcfile to run file instead of /etc/bash.bashrc and ~/.bashrc". bash code: "source /etc/bash.bashrc; source rcfile or ~/.bashrc" [21:48] :-(((( [21:49] * Chipaca goes for icecream [21:52] Chipaca ? [21:52] * zyga hands chipaca some lemon ice cream [21:55] zyga: the bash in xenial at least, and against what's documented, always sources /etc/bash.bashrc [21:55] which means: [21:56] you'll always get the 'how to use sudo' message on 'snap run --shell' [21:58] zyga: please tell me you're going to the sprint next week [21:59] I remember how excited you got over turkish delight in london, and budapest is swimming in the stuff [22:14] noise][, nessita the store had a "scan error" on one of my snap revisions. It's not even showing up in my rev list, but none of the subsequent snaps are being scanned as a result (they all say "waiting for to finish") [22:14] I'm fairly certain I could unblock things by rejecting and removing from the queue, but this seems like something that shouldn't happen [22:15] I don't see a reason to hold up reviews because earlier ones had issues [22:16] roadmr, I guess that ^ may interest you as well [22:17] Some sort of "rescan" button would be nice [22:17] I guess I'll try rejecting this one [22:17] kyrofa: WIT [22:17] WAIT [22:17] which snap is this? [22:17] Okay [22:17] nextcloud [22:17] give me a sec [22:18] kyrofa: https://dashboard.snapcraft.io/snaps/nextcloud/revisions/5423/ is the blocky one, right? [22:18] You got it [22:19] kyrofa: we've been seeing upload issues since yesterday, this strange state seems to be because there's no upload linked to this snap :( [22:19] we haven't pinpointed the cause for the problem yet. [22:20] roadmr, status.snapcraft.io is all green [22:23] roadmr, anyway, not sure what the deal is with that snap, but we need these other ones released. How best do we unblock this? [22:23] kyrofa: give me a sec to check things on my side. [22:23] Alright [22:23] kyrofa: don't start rejecting/removing others from the queue. It won't help - the wedged one will remain there and block any new uploads [22:23] kyrofa: to be clear - this is abnormal, a bug [22:24] kyrofa: usually when an upload gets stuck there's a very clear "rescan this dammit" button [22:24] I don't see it here; like you said, hell, I don't even see the upload [22:28] kyrofa: oh wow - an oops referencing another oops [22:31] Oops inception [22:31] oopseption :) [22:59] roadmr, things seem to be moving, now [22:59] kyrofa: wgrant fixed them. Thanks William! [23:03] It'll take a few minutes to process the backlog of nextcloud revisions, but it's getting there. [23:15] wgrant, these are uploads from LP. They aren't being released into proper channels, but I haven't received any emails about failures. Will it try again at some point? [23:16] Or have they timed out? [23:18] kyrofa: if an upload gets held for manual review, the "intent to release" for the other ones is lost, as I remember :( [23:18] https://bugs.launchpad.net/snapstore/+bug/1684529 [23:18] Bug #1684529: Need for manual review loses intent to release to channel [23:18] Ah yes, I remember that one [23:18] kyrofa: sorry about that... if once the queue is clear you do another build, that one should get released properly, since the queue is clear [23:18] * roadmr said "queue is clear" twice [23:18] thrice! no one expects the spanish inquisition! [23:19] kyrofa: do you accept transfer of snappy-m-o to you from elopio ? [23:19] roadmr, I do. Just put it into the forum for tracking purposes as well [23:20] kyrofa: thanks, it's the proper place, I normally then e-mail the parties to verify but since elopio is a well-known user and so are you, I can check via irc :) [23:20] roadmr, good deal, thank you :)