[00:36] PR snapcraft#2381 closed: tools: copy in spread-shellcheck from snapd [05:40] seems to a docker issue. [05:40] https://askubuntu.com/questions/1088170/docker-volume-error-over-snaps === cpaelzer_ is now known as cpaelzer [06:06] morning === chihchun_afk is now known as chihchun [06:58] Hello [06:59] zyga: hey [06:59] zyga: seen the news/ [07:36] Yes, interesting times [07:36] Some small errands in the morning [07:36] But I will be around shortly [07:36] hey zyga ! [07:37] zyga: good morning [07:37] zyga: interessting times indeed [07:37] Hey mvo [07:37] How are you feeling? [07:37] We have one page of reviews :-) [07:38] mvo: hey, nice to have you back :) [07:41] mvo: welcome back! ;) [07:42] mborzecki, sil2100 thank you! [07:42] zyga: \o/ one page of reviews - awesome [07:42] zyga: I feel very tired :) [07:42] but beside that very happy to be back and being able to code again [07:43] mvo: i've took the liberty and pushed some changes to #6039, hope you don't mind [07:43] PR #6039: snapstate: do not allow classic mode for strict snaps [07:44] mborzecki: thank you! [07:44] mborzecki: I have a look [07:45] I tried to as well but I could not make it pass so I aborted [07:46] mborzecki, zyga thank you guys! sorry that the tests were in a bad state, it was just hard to focus during the sprint but I get back to it today :) [07:46] I hope you had a good time? [07:46] anything I should know and missed? [07:47] sil2100: how are the stable images looking? I just promoted snapd 2.36 to stable (after a quick smoke test) [07:59] re [08:00] mvo: no worries man, you did great [08:00] mvo: I meant that I failed to make it better [08:00] it was late that night [08:00] mvo: we need to cherry pick one patch into stable [08:00] mvo: please ensure this is in the next release https://github.com/snapcore/snapd/pull/6044 [08:00] PR #6044: cmd/snap-confine: remove stale mount profile along stale namespace <āš  Critical> [08:00] (of any kind) === pstolowski|afk is now known as pstolowski [08:01] morning guys, hey mvo, welcome back! [08:01] hey pawel! [08:02] pstolowski: did you read the news? [08:02] today is going to be interesting [08:02] and hey, [08:02] fedora 29 ships tomorrow [08:02] I wonder if people will notice that :) [08:02] (timing is a bit unfortunate) [08:02] mvo: not sure if good morning material [08:02] https://github.com/snapcore/snapd/pull/5170 [08:02] this is ready and green [08:02] and only missing an ack from gustavo [08:02] PR #5170: interfaces/builtin: add adb-support interface [08:02] but it implements exactly what he asked for [08:03] so maybe we can land it? [08:03] hey pstolowski ! [08:04] zyga: nice, I have a look over the open PRs next [08:04] woot, thank you :) [08:04] I will work on user mounts, so many little things have landed already [08:04] I need to run an errand around 11-13 [08:04] but otherwise I will be here [08:05] zyga: anything else we need in 2.36? [08:05] mvo: perhaps but not from me [08:05] mvo: I think there are some things though [08:05] but my mind is very rusty still [08:05] we need to check the regression [08:05] zyga: ibm&redhat, or something else? [08:05] but I believe there was something else as well [08:05] pstolowski: yep [08:05] zyga: no worries, I will check if anything is marked [08:05] pstolowski: anything from you for 2.36? [08:05] right [08:06] https://github.com/kubeflow/kubeflow/issues/1854 [08:07] mvo: perhaps cherry pick https://github.com/snapcore/snapd/pull/5739 if feasible [08:07] PR #5739: interfaces/default: don't scrub with change_profile with classic [08:08] zyga: nothing new from me for 2.36, the 2 criticals i had are there already [08:09] pstolowski: great [08:09] pstolowski: in 2.36 or in edge? [08:09] (master) [08:15] zyga: in release/2.36 [08:23] mborzecki: anything for 2.36 you want in badly? [08:24] zyga: not really [08:24] we're doing .1 already? [08:26] mborzecki: yeah, I think we need a .1 anyway [08:27] mborzecki: iirc zyga mentioned something critical, need to log at the branch to remember what it was exactly [08:27] mvo: thanks! So far so good, they're still in testing by the cert team, I'm waiting for the US to wake up to get more info [08:27] mvo: didn't see any news since Friday [08:28] mvo: there's this as well: https://github.com/snapcore/snapd/pull/6026 [08:28] PR #6026: cmd/snap: try not to panic on error from "snap try" <āš  Critical> [08:28] sil2100: thank you [08:28] sil2100: fwiw, the pi3 b+ works for me now with 4.15 [08:28] mvo: should we re-spin for the new snapd? Is there anything critical in the 2.36 for core18 GA? [08:28] and this but I presume this is in the release branch as well https://github.com/snapcore/snapd/pull/6027 (didn't check) [08:28] mvo: \o/ ;) [08:28] PR #6027: overlord/ifacestate: don't conflict on own discard-snap tasks when refreshing & doing garbage collection <āš  Critical> [08:29] PR snapd#6053 closed: cmd/snap, daemon, strutil: use CommaSeparatedList to split a CSL [08:30] mvo: in that case https://github.com/snapcore/snapd/pull/6030 is a nice improvement and https://github.com/snapcore/snapd/pull/6049 may help resolve dbus issues we were seeing under spread [08:30] PR #6030: cmd/snap: tweak `snap services` output when there is no services [08:30] PR #6049: cmd/snap, userd, testutil: tweak DBus tests to use private session bus connection [08:32] PR snapd#6054 opened: strutil: add extra test to CommaSeparatedList as suggested by mborzecki [08:41] mvo: you can also perhaps consider https://github.com/snapcore/snapd/pull/6048 for 2.36 - it is a low risk bugfix [08:41] PR #6048: cmd/snap-exec: don't fail on some try mode snaps [08:46] zyga: thanks, I check that (and the ones from mborzecki) out now [09:01] PR snapd#6055 opened: tests/main: fixes for the new shellcheck [09:09] Hey Chipaca [09:30] zyga: oi music turtle [09:32] Nice, each? [09:32] Eh :-) [09:33] yeah [09:33] i think this just nerd-sniped my brother :-) [09:33] Iā€™m waking up, slow day ahead [09:33] I love things like that, [09:33] Exactly the software that shapes imagination [09:34] Hi, I was chatting to Chipaca earlier, he pin pointed the problem I'm having with an x2goclient snap I'm playing with. x2goclient is trying to open /var/lib/gdm3/.ssh/known_hosts when trying to open a connection (it uses libssh), my user isn't in /etc/passwd, it's on freeipa and the last entry in /etc/passwd is the gdm user with the home /var/lib/g [09:34] dm3. So it appears libssh is trying to find my users home dir, it isn't found in /etc/passwd so it uses the home dir of the last entry in /etc/passwd. [09:35] zyga: ^ is anything we're doing using the last entry in /etc/passwd when it doesn't find something? [09:35] or is that libssh? [09:35] Hmmmmm [09:35] That would be weird, let me think and look [09:35] chesty: did you add a line to /etc/passwd to check it was the last line and not some even weirder fluke? [09:36] chesty: when we talked last we were talking about the qt libs, where did libssh enter? is libssh qt? (i wouldn't think so) [09:36] ^ smart idea! [09:36] maybe it was there all the time and i missed it =) [09:37] Chipaca, I'll do that now. btw before I was looking at x2goclients source code, it is using QDir::homePath, but I believe opening known_hosts would be done by libssh which x2goclient uses, it tunnels everything through ssh [09:39] Chipaca: hey, good morning (have nothing for you, just want to friendly say hello :) [09:40] mvo: hey! good morning =) aren't you going to take a day off or seven? [09:41] Chipaca: yes! wed->fri I will be off [09:42] Chipaca: but today and tomorrow I work or I will fall asleep the entire day, i.e. fighting jetlag this way :) [09:42] Chipaca: and it works great so far (together with copious amounts of tea) [09:42] chesty: https://git.libssh.org/projects/libssh.git/tree/src/misc.c#n223 says it should be falling back to HOME if getpwuid_r fails [09:42] mvo: ok [09:42] Chipaca: *but* please bear with me if I'm a bit slow today [09:42] (mentally) [09:42] mvo: we managed to get the PRs down to one page! despite my efforts [09:43] Chipaca: I notied, I was super impressed. I think this means that gustavo/samuelle/mvo should be away more often ;) [09:44] mvo: some of the ones not closed are waiting for your (plural) reviews [09:45] Chipaca: ok - I have a look and see what I can do to fix that :) [09:46] mvo: #6054 is gtg fwiw [09:46] PR #6054: strutil: add extra test to CommaSeparatedList as suggested by mborzecki [09:46] I added a new user to /etc/passwd which is now the last entry and x2goclient/libssh now tries to open known_hosts in that users home dir [09:47] PR snapd#6054 closed: strutil: add extra test to CommaSeparatedList as suggested by mborzecki [09:47] Chipaca: looks like it got merged already :) [09:52] chesty: are you running this on amd64, and is the snap you're trying to use based on 'core'? [09:54] yes and idk, it's ubuntu 18.04 using the 16.04 base for the snap built in a docker [09:54] PR snapd#6055 closed: tests/main: fixes for the new shellcheck [09:55] chesty: right [09:55] so [09:55] that ssh_get_user_home_dir is buggy [09:55] and I believe this might explain why things like spotify and skype snaps didn't work for me [09:55] chesty: I did this: https://pastebin.ubuntu.com/p/nwTc45hDft/ [09:56] chesty: then I build and run it like this: gcc -Wall -o q q.c && sudo -u \#12345 ./q [09:56] Bug #12345: isdn does not work, fritz avm (pnp?) [09:56] chesty: and that returns the last entry in /etc/passwd [09:57] wow, you're a machine. I can't even open my editor that quick [09:57] and indeed, the manpage for getpwuid_r says [09:57] If no matching password record was found, these functions return 0 and [09:57] store NULL in *result. In case of error, an error number is returned, and NULL is st [09:58] it's checking for error, but not for nothing-found [09:58] sounds like you get to submit a pull request to libssh and earn another notch on your belt [09:58] that check hsould be if (rc != 0 || pwdbuf == NULL) { [09:59] yeah, i'm on it [09:59] I wonder if actual ssh has the same issue [09:59] how do i send a pull request to libssh though [09:59] * Chipaca looks [10:01] Chipaca: hopefully not another cve for libssh :) [10:05] PR snapd#6056 opened: cmd/snap, userd, testutil: tweak DBus tests to use private session bus connection (2.36) [10:14] #6039 is green :) [10:14] PR #6039: snapstate: do not allow classic mode for strict snaps [10:18] mborzecki: approve it :) [10:19] zyga: heh pushed too many patches there [10:19] indeed, [10:19] * zyga did 2nd coffee [10:19] today I feel so sleepy I can barely keep my eyes open [10:19] what's wrong :/ [10:22] mvo: are there any agreements on 5845 (dot-files) [10:25] zyga: unfortunately not, I will try to come up with a better name today [10:25] zyga: and propose that and see what happens [10:25] no worries, thank you for letting me know [10:25] mborzecki: \o/ for 6039 [10:25] with 23 PRs left we can easily go after what's left :) [10:27] zyga: yeah [10:28] chesty: https://bugs.libssh.org/T118 [10:29] chesty: and if you want you can apply that patch locally to build your snap [10:40] firstly, legen, wait for it, dary. Secondly, I might do that soon, I will need to learn how to build a package in a snap first. In the meantime I'm going to work around it by modifying /etc/passwd. I still haven't got x2goclient to work, now it's complaining about a missing lib, /usr/lib/libXcomp.so.3, I added ilibxcomp3 to stage-packages but it [10:40] 's still complaining about it missing, ldding it it looks like libpng12.so.0 is missing. I wonder if that's a package dependency bug [10:44] PR snapd#6057 opened: snap-exec: add comment about usage of ReadInfoExceptSize() [10:45] Chipaca: OpenSSH does not have the same problem, as far as I can see [10:46] I don't think they have much if any code in common [10:46] cjwatson: tks [10:46] PR snapd#6058 opened: cmd/snap-exec: don't fail on some try mode snaps (2.36) [10:50] hm postgresql* snap does not have ny services declared [10:54] mborzecki: I think that's because they need to run as non-root [10:54] PR snapd#6056 closed: cmd/snap, userd, testutil: tweak DBus tests to use private session bus connection (2.36) [10:57] I don't understand what's going on, I added libpng12-0 to stage-packages but it's not finding its way into the snap. [11:04] hi! pre-refresh hooks (again). I have a snap installed that does not have a pre-refresh hook. If i then install a new version that does, the hook does not run. It looks like the pre-refresh hook runs in the 'installed' context, not the 'to-be-installed' context. Anything I can do to fix that? [11:07] tomwardill: that does not sound like something that needs fixing [11:07] tomwardill: use post-refresh hook [11:07] it runs in the new snap [11:07] pstolowski: can a post-refresh hook reject the refresh? [11:08] contextL I [11:08] context: I'm trying to avoid upgrading to a version that requires database features that we don't have in the old version [11:10] tomwardill: who ships the database4? [11:10] tomwardill: perhaps epochs could be used to solve that? [11:11] zyga: not us, we configure it, but using a connection that is provided by the machine admin [11:11] tomwardill: yes it should, it's run as one of many tasks handling the transition to a new revision and if it fails, we undo everything and go back to the previous revisions [11:11] yeah, it's starting to look like an epochs use case [11:11] aha [11:11] tomwardill: given what you said I don't think epochs can do that [11:11] except we don't have superuser control, so there's not a lot we can do about it either way [11:11] should libraries in usr/lib/x86_64-linux-gnu/ in the snap be found? [11:12] zyga: ah, right. [11:12] pstolowski: aha, I didn't realise post-refresh could do that, that sounds more like what I'm after then. [11:12] chesty: if snapcraft arranges for it yes [11:12] they are not added to LD_LIBRARY_PATH automatically [11:12] oh, well there's my problem [11:13] pstolowski, zyga: I'll give post-refresh a poke and see if that will do what I'm after. Thanks for the help :) [11:13] tomwardill: sure, yw. simply make it exit with !=0 to make entire change fail [11:16] chesty: that's usually done by a wrapper script [11:17] tomwardill: pstolowski: zyga: note epochs aren't there yet [11:17] Chipaca, will this work too? https://stackoverflow.com/questions/42991501/snapcraft-custom-ld-library-path [11:17] ah yeah, that is also a problem for that approach :) [11:18] chesty: given that that kyle is this kyrofa, i'd say it'll either work or you can harass him (you win either way!) [11:19] chesty: although you two are mutually antipodean [11:19] so good luck [11:19] (well, not exactly, kyrofa might be -8 or something) [11:25] cachio: hey! [11:25] cachio: fyi, i've found the way for passing custom serial number to serial port adapters created with qemu [11:28] has anyone seen: [11:28] FAIL: :1: ctxSuite.TestWriter [11:28] context_test.go:50: [11:28] // but we copied things until the deadline hit [11:28] c.Check(n, check.Not(check.Equals), int64(0)) [11:28] ... obtained int64 = 0 [11:28] ... expected int64 = 0 [11:28] yet? [11:28] waaaht? [11:28] looks like a racy test, just happend in the snpad autobuild [11:28] nope [11:29] what's the what about? [11:29] we could use the new int checker btw but that's unrelated [11:29] that's Not() output [11:29] it can be confusing [11:29] it obtained int64(0), and it expected _not_ to obtain the "expected int64(0)" [11:29] yeah, I read this now [11:30] ah ok [11:30] maybe we can patch Not to prepend NOT to the 'expected' line =) [11:30] or append "... NOT!" [11:30] pstolowski, nice [11:30] do yo have an example? [11:31] ... obtained int64 = 0 [11:31] ... expected int64 = 0 ... NOT! [11:31] I was playing with confiugration failes [11:31] Chipaca: that's a nice idea [11:31] NOT :D [11:31] (it's a nice idea) [11:31] pstolowski, to configure any kind of device [11:31] Chipaca, zyga btw, did we find out more about the kernel permission issue that cachio found in 2.36 testing? [11:31] no [11:31] mvo: that's not on my radar at all [11:31] https://www.irccloud.com/pastebin/fDLL0JuA/ [11:31] cachio: ^ [11:33] cachio: and it seems undocumented.. they depcreated -serial=... option but didn't document that new one [11:34] Chipaca: ok, no worries, lets talk about it during the standup. I may have (sleepy) cycles for this :) [11:35] PR snapd#6058 closed: cmd/snap-exec: don't fail on some try mode snaps (2.36) [11:35] Chipaca: https://api.travis-ci.org/v3/job/447722772/log.txt [11:35] https://www.irccloud.com/pastebin/PyCaVZMe/ [11:35] Chipaca: sorry for bothering you so much today, but have you seen http://paste.ubuntu.com/p/P2zHPvrFMJ/ before? [11:35] I think the test should have failed when "snap save. .." failed [11:36] missing error check? [11:36] Chipaca: ^ FYI that's exactly the same problem :} [11:36] heh [11:38] mvo: no worries [11:38] mvo: I have seen that error, but not in that test since I added the "run something from the snap" step [11:39] mvo: zyga: I'll push a PR so we get more logs if it happens again [11:39] Chipaca: ta [11:43] pstolowski, nice [11:44] pstolowski, is it iportant ofor you to have other information such as vendor? [11:47] mvo: zyga: there was also one that happened sporadically on amazon linux, where the uid was -2 [11:47] oh [11:47] right [11:47] last night [11:47] cachio: only important factor is that vendor is present and constant (doesn't get random values like serial by default), which seems to be the case [11:47] well, apart from the weekend that is [11:48] mvo: zyga: I maintain what I said on Friday about that: it's my considered opinion, after much and careful thought, that i can't even. [11:48] * not that much thought [11:51] zyga: question: given that the size from ReadInfo wouldn't be useful for trys even if it weren't dangling, why not use an Lstat instead of a Stat? [11:51] hmmm [11:51] how would stat make it better? [11:51] lstat that is you silly spellchecker [11:51] zyga: the problem is that the symlink is dangling, right? [11:51] you would stat the symbolic link itself, and? [11:52] zyga: so it doesn't error out [11:52] no, the problem is that symlink is controlled by the user [11:52] and we are in a mount namespace [11:52] so the user can point it a nearly arbitrary things [11:52] we cannot traverse it, period [11:52] zyga: how is the symlink controlled by the user? [11:52] Chipaca: because whoever "snap try"ies controls it [11:52] zyga: how? [11:53] zyga: the symlink is created by snapd, not by the user [11:53] the symlink is created by snapd to point to the directory picked by the user [11:53] look at the test case in that branch [11:53] ok, hold on [11:53] before we go there [11:53] pstolowski, ok [11:53] vendor is fixed [11:53] you can come up with creative use of "snap try /proc/..." [11:53] zyga: the stat is done to get the size of the snap [11:53] mhm [11:53] pstolowski, so it should not be a problem [11:53] zyga: that won't work for trys [11:54] but under the assumption that it points to a file [11:54] which is not the case in try mode snaps [11:54] zyga: hold on let me finish [11:54] ok [11:54] cachio: most likely not, i'll now for sure when i've the test passing [11:54] zyga: if it's a symlink, we should not follow it for two reasons, it won't be what we need to get the size, and the user might have tricked snapd somehow [11:54] aha, I see the reasoning now [11:54] so just lstat all the time [11:55] zyga: in both cases, using lstat fixes the issue [11:55] and if it was a symlink, don't do more [11:55] yep [11:55] I agree [11:55] zyga: the right thing would be to do lstat, check the filename, and fill in size if it's a regular file [11:55] keeps the api simpler [11:55] zyga: now, about the other thing, how would you trick snapd into pointing the symlink to something it shouldn't? via a race? [11:55] hmmmm [11:56] no [11:56] not really [11:56] well, snapd does a validation before enabling it [11:56] what kind of validation? [11:56] that it looks like a snap [11:56] maybe it's a toctou [11:56] yeh [11:56] do we check that there are no symlinks along the way? [11:56] do we check afterwards? [11:56] can we then rm -rf /old/path [11:56] what happens if we tell it to snap try a symlink? does it normalize? [11:56] and then ln -s /proc/evil ? [11:56] yeah [11:56] yep [11:56] lots of questions [11:57] in any case the lstat is the right approach here i think [11:57] but i'd like to know the answers to these other things as well =) [11:57] zyga: should I push a pr? [11:58] or I can if you want me to [11:58] I feel sleepy and this is a good think to wake up with [11:58] zyga: +1, i'm in snapshot-ate-my-brunch land [11:59] * zyga hugs chipaca [11:59] and takes a snapshot [11:59] also need to get lunch going [12:20] Chipaca: https://github.com/snapcore/snapd/pull/6059 [12:20] PR #6059: snap: use Lstat to determine snap size, remove ReadSnapInfoExceptSize [12:21] PR snapd#6059 opened: snap: use Lstat to determine snap size, remove ReadSnapInfoExceptSize [12:21] zyga: I had too much on my plate last week, but I _think_ pstolowski suggested lstat on the original pr [12:22] perhaps but I didn't get the idea then [12:22] i'm just now getting the bandwidth to think about it =) [12:24] zyga: it was kyrofa ! [12:24] heh [12:26] brb [12:32] zyga, hey https://paste.ubuntu.com/p/9W39q9S2H4/ [12:32] I am getting that denial on the cifs test [12:33] zyga, any idea if I should need to plug any other interface? [12:36] cachio: https://forum.snapcraft.io/t/namespace-awareness-of-run-mount-utab-and-libmount/5987 [12:37] PR snapd#6057 closed: [RFC] snap-exec: add comment about usage of ReadInfoExceptSize() [12:38] zyga: i'm runnig spread tests with centos branch rebased on current master and got a problem with parallel services, we do bind mounts from snap_foo to snap, seems like that whenerver the mount ns of a snap exists and we try to remove a location on the host that is bind mounted inside snap's ns we get device os resource busy [12:38] zyga: snap-discard-ns makes the problem go away [12:39] diddledan, nice, thanks [12:46] mborzecki: this is a kernel bug [12:46] It was fixed later [12:46] I doubt we can work around it [12:46] cachio: let me look [12:47] Ah, I see [12:48] cachio: let me know if we should do utab mount [12:50] zyga, I just have pushed the changes for the test [12:50] zyga: do you have a link to lp? something i could use to open a bug in rh bugzilla [12:51] standup is in ten minutes? [12:51] dang [12:51] need to re-get-used to it [12:52] w8, in 10 minutes now? [12:53] hmm, dst change [12:53] mvo, Chipaca: tested on 2.36 https://bugs.launchpad.net/snapd/+bug/1791587/comments/7. Something is still wrong there [12:53] Bug #1791587: snapd ignores proxy settings set via core snap [12:53] Dmitrii-Sh: did you (or somebody from your team) talk in SLC as we last discussed? [12:54] Chipaca: yes, I talked to mvo about this [12:54] he asked me to test on 2.36 [12:54] just following up [12:54] ah ok [12:54] what we agreed on is that /etc/environment should not be touched on classic systems (it isn't now by the looks of it) [12:55] and that this is a bug indeed \ [12:55] just needed to test on the latest to make sure as there are release notes suggesting that it was fixed [12:56] Dmitrii-Sh: thanks, I look into it then [12:57] Chipaca: context> we have the in-config proxy config now, this should work so I need to figure out where the gap is [12:58] mvo: AFAIK it fails when core isn't installed; works ok after [12:58] mvo: there's a simple test: install a squid proxy on a host system, launch a container with snapd and squashfuse, remove the default gateway in that container [12:58] mvo: at least that's what I got from Dmitrii-Sh week before last =) [12:59] the container will have a route only to the local subnet for communication with the host and will be able to use a proxy [12:59] Chipaca: I can try again [13:00] Chipaca: yeeah, sounds reasonable, still puzzling that it does not work without core but something to figure out :) [13:00] Dmitrii-Sh: when you built 2.36, how did you then run it? [13:01] standup? [13:01] omw [13:01] zyga: ^^ [13:02] mvo: ^ [13:02] cachio: ^? [13:02] Chipaca: need to restart pulseaduio first [13:02] Chipaca, mvo: yes, enabling default gateway, installing core, disabling gateway and trying to download other snaps works. I can also see that snapd connects to the proxy via strace [13:02] JamieBennett: want to join the standup? [13:02] what, already? [13:02] sorry, joining [13:02] mvo: i thought jamie was on holiday [13:02] dunno about niemeyer [13:03] Chipaca: ran snapcraft cleanbuild, then I copied the resulting snap to the target system, unsquashfs-ed it and rsynced the /usr/lib/snapd/* and /usr/bin/snap* to relevant system dirs [13:03] Chipaca: snapcraft also builds a deb but it got deleted after cleanbuild [13:04] Dmitrii-Sh: this was with no snaps installed? [13:04] Chipaca: yes, no snaps installed at first. Then I installed the core snap only and disabled the gateway [13:04] it then started to respect the proxy settings [13:11] Dmitrii-Sh: the output of 'snap version' would be good, if you do over [13:17] snap --version [13:17] snap 2.36 [13:17] snapd 2.36 [13:17] series 16 [13:17] ubuntu 18.04 [13:17] kernel 4.15.0-34-generic [13:17] Chipaca: it's in the comment here https://bugs.launchpad.net/snapd/+bug/1791587 [13:17] Bug #1791587: snapd ignores proxy settings set via core snap [13:18] btw, might be worthwhile to triage this bug for tracking [13:55] PR snapd#6060 opened: overlord/snapshotstate/backend: be more verbose when SNAPPY_TESTING=1 [14:15] off to pick up the kids [14:15] mvo: can you look at https://github.com/snapcore/snapd/pull/5170 as a satiny check before we merge it please [14:15] PR #5170: interfaces/builtin: add adb-support interface [14:16] mvo: and if you consider it sane we could even add it to 2.36.1 [14:16] since it is a new feature [14:16] Hey, I forgot to ask: how was the mic volume/quality? [14:16] zyga: I have a look, for 2.36.1 we need to squash merge it [14:16] that's ok [14:16] niemeyer: quality was good afaict [14:17] mvo: Thanks, it was an external USB mic, so wondering if it's good for htat kind of meeting too [14:25] * pstolowski lunch [14:26] * cachio lunch [14:34] * zyga -> lunch [14:41] zyga: 5170 looks fine, wonder if it makes sense to have a spread test that just double checks that the right files are created on connect etc? [14:48] mvo: thanks for pushing that patch to 6039, i missed that comment from zyga [14:49] mborzecki: my pleasure - thanks for all your help with this one, much more tricky than I anticipated [15:02] pstolowski: when do you want to talk about that pr? === Sir_Gallantmon is now known as Son_Goku === chihchun is now known as chihchun_afk [15:17] mvo: I can look into that [15:18] zyga: thanks! something simple if fine [15:18] zyga: is fine [15:21] Chipaca: in 30? [15:28] re [15:41] Chipaca, pstolowski: do you want me to participate as well? [15:45] mvo: I wrote a test, if it passes I'll push it and merge when green [15:46] pstolowski: zyga: fine by me [15:46] just tell me when :) [15:47] in 12 minutes would be ok. In 2 hours would be better =) but probably too late [15:52] * zyga found a bug in snaps.sh make_snap [15:52] 12 minutes would be ok but if you want we can also do tomorrow [15:52] zyga: cool [15:53] it can be tomorrow morning if you prefere that Chipaca, zyga [15:53] pstolowski: zyga: tomorrow morning \o/ [15:53] yeah, I prefer to do reviews in the morning [15:54] and coding in the evening [15:54] ye [15:54] sure [16:09] Chipaca: remember the lstat thing? [16:09] it regresses :D [16:09] https://www.irccloud.com/pastebin/xJJ4C4SL/ [16:09] but I'd argue it doesn't regress because bind mounts are magic [16:10] uugh [16:11] sil2100: ? [16:15] zyga: what the wha? [16:15] Chipaca: Lstat now shows a snap the _used_ to be broken as not broken [16:15] but not really because it's not really broken [16:15] because it works after the mv [16:16] so ... :) [16:16] heheh [16:17] zyga: and does it _actually_ work? [16:17] zyga: or is that snap now broken? [16:17] I suspect so, it's the next thing in my pipe [16:17] because the symlink is broke [16:17] but the bind mount is not [16:17] so why would it break? [16:17] just found it funny :) [16:25] PR snapd#6061 opened: tests: fail if install_snap_local fails [16:26] Chipaca: one small for you https://github.com/snapcore/snapd/pull/6061 :) [16:26] PR #6061: tests: fail if install_snap_local fails [16:35] * Chipaca goes for a run [16:35] cachio: hey [16:35] cachio: the cifs test failed with [16:35] https://www.irccloud.com/pastebin/I87puih6/ [16:38] Chipaca: it works, [16:38] https://www.irccloud.com/pastebin/UR39vPVm/ [16:41] zyga: and with a non-trivial snap? =) [16:41] * Chipaca is picky [16:44] zyga, yes this is the error I mentioned before [16:45] zyga, let me re-xecute it here [16:57] zyga, I see this error [16:57] [ 607.220089] audit: type=1400 audit(1540832191.979:52): apparmor="DENIED" operation="open" profile="snap.test-snapd-cifs-mount.sh" name="/run/mount/utab" pid=23728 comm="mount" requested_mask="wrc" denied_mask="wrc" fsuid=0 ouid=0 [16:57] this denial appears with the error you displayed before [17:04] PR snapd#6062 opened: tests: add test to ensure proxy is used even without core [17:09] Chipaca: re [17:09] I think it would work with any snap because: [17:09] aww, I wanted to paste something but then spread session ended [17:09] because the mount point shows what was there originally [17:09] unless you start to rm file by file [17:10] cachio: that's an attempt to modify utab [17:10] cachio: we share utab with the host today so we should not modify it [17:10] cachio: we should probably change the interface and debug this more [17:12] zyga, you mean to allow access to this file as part of the interface? [17:13] cachio: not really, we would have to make sure that file is not really there [17:13] and allow the snap to read and write a fake copy [17:17] PR snapd#6061 closed: tests: fail if install_snap_local fails [17:21] zyga, ah, ok, I'll try that [17:21] cachio: I think this needs some changes to the interface [17:21] cachio: I can look at that tomorrow [17:21] Chipaca: so to respond to your question: [17:21] https://www.irccloud.com/pastebin/xgHWy2hn/ [17:21] cachio: I was trying to say that I think the test shows that some things are probably wrong and we need to revisit the interface [17:22] Chipaca: as you can see the snap is not broken [17:22] Chipaca: not sure if I should change the test to instead rm the snap.yaml file [17:22] Chipaca: like this: [17:22] https://www.irccloud.com/pastebin/9fhnCc46/ [17:41] we need a 2nd review on https://github.com/snapcore/snapd/pull/5982 [17:41] PR #5982: interfaces/many: conditionally use 'unsafe' with docker-support change_profile rules [17:49] * zyga EODs [17:49] ttyl! [18:27] zyga: change the test, but RFC it so we talk about what is going on when this happens [18:28] zyga: the question is: if this happens, and it happened by accident, what's the least surprising thing we can do so the user knows what's up [18:29] zyga: and if it happens on purpose, double-check we're not opening the door for something dumb [18:42] Chipaca: I pushed the change [18:59] zyga: ack [18:59] * Chipaca EODs, mostly [19:02] pstolowski, I think I have a good solution to speedup nested vm executions [19:03] pstolowski, I'll send you an email with the details after I can test the solution works properly [19:13] https://www.irccloud.com/pastebin/4tieerHP/ [19:13] Chipaca: ^ is that the additional logs you were looking for? [19:13] zyga: they'll be in the snapd log [19:13] one sec [19:15] hmm [19:15] I cannot see that [19:15] perhaps this is the partial log from before the feature landed? [19:15] um [19:15] zyga: the feature isn't landed [19:16] it's got .99 of a review [19:16] aaah [19:16] right [19:16] so that's all I know :) [19:16] =) [19:16] I'll re-trigger it [19:16] yeah, need moar logs [19:16] and we should both EOD [19:16] yes [19:16] i need to make dinner [19:16] enjoy the evening :) [19:16] or i'll be eaten alive by feral teenagers [19:16] ttfn [19:20] kyrofa, hey [20:22] Hey cachio, what's up? [20:27] kyrofa, tomorrow I'll update images and the nested vm will change the name [20:27] on gce [20:28] it already exists and it is called ubuntu-1604-64-virt-enabled [20:28] and ubuntu-1804-64-virt-enabled [20:28] it is part of a reorg I am doing [20:29] both image names will be available the whole week [20:30] the idea is that this week we chagne the image names [20:30] does it work for you? [21:27] cachio, no problem at all, I'll propose the change now [21:27] PR snapd#5170 closed: interfaces/builtin: add adb-support interface [21:28] Thanks for the heads up! [21:35] PR snapcraft#2387 opened: spread: change virt-enabled image name [21:35] cachio, that ^ look okay? [22:08] kyrofa, the image is ready [22:08] so if you want to test the xenial one [22:08] you can so it, I'll create the bionic one now [22:17] kyrofa, image for bionic is ready [22:39] cachio: o/ [22:40] cachio: could you send me steps for creating the image so I can repro https://forum.snapcraft.io/t/8176 ? [22:46] Chipaca, sure [22:47] Chipaca, https://github.com/sergiocazzolato/snappy-qa-jobs [22:47] git clone https://github.com/sergiocazzolato/validator.git [22:47] cd validator [22:47] sudo ./create.sh beta [22:48] Chipaca, sudo ./create.sh beta pc-amd64 [22:48] that will create the image you need [22:48] nice [22:48] thanks [22:48] amd64: sudo kvm -snapshot -smp 2 -m 1500 -net nic,model=virtio -net user,hostfwd=tcp::8022-:22 -nographic -serial mon:stdio [22:48] I use that command for the vm [22:49] Chipaca, np [22:49] cachio: this is uses ubuntu-image as in 16.04? [22:52] yes [22:52] it uses ubuntu image [22:53] the .deb one [22:57] cachio: how do i get the new kernel? [22:59] Chipaca, ahh [22:59] :) [22:59] the problem is that I created my images with the old kernel on beta [22:59] which was updated [23:00] now you can't reproduce that [23:00] cachio: well i can refresh to 18/stable or sth [23:00] I can share my image with you perhaps [23:00] yes [23:00] but that doesn't give me a delta [23:00] which might be the key difference [23:01] I'm looking at that [23:01] cachio: is it easy to build an image with beta snapd but stable kernel? [23:01] otherwise I can share the image I have [23:01] but it is gonna take some time [23:02] Chipaca, let me check [23:04] HAH [23:04] it's the deltas [23:04] cachio: no worrries [23:05] cachio: this is not a regression, but it is a bug [23:05] i shall fix [23:05] ā€¦ somehow =) [23:07] Chipaca, as I see you can add which snaps you want to use [23:07] as a parameter [23:08] but I didn't test it with the kernel [23:08] --channel "$CORE_CHANNEL" \ [23:08] --output "$WORK_DIR/ubuntu-core.img" "$EXTRA_SNAPS" [23:08] Chipaca, you can try that [23:08] cachio: no worries [23:08] cachio: I found the bug, as I said ^ [23:08] Chipaca, ok [23:08] Chipaca, hehe [23:08] much better [23:09] Chipaca, thanks for chasing this [23:09] np [23:09] I'll go to the gym now :) [23:09] see you tomorrow [23:10] * cachio afk [23:20] PR snapd#6063 opened: store: also make snaps downloaded via deltas 0600 [23:20] cachio: ^ fwiw [23:55] PR snapd#6064 opened: many: move regexp.(Must)Compile out of non-init functions into variables