=== kalikiana_ is now known as kalikiana === zyga_ is now known as zyga === cmagina_ is now known as cmagina === tai271828_ is now known as tai271828 === TinoGuest_ is now known as TinoGuest === victorbjelkholm_ is now known as victorbjelkholm === pstolowski|afk_ is now known as pstolowski|afk === mwhudson is now known as Guest96057 === Guest96057 is now known as mwhudson === erio|away is now known as erio === prime is now known as Guest2033 [04:58] good morning [05:14] morning [05:20] hey [05:21] zyga: anything on fire today? [05:25] nothing apart from my joints [05:25] everything hurts as if I had a flu [05:25] there's one bug about apparmor but it looks like partial removal of snapd [05:25] your joints hmm? :) [05:27] zyga: #177351 ? [05:27] Bug #177351: evince crashed with SIGSEGV in CairoOutputDev::setCairo() [05:27] damn, not that one, this one #1773515? [05:28] Bug #1773515: apparmor fails after removal of snapd [05:43] mborzecki: yeah, that one [05:44] drat [05:44] I made an appointment today to replace my phone battery at a service centre [05:44] sigh [05:44] what a day [05:44] well, ok, it's at 10:00 AM, close by, I can just go and work from some place nearby [05:45] I will just login home and work this way [05:45] I updated to bionic yesterday to have more recent autopkgtest [05:45] I find the whole image construction toolkit super fragile [05:45] it times out, doesn't say what's going on, etc [06:13] I’m going to the service center now [06:13] I will install myself there and just work [06:13] ETA 30 minutes [06:24] I’m close now but man, committing at this time is not fun [06:46] re :) [06:47] I'm at a starbucks exactly in front of the service center, time to work [06:47] mborzecki: mvo will be around later today [06:47] ok [06:49] mborzecki: can you please look at #5231 [06:49] PR #5231: interfaces/joystick: force use of the device cgroup with joystick interface [06:49] we need to cherry pick it into the release branch as well [06:50] zyga: to recap, this is to have the device cgroup created always, using a device (/dev/full) that we're sure is present at all times, right? [06:50] yes, almost, [06:51] we don't make device cgroups unless there's a device tagged with an udev tag that matches the app we're running [06:51] btw. reading systemd-environment-generators manpages, it's a nice feature of systemd [06:51] and if you give broad apparmor permissions (like all of input devices here) [06:51] and not tag any dveices [06:51] yup [06:51] then there's no cgroup and you can do anything you want [06:52] mborzecki: I know, I talked to zbyszek about it about a year ago when I was trying to figure out how to inject /snap/bin into PATH in a nicer way than we did before [06:52] he suggested environment generators but they were not merged back then :) [06:52] zyga: any idea how far back in systemd versions this feature is available? [06:52] it's very recent [06:53] this is why I made a remark about it on the PR [06:53] I don't know how we plan to use it across the released versions of systemd people are using [07:01] zyga: why not just always create the device cgroup? i see in the code that we're adding a bunch of static devices iff there are any (other) devices tagged for particular snap [07:01] that's my feedback as well [07:01] oh and i see nvidia ... [07:01] nvidia is a special snowflake because they cannot use GPL symbols and udev [07:04] zyga: there's a chance that device group by default may break some snaps === pstolowski|afk is now known as pstolowski [07:04] morning [07:05] or at least that's my guess why jdstrand didn't go down this path [07:05] pstolowski: hey [07:05] hey pawel [07:05] mborzecki: note that nvidia works with udev tagged devices today [07:05] we have special code for taht [07:06] in my review I gave a +1 but indicated that we should probably not make mistakes again by simply always doing a cgroup anyway [07:07] PR snapd#5227 closed: interfaces/hardware-observe: allow access to /etc/sensors* for libsensors [07:07] PR snapd#5228 closed: interfaces/hardware-observe: allow access to /etc/sensors* for libsensors (2.33) [07:10] pstolowski: hi, should we chat again? [07:12] zyga: tagging short udev related PRs with "simple" is a bit misleading I think [07:12] because it's udev? [07:14] because reviewing quickly to means I should not need to be on alert for subtle issues [07:14] by definition a PR that solves a subtle issue cannot be quick to review [07:15] zyga: maybe i'll play a bit with that change to snap-confine later today [07:15] zyga: same for the new interface PR [07:15] but the issue is very clearly stated there [07:15] pedronis: the ones about sensors? [07:16] any of them [07:16] again I don't think they can be simple [07:16] pedronis: probably, but give me a few moments to collect thoughts [07:16] zyga: you invented the label, but if I need to read the description carefully [07:16] it is also not simple [07:16] zyga: simple is something that can be reviewed before coffee [07:17] otherwise is just a trap [07:17] of mindless +1 [07:17] mmm, [07:17] and we should remove the label [07:17] I'll apply more restraint [07:17] there's certainly the case that everyone is familiar with a specific part of the code more closely [07:17] and indeed then the label can be deceptive [07:17] ok, then again it cannot be simple [07:18] (because everybody sees the label) [07:21] pedronis: some quick feedback on #5221 [07:21] PR #5221: [RFC] snap: parse connect instructions in gadget.yaml [07:22] pedronis: WDYT of adding a "mounted-from" key to snaps' json, and have that be the EvalSymlinks of the MountFile of all snaps? [07:24] Chipaca: seems ok to me [07:24] k, i'll push a pr for that soonish [07:27] zyga: I'm sort of tempted to kill the label completely tbh, the fact we don't agree how it should be used it's probaly a sign is a nuisance [07:28] pedronis: I'd like to keep the label because it's an encouragement to look at PRs [07:28] we should just agree how to use it [07:30] pedronis: ok, i'm ready when you're [07:30] PR snapd#5232 opened: interfaces/builltin/tpm: Allow access to the kernel resource manager [07:30] * zyga notices a ~2K lines changed PR and wonders if 30 minutes is enough time to even look [07:31] which one? [07:32] pstolowski: joining [07:34] spineau: hey, do you have any links about what the TPM resource manager is for? [07:35] zyga: I'm collecting them right now [07:35] thanks [07:35] please add them to the PR [07:35] PR snapd#5231 closed: interfaces/joystick: force use of the device cgroup with joystick interface [07:51] popey_: https://forum.snapcraft.io/t/is-the-author-of-a-package-verified/5671 [07:51] something that well deserves a good answer [07:54] ok [07:54] Son_Goku: hey [07:55] * zyga needs to go to the service center [07:55] Son_Goku: please review your PRs, there's feedback and patches but we cannot push to your branch [07:55] * Son_Goku waves at zyga [07:55] I pushed the patch requested [07:55] * zyga goes to replace his phone battery now [07:55] ttyl [07:55] thanks! I'll check soon [07:55] Son_Goku: hey, left you a link to a patch that fixes media-sharing in opensuse pr [07:55] mborzecki: done already [07:55] now we wait forever for spread :D [07:56] hehe :) [07:56] forever as in ~30 minutes [08:10] PR snapd#5233 opened: client, daemon: add a "mounted-from" entry to local snaps' JSON [08:24] re [08:24] my phone should have a brand new battery by noon [08:25] mvo: hey, welcome back [08:26] zyga: hello [08:27] mvo: you're not under water are you? [08:27] Chipaca: no, all good [08:28] mvo: throw one bubble for yes, two bubbles for no [08:29] * Son_Goku throws three bubbles at Chipaca [08:29] * Chipaca starts selling a dragon-based arcade game remake reusing Son_Goku's bubbles [08:29] :D [08:30] ahh Spyro :) [08:30] bubble bobble, you uncultured yob [08:31] * Chipaca removes his monacle [08:31] that thing's evil [08:33] * zyga wonders what is going on [08:34] zyga: an area in the west of germany (but a few km from mvo) is under water [08:34] spineau: feedback on your PR [08:35] zyga: also bubble bobble is a game with dragons that throw bubbles and that makes no sense [08:35] Chipaca: because dragons make sense ;-) ? [08:36] zyga: about as much sense as unicorns [08:36] :D [08:36] * zyga sings "narwhals" [08:36] zyga: thx, I was wondering which one caused the error [08:36] Chipaca: yeah, some heavy rain here in the area but where I am its mostly fine [08:36] * zyga just moved further away from the window becase OMG SO HOT today [08:37] it's weird not to have one's phone around [08:37] pedronis: ok, i think i nailed the conflict check.. at least the tests seem happy [08:37] it's the most important thing to bring in many ways [08:37] 29C in the shade here [08:37] zyga: do you want one last look at #5219 ? [08:37] PR #5219: packaging/opensuse: Refactor packaging to support all openSUSE targets [08:38] yep, looking [08:38] fun fact, the man page of mount uses both "file system" and "filesystem" at the same time [08:39] that's... annoying [08:39] well to be fair, the former only a few times [08:39] mborzecki: one question on this https://github.com/snapcore/snapd/pull/5219#discussion_r191685550 [08:39] PR #5219: packaging/opensuse: Refactor packaging to support all openSUSE targets [08:41] mborzecki, Pharaoh_Atem do you know what's the tumbleweed version in the RPM macro? [08:41] I'm AFK from my home machine to check [08:41] Son_Goku: there's some fine print note about tumbleweed version right here: https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros [08:41] I mean, it's 1555 [08:41] zyga: ^^ [08:41] but what will happen later [08:41] I know, I read that :) [08:41] sorry, my question on the PR was worder better than my question here [08:42] you can't not rely on it in some fashion [08:42] right but I'm trying to guess if the next leap will have all the features we target for tumbleweed today [08:42] if so that's even better [08:42] but basically if you use it as a checkpoint (that is, don't do 0%{?suse_version} == 1550), you're fine [08:42] zyga, well, Leap is branched from Factory [08:43] err, SLE is branched from Factory [08:43] and Leap is cloned from SLE [08:43] and tumble? [08:43] and Tumbleweed is regular snapshots of Factory [08:43] we should be good with >= check then [08:44] yes [08:44] SUSE has made version checking harder than it should be :/ [08:44] +1 then, let's mere it [08:44] aaand merge [08:44] (d) [08:45] ugh [08:45] I hate touching openSUSE packaging sometimes [08:45] mvo: any chance you could approve the two new revisions of the test-snapd-eds snap? (this is just changing interface names based on the review) [08:45] zyga: do you plan to sync the spec in obs? [08:45] PR snapd#5219 closed: packaging/opensuse: Refactor packaging to support all openSUSE targets [08:45] mborzecki: yes but only for the next release [08:45] zyga: ack [08:45] jamesh: sure, let me do that right away [08:45] mvo: thank you! [08:45] zyga, don't forget to merge my changes entry into the OBS changes file [08:45] .33 is branched, once we are good for release we should do it in OBS as well [08:46] Son_Goku: ack [08:46] PR snapd#5234 opened: [RFC] snap: add `snap list --format=...` option [08:46] I guess since I'm up already and looking at this [08:47] might as well add the %bcond to create the /snap symlink in the spec for amazon linux in the fedora spec [08:47] May 30 08:17:56 arch snapd[10146]: 2018/05/30 08:17:56.829601 helpers.go:521: cannot retrieve info for snap "test-snapd-content-slot": cannot find installed snap "test-snapd-content-slot" at revision 2: missing file /var/lib/snapd/snap/test-snapd-content-slot/2/meta/snap.yaml [08:48] who was looking into the disappearing meta/snap.yaml bug? [08:48] zyga: was that you? [08:48] Chipaca: that was perdronis and to a small extent me [08:48] is that on your system or in spread? [08:48] https://api.travis-ci.org/v3/job/385570236/log.txt [08:49] was wondering whether I should keep that, or just blow it away and retry [08:49] hmmm [08:49] I'd be much happier from a user report, our tests do so much magic I don't trust some of those failures [08:50] - Mount snap "test-snapd-content-slot" (2) ([start var-lib-snapd-snap-test\x2dsnapd\x2dcontent\x2dslot-2.mount] failed with exit status 1: Job for var-lib-snapd-snap-test\x2dsnapd\x2dcontent\x2dslot-2.mount failed. [08:50] mount failed [08:50] * zyga looks for the journal error [08:51] Son_Goku: why the dislike for opensuse packaging? [08:51] it timed out https://www.irccloud.com/pastebin/5xyF1sNO/ [08:51] Chipaca: interesting, I wonder why it can ever do that [08:51] mborzecki, I don't generally have a problem with openSUSE packaging as a whole [08:51] * zyga scans the log for more clues [08:51] I actually do quite a lot of it these days [08:51] but one thing that has annoyed me a lot is that figuring out how to detect what release I'm targeting for a build has become a ton more difficult [08:51] woah [08:52] protocol error again :) https://www.irccloud.com/pastebin/DNFrcteJ/ [08:52] zyga: whassat [08:52] Chipaca: so, at this stage I'm tempted to get to the bottom of the stack to see what the hell is a protocol error [08:52] is that kernel doing barf [08:52] systemd doing barf [08:52] or something else [08:52] zyga: if it were the kernel wouldn't something in the journal say so? [08:52] Son_Goku: heh, that version macros matrix is a bit confusing [08:52] Chipaca: because the kernel is known for its impeccable error reporting [08:53] ;-) [08:53] Chipaca: I wonder if there's some logging going on that we don't show [08:53] e.g. stuff in dmesg that doesn't end up in the journal [08:53] May 30 08:18:01 arch snapd[10146]: May 30 08:17:59 arch kernel: print_req_error: I/O error, dev loop2, sector 0 [08:53] there shouldn't be, but ¯\_(ツ)_/¯ [08:53] ooh [08:53] is our snap corrupt? [08:54] that is building and installing the snap in devmode [08:54] so we send the snap over a socket [08:54] maybe there's a race and we get garbage [08:54] Chipaca: how would you feel if we added CRC to side-loaded snaps [08:54] for transfer [08:55] client and server both compute on the fly [08:55] and then the client sends at the end [08:55] mm? [08:55] more IO errors https://www.irccloud.com/pastebin/lx013vGf/ [08:55] zyga: if we were looking to do work in that area, I'd look instead at passing a file descriptor [08:55] but look, loop1 and loop2 [08:55] I wonder what's going on there [08:55] I wonder if this is "I cannot read the loop device" [08:56] mvo: hey! I have a hacky branch that fixes running travis CI on core18 (and non-bionic systems) [08:56] or "I read the loop device but man this is not a valid squashfs" [08:56] mvo: (the CI is failing for it as there are actual failures in the tests now) [08:56] zyga: what happens if you grab a squashfs, truncate it, and mount it [08:56] mvo: it's ugly, but besides being ugly currently it shouldn't have any real side-effects [08:56] zyga: truncate it by a half or sth i mean, not empty [08:56] hold on [08:57] Chipaca: this is not a side-load [08:57] it's from the store [08:57] and we apply a delta [08:57] it's a delta https://www.irccloud.com/pastebin/6kcddRIr/ [08:57] ah, no [08:57] I'm blind sorry [08:57] it's not a delta [08:57] it's a store pull [08:57] we check store assertions that they match the downloaded blob, right? [08:59] zyga: yes [08:59] hmm hmm hmm [08:59] yes, that's what validate-snap does [08:59] so we have a valid snap [08:59] yet the kernel chokes on mounting it [08:59] but one out of 100s we tested [08:59] and randomly [08:59] zyga: and if it were a delta, we hashsum the chunks, and then hashsum the resulting squash after applying the delta [09:00] because of the validate I don't think the snap is corrput [09:00] more like a rare bug in loop devices [09:00] the store doesn't try to mount it though [09:00] but this is just guessing [09:00] it should resquash it [09:00] and compare [09:00] pedronis: yes but here it's one of the snaps we test dozens of time a day [09:01] I bet if the blob arrived safely it is not the content that is at fault [09:01] we don't change that snap often [09:01] and it mounted and worked fine on all the other tests [09:01] (in the same run) [09:01] zyga: i'm about to hit restart on the test unless you shout [09:01] zyga: it might be that the network data is fine but it got corrupted while writing to disk [09:01] go [09:01] restart [09:01] mvo: mmmm, yes, perhaps [09:02] mvo: that's interesting [09:02] maybe google SSDs are just not what they used to be [09:02] mvo: well we check it again in validate-snap [09:02] and once in blue moon we will hit this one bit flip [09:02] but the pastebin doesn't have that bit [09:02] zyga: there's your failed with result protocol: https://github.com/systemd/systemd/blob/5300857701ff5e87169f3c90c6b570c750379dfb/src/core/mount.c#L1286 [09:02] pedronis: right if we read it again from disk, then my theory is bogus [09:03] mborzecki: interesting, thank you [09:03] mvo, pedronis: unless for whatever reason the kernel gives us some page cache but the loop device tries to read it from somewhere else [09:03] I don't know how the caching is layered in the kernel [09:03] that is, from userspace the file is ok [09:04] /* Note that due to the io event priority logic, we can be sure the new mountinfo is loaded [09:04] but from the loop device's point of view the blocks don't use the same page cache that userspace reading the file is [09:04] * before we process the SIGCHLD for the mount command. */ [09:04] heh, nice comment ^^ [09:04] mborzecki: yes :) [09:04] we also have our own code that goes and check _iff_ the mount was succcesful [09:05] but here it would not have a chance to run [09:05] if that systemd code is broken [09:05] right [09:05] and the mount really worked [09:05] but systemd thinks it did not [09:05] note that arch has a quite recent kernel [09:05] we could add some code to check for that condition [09:05] I wonder if we have enough data to see if this happens on a specific kernel more often [09:05] or if it's just all over the place but infrequent [09:06] I'll write down what I know so far on the forum [09:06] zyga: was it seen on ubuntu and fedora? [09:06] and let's keep watching this [09:06] mborzecki: I don't remember [09:06] pstolowski: cool, let me know when I should re-review [09:06] I think it was [09:07] fedora should be running recent kernels too, so if it's related to recent(ish) kernels it should pop up there too [09:11] * Chipaca toddles off to do physio [09:13] Fedora shipped 4.16.x to all stable releases a few weeks ago [09:13] mborzecki, btw, here's my proposed addition to the fedora spec for amazon linux 2: https://github.com/Conan-Kudo/snapd/commit/cb60c53c4c005de8f67dd3095faccde4daf2f518 [09:14] I'd actually probably prefer not to support classic snaps for amazon linux 2, because then once I bring snapd into epel, the experience would be consistent across the board [09:14] and people can just install snapd from EPEL once I'm happy with the experience and we push it there [09:15] mborzecki: https://forum.snapcraft.io/t/unexplained-mount-failure-protocol-error-what-we-know-so-far/5682 [09:15] Son_Goku: thanks! i'll look into it, but have to figure out what's the current plan for amzn2 first [09:15] that's what I know [09:15] please extend that thread [09:15] mborzecki: that's why it's not proposed as a PR ;) [09:15] mborzecki, but that gives you an idea of how easy it is to extend for more distros [09:16] Chipaca: ^ [09:31] PR snapd#5223 closed: image: set model.DisplayName() in bootenv as "snap_menuentry" [09:32] pedronis: pushed [09:33] pstolowski: will look in a litte bit, finishing the forum topic I promised [09:35] * zyga goes to pick up his phone [09:45] zyga: thanks for the ping earlier === popey_ is now known as popey [09:56] popey: pleasure [09:56] * zyga is picking up his phone and heads home [10:05] * thresh just pushed a new stable vlc [10:05] many thanks everyone involved in fixing bugs :-) [10:06] thresh: thank you for the new vlc! [10:16] pstolowski: did another pass [10:17] pedronis: thanks, looking === chihchun_afk is now known as chihchun [10:33] pedronis: is the cumbersome/fragile bit in 5217 that it does not use the model assertion in SetNextBoot? or is there more to it? [10:34] re [10:35] phone with new battery, I can take a shower and get back to work [10:36] mvo: it should check if the snap is the device base (using some helper) [10:37] pedronis: ok, this is what I read from your review. so snapstate will grow a way to get the model and pass it to the backend [10:37] mvo: I will be picking up making sure systemctl --failed is clean now if anything o/ I see there's one service failed there still so I'll get to it today [10:38] sil2100: thank you [10:38] sil2100: I will look at your UID pr after lunch [10:38] mvo: if you have a moment there are 3 PRs for review, but no haste with that ones [10:38] s/ones// [10:39] The travis one is ugly, but it does its job at least [10:48] PR snapd#5233 closed: client, daemon: add a "mounted-from" entry to local snaps' JSON [11:10] mvo, hey [11:15] cachio_: hey [11:15] mvo, about the reboot issue [11:16] I think it is ok the reboot [11:16] the test is forcing a auto refresh [11:16] and there is a new kernel snap in stable [11:16] so, the reboot happens after the kernel snap is installed [11:17] the same happens when the revert test is executed [11:17] mvo, I still don't understand why it was not happening before [11:18] mvo, any ideas? [11:21] cachio_: maybe pure luck, if before the stable kernel in the image and the store was the same? [11:21] mvo, this is my guess too [11:21] I am not sure, but probably there was not any new kernel snap [11:22] in stable channel [11:22] * mvo nods [11:24] mvo, I am testing a change to skip refreshing the kernel snap [11:24] mvo I'll create a PR soon === niemeyer_ is now known as niemeyer [11:43] zyga, mborzecki (cc mvo): I think we should add the device cgroup by default now. it *shouldn't* break snaps since we are applying it in many places, *but* I think that is too risky to jam into 2.33 right before release. the code change would be small, but I'd like a full cycle or so to make sure [11:43] jdstrand: ack [11:44] zyga, mborzecki (cc mvo): so I did it this way. I'll prepare another PR for master that does that after I do the PR for the spread test [11:45] jdstrand: good idea, aiming for 2.34 then? [11:45] mborzecki: yes [11:45] ok [11:45] I'll also comment in the PR [11:47] I'll prepare the 2.33 PR for 'full' now [11:53] pstolowski: mvo: would like if could do a first reading of https://forum.snapcraft.io/t/cross-snap-operations-bases-and-concurrency/5685 , as first even before the merits, knowning whether the explanations are understable etc, you have both written/touched code discussed there [11:54] pedronis: thanks, will do! [11:55] thx [11:56] o/ [11:57] pedronis: i've addressed your review comments; note, i made on check stricter than before [11:58] hello niemeyer! [11:59] Heya [11:59] hey gustavo! [12:01] pedronis: sure, reading [12:03] off to pick up the kids [12:09] mvo, well, I know why it is happening, I changed the test code to restart the device once the core is installed [12:09] the core from beta [12:09] but in parallel there is an auto-refresh for the pc-kernel [12:10] so I should wait until this task is finished to reboot the device [12:31] Hi, we are doing a proof-of-concept for a customer using ubuntu-core and snap. We have to mount and unmount cifs shares with our daemon. In strict mode mount works, but umount does not. What would be the best way to be able to do this? As I understood we cannot use the docker-support interface (which grants many permissions) as only the Docker project is allowed to do so. [12:31] $ snap refresh core --stable [12:31] 2018-05-30T14:23:27+02:00 INFO Waiting for restart... [12:31] core 16-2.32.8 from 'canonical' refreshed [12:32] pedronis, ^^^thats on a classic system, shoujld it really talk about "restart" there ? [12:33] ogra_: it's the restart of snapd itself [12:33] sure, still a confusing message IMHO [12:33] "Waiting for snapd restart..." would be a lot clearer [12:34] niemeyer: can you take a look at https://github.com/snapcore/snapd/pull/5162 ? that would unblock another of my PRs [12:34] PR #5162: overlord/hookstate: support undo for hooks [12:44] good morning [12:44] diddledan: hey, when you have time, a misdirected gimp support request https://bugs.launchpad.net/snapcraft/+bug/1773797 [12:44] Bug #1773797: gimp snap app crashes [12:45] ogra_: can you check which package /etc/X11/Xsession.d/65snappy comes from? it's not listed here https://packages.ubuntu.com/bionic/amd64/snapd/filelist makes me wonder if this was perhaps shipped by older versions of snapd [12:50] Jonas_: hey, can you please give me more details about the mount/umount issue [12:51] Jonas_: the best way forward, in general, would be to open a forum thread with the basic requirements (we need to mount/umount cifs) and to indicate if this should be seen only inside your snap or also in the rest of the system [12:51] I was thinking about adding an interface supporting only mount/umount cifs but if I understood correctly it is not possible to add interfaces to ubuntu-core easily. One has to fork snapd and open a pull request into the core, right? [12:51] based on those requirement and the follow-up discussion we would probably design a new interface [12:52] it should only be seen inside our snap [12:52] ok I will open a forum post [12:52] Jonas_: we could come up with the code ourselves once the requirements are known [12:52] Jonas_: yes, to add a new interface you need to alter snapd source code [12:52] ok great, I can also try to write a suggestion, as it is in go and the daemon we write is in go as well [12:53] pstolowski: Will do! [12:54] mborzecki, added to the forum thread already [12:55] mborzecki, it might have been dropped when we switched to wayland in 17.04, not sure [13:00] ogra_: missed that, thanks! [13:01] I'll be late to the call today, or might not make it, as we have a conflicting meeting [13:02] Chipaca, pedronis: how about you? [13:02] Actually, three of us are here [13:02] are you joining the main standup? [13:02] ah [13:02] ok [13:02] I suggest skipping today [13:02] ok [13:02] Chipaca, cachio_ ^ [13:02] pstolowski: ^ [13:02] mborzecki: ^ :) === cyphermo1 is now known as cyphermox [13:13] niemeyer: we decided to have it anyway so we could talk behind your back [13:13] Damn! I'm glad I wasn't there then :P [13:14] yeah, doing a hangout with your back to the computer is awkward [13:14] chipaca was even doing tricks with his camera so that I was on screen upside-down for a sec [13:16] PR snapd#5229 closed: interfaces: add juju-client-observe interface [13:18] zyga: now you know how you'd look like in australia [13:21] PR snapd#5235 opened: interfacces/joystick: support modern evdev joysticks 2.33 [13:21] mborzecki: hehe, I just need to add snow ;) [13:22] PR snapd#5236 opened: interfaces: add juju-client-observe for 2.33 [13:22] eh, why is S_MAGIC_FUSEBLK just defined inside coreutils [13:27] zyga: I opened this topic in the forum https://forum.snapcraft.io/t/interface-mount-umount-cifs-share-permission/5689 [13:27] Jonas_: thank you [13:28] zyga: if my approach in general is legitimate I could also try to implement the interface myself and open a pull request. But maybe there is a better way to do what I want to achieve, so I will wait for feedback [13:28] Thanks, I will review it in detail, I was surprised you could actually mount anything inside your snap, [13:28] which kernel were you running? [13:30] 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [13:30] PR #153: Add REST APIs for capabilities [13:31] hmm? [13:31] ah, mup just being confused [13:31] I thought maybe by the network-control or fuse-support interfaces I was able to mount [13:32] Jonas_: fuse-support does allow you to mount fuse filesystems in a number of places, including $SNAP_COMMON [13:32] (oddly it doesn't allow unmounting) [13:33] is your filesystem a kernel one or a fuse one? [13:33] it is the kernel cifs one (I think) installed via cifs-utils package (mount.cifs) [13:34] that's interesting, it would look like a bug (or missing feature) in the 4.4 kernel that the rule allows mounting any filesystem because of mount fstype=fuse.* (perhaps fstype is not supported) [13:34] jdstrand: ^ [13:34] Jonas_: in any case, we have enough information to investigate now [13:35] zyga: Ok perfect, thx [13:35] * zyga needs to finish some paperwork for a flight [13:41] really warm now, https://i.imgur.com/XyqGRyN.jpg [13:45] same here [13:55] PR snapcraft#2147 opened: recording: expose the version of snapcraft === chihchun is now known as chihchun_afk === pstolowski is now known as pstolowski|lunch [14:16] pedronis: quick "taste" question - do you think boot.SetNextBoot() should grow "SetNextBoot(model)" or should we handle it on the backend level? or just move boot/ into backend? [14:16] pedronis: context is that SetNextBoot should only be set for kernel/base as defined in the model [14:21] mvo: let me think a 2nd, we also have many packages [14:22] pedronis: yeah, I'm a bit uncertain about the layering now that we need to know the model for the next boot seting [14:23] mvo: yea, I think boot could be merged into snapstate/backend [14:23] PR snapd#5236 closed: interfaces: add juju-client-observe for 2.33 [14:23] mvo: mmh [14:24] mvo: ah, it's separate because it' used also by image [14:24] PR snapd#5222 closed: tests: adding fedora-28 to spread.yaml [14:24] PR snapd#5235 closed: interfaces/joystick: support modern evdev joysticks 2.33 [14:26] mvo: so, it's used exactly in one place, I think it could be refactored, no to do the check if the type is right on its own [14:26] mvo: and then indeed dealing with model would live backend [14:28] pedronis: sounds good - and backend will get LinkSnap(info, model) (?) [14:29] mvo: yes, given that backend doesn't get state, though looking more, the only piece of boot that is used outside of snapstate [14:30] is ExtractKernelAssets [14:30] pedronis: yes [14:30] the question woild become a bit where to put that, if we merge the rest of boot into snapstate/backend [14:31] a package to just hold one function i strange === pstolowski|lunch is now known as pstolowski [14:32] pedronis: indeed. we could also leave boot/ as is for now and just teach backend to get a model in LinkSnap [14:32] ? [14:33] pedronis: I mean, we don't need to move boot.SetNextBoot() into backend just now, by passing the model from snapstate -> backend things should be ok. backend can check if its a relevant snap for booting and call boot.SetNextBoot. or am I misunderstanding something? [14:34] mvo: no, that's fine [14:35] pedronis: thank you, I will work on this (will need some test tweaks I think) [14:36] mvo: my point wsa mostly if we start splitting responsability like this, maybe backend should do the type checks too [14:36] pedronis: oh, interessting [14:36] pedronis: I like that [14:36] mvo: it's a bit strange how SetNextBoot work, doing nothing if it's the wrong [14:36] type [14:37] pedronis: +1 lets make this an error [14:37] yea [14:37] and then backend should take care of this [14:37] I suppose similarly for the other helpers [14:37] pedronis: I will make it so [14:37] I mean similar changes to split responsability [14:38] * mvo nods [14:54] jdstrand: did we have a bug report for adding the snapcraft version to manifest.yaml? I see I affected the wrong bug (LP: #1768820) which I will fix shortly [14:54] Bug #1768820: manifest.yaml does not indicate the release the snap was built on [15:01] PR # closed: snapcraft#1649, snapcraft#1720, snapcraft#1875, snapcraft#1905, snapcraft#2020, snapcraft#2040, snapcraft#2078, snapcraft#2105, snapcraft#2110, snapcraft#2121, snapcraft#2128, snapcraft#2135, snapcraft#2141, snapcraft#2143, snapcraft#2146, snapcraft#2147 [15:04] PR # opened: snapcraft#1649, snapcraft#1720, snapcraft#1875, snapcraft#1905, snapcraft#2020, snapcraft#2040, snapcraft#2078, snapcraft#2105, snapcraft#2110, snapcraft#2121, snapcraft#2128, snapcraft#2135, snapcraft#2141, snapcraft#2143, snapcraft#2146, snapcraft#2147 [15:14] Huh... Travis seems a little off today [15:14] I can't view any logs [15:15] Anyone else having troubles? [15:16] mvo: you are off tomorrow and Fri ? [15:20] pedronis: yes [15:33] pstolowski: are you off as well tomorrow? [15:33] pedronis: yes [15:34] pedronis: but i'll be working on Fri [15:36] pstolowski: mvo: I owe you both re-reviews, I would do them tomorrow morning, unless you think you need them today [15:38] kyrofa: no, I have been retriggering your PRs though, hit a couple of lxd and store timeouts [15:40] mvo: I updated https://github.com/snapcore/core18/pull/15 to only look at removals and now we have our first green travis CI run since a long long time \o/ [15:40] PR core18#15: Update the dpkg list for the ABI test, switch to only tracking removals [15:40] We probably need more tests in the nearest time [15:40] sil2100: \o/ [15:41] Sometimes travis seems to randomly fail on operations like apt install due to not being able to get the lock [15:41] Looks like an issue on travis [15:44] mvo: as for the task 'grub boot menu shows "Ubuntu Core 16" right now, must show "Core 18"' - this seems like something on the gadget side, or do you want to somehow hack the menu entry for core from the core18 snap? [15:52] sil2100: this is pretty much done, sorry, let me show the PRs [15:53] sil2100: https://github.com/snapcore/snapd/pull/5223 and the gadget updates linked in there should fix it. and a new model assertion [15:53] PR #5223: image: set model.DisplayName() in bootenv as "snap_menuentry" [15:53] sil2100: would be nice to figure out why console-conf is not working, it seems like it cannot configure its network right now [15:57] mvo: ok! [15:57] mvo: yay, thanks o/ [15:58] mvo: should I remove the updates I made to the package list for the removal script? As per my comment, I left them since I thought that it might be good to update it anyway, but maybe we want to have a smaller list there, with the essentials only [15:58] s/removal script/removal test/ [15:58] pedronis: i don't, it still needs 2nd review [15:59] sil2100: my gut feeling is that we only should update this list when core18 go to stable [15:59] sil2100: I mean, that is the promise, once its in stable we cannot remove it anymore [16:00] sil2100: but before we have some freedom :) === pstolowski is now known as pstolowski|afk [16:24] mvo: I moved it to a cleaner PR [16:33] mvo: eh, ok, I just read that even though xenial is supported as a travis dist:, it seems that the dpkg lock errors are only happening there - looks like something isn't quite stable yet [16:34] So I'll just prep a PR to switch back to trusty for now... [16:34] Since on xenial we'd have to re-run the CI tests from time to time [16:44] sergiusens: I thought so. let me check trello [16:46] sergiusens: ok, so the *snapcraft* version, no, or at least it isn't something that I reported. the release where stage-packages came from, yes (1768820) [16:46] sergiusens: thank you for picking that up. that will help us be more accurate [16:50] * zyga fetches more water, [16:51] jdstrand: ok, I can kill the snapcraft version one if it is not useful, I had that on the back of my mind for easier mksquashfs detection [16:51] I can kill it if it is not useful, it might even have been ev that requested this and I am just losing it :-P [16:52] jdstrand: is ID and VERSION_ID enough? [17:05] Hey niemeyer, you available to meet? [17:06] * cachio_ afk [17:06] sergiusens: from os-release? yes, that would be fine [17:09] sergiusens: I wouldn't worry about the mksquashfs detection at this point wrt mainifest.yaml. not everything will have manifest.yaml so it wouldn't help everywhere; besides, we want everyone squashing the same atm. *maybe* it would be useful some day, but I'd like to understand the use case better, so, afaic, I don't need snapcraft version [17:09] sergiusens: that said, it isn't a terrible thing to have in there, so if you just wanted it, I wouldn't complain [17:10] I could imagine it might occassionally be helpful when debugging [17:27] kyrofa: Ouch, sorry [17:27] kyrofa: Missed our slot [17:27] kyrofa: Just off a call with noise][, here if you are [18:05] something's up with the lxd snap [18:06] + lxd.lxc exec my-ubuntu dhclient eth0 [18:06] Cannot find device "eth0" === jkridner|afk is now known as jkridneer === jkridneer is now known as jkridner [18:11] Hey niemeyer, I'm available now, sergiusens are you around? [18:12] sure [18:13] Cool, let's go then [18:15] Same room? Alright, hopping in [18:22] Anyone knows why snapcraft replaces the prefix of pkg-config to $SNAPCRAFT_STAGE$originally_configured_prefix ? [18:54] sergiusens, yikes, lxd issues in travis [18:55] Finally got the log to load [18:55] kyrofa: internet has been slow in general for me today [18:55] kyrofa: google docs is also playing up [18:56] can't get anything to pass anymore [18:56] Time for vacation? [18:58] Looks like we're using the lxd snap... any chance it just updated? [18:58] I'll see if I can duplicate locally [19:05] sergiusens, yep, I can duplicate locally [19:05] Looks like 3.1 was released [19:06] I'll chase it down [19:16] Looks like we don't need to setup that iface [19:23] PR snapcraft#2148 opened: travis: stop setting up testbr0 for lxd [19:30] kyrofa we can also stick to the 3.0 channel [19:30] and gain the benefits of stability [19:31] * sergiusens will brb [19:40] Oh, that definitely seems like something we'd want in CI [19:41] Forgot that was available [19:44] PR snapcraft#2148 closed: travis: stop setting up testbr0 for lxd [19:47] PR snapcraft#2149 opened: travis: use LXD from 3.0 track [19:53] Dang... looks like 3.0 track was updated to have the same issue :( [19:59] kyrofa: so for snapcraft#2149 you set the lxd to the 3.0 track but still remove the bridge creation logic, is that desired? [19:59] PR snapcraft#2149: travis: use LXD from 3.0 track [20:00] PR snapd#5237 opened: tests: fix lxd test - in current lxd we get eth1 instead of eth0 [20:12] sergiusens, it's required, I'm afraid [20:13] 3.0 still busts the same way as 3.1 [20:13] But I still think it's worth using 3.0 [20:26] kyrofa: ok, no worries [20:28] niemeyer: hi! would you mind commenting on https://forum.snapcraft.io/t/camera-raw-usb-plugs-auto-connect-for-qtchildid/2917/4? (especially since you know the roadmap for dynamic hotplug) [20:29] jdstrand: Will look, thanks for the ping [20:29] np [20:35] sergiusens, bleech... so many concerns leakages between lifecycle and pluginhandler... [20:35] They even share logging responsibilities :D [20:36] kyrofa: the pluginhandler should have its cli roots stripped out [20:36] but we talked about this already, right? [20:37] sergiusens, I know we've talked about pluginhandler, but I don't recall a conversation about lifecycle [20:38] kyrofa: we said we wanted to put all new logging in lifecycle and remove things from pluginhandler as time went by, given that anything in pluginhandler is (or should be) triggered by lifecycle [20:39] Yeah that sounds right. I think I might do a little bit of that here [20:44] \o/ [21:39] kyrofa: ok, going to stop for today and re-check on that lxd PR later in the evening/night to update and propose new PRs [21:40] sergiusens, sounds good. LXD PR look good though? Can I merge if green? [21:40] kyrofa: oh, let me approve [21:40] PR snapd#5238 opened: tests: skip appstream-id test for core systems 32 bits [21:40] Excellent [21:41] PR snapcraft#2141 closed: jhbuild plugin: allow running as 'root' [21:41] \o/ [21:41] kyrofa: after merging, if I don't get to it, please update branch on the top 4 PRs on the list [21:42] I'll update em all [21:42] Well, the current ones anyway [21:42] kyrofa: well, just those 4 please :-P [21:43] yeah [22:47] PR snapcraft#2149 closed: travis: use LXD from 3.0 track