[04:15] morning [05:39] PR snapd#5694 closed: tests/main/layout: cleanup after the test [05:39] mvo: hey [05:41] hey mborzecki [05:41] zyga: can I merge 5307? [05:42] zyga: I would like to squash it, I would love to cherry pick this to 2.35 to fix core18s extrausers [05:54] mvo: could you take a look at https://github.com/snapcore/snapd/pull/5614 ? tha's a small change to the code + some tests [05:54] PR #5614: interfaces: parallel instances support, extend unit tests [05:59] sure [06:00] * mvo looks [06:00] mvo: thanks! [06:26] mborzecki: added some comments, sorry probably not strictly related to your pr but it seems its a good opportunity to improve this area [06:26] mvo: thanks, looking [06:27] PR snapd#5698 closed: osutil: reorg and stub out things to get it building on darwin [06:40] good morning! [06:40] mvo: looking [06:41] zyga: thanks [06:41] mvo: while jamie did not comment on the final look of the branch he didn't -1 the earlier version that wasn't much different [06:41] mvo: so I think yeah but the final call is up to you [06:41] mvo: in case jamie objects after the fact we can always roll out a .1 [06:41] * zyga had a small success by waking up the kids two hours earlier than usual [06:42] zyga: hey [06:42] hey hey [06:45] zyga: ok, I see. hm,hm [06:45] jamie mentioned he was going to look at it [06:45] so it's in his queue [06:47] while fighting spread yesterday (the unexpected failure I saw over and over) I refreshed all of the images on https://spread.zygoon.pl/images/ [06:47] I'm wondering why they grow so much though, 18.10 is 2.5x bigger than 14.04 [06:50] zyga: maybe 1G of it is all 0s [06:50] the images are qcow2, that would not be needed [06:50] and indeed they are not zero as they took a while to send there [06:54] zyga: maybe cached packages were left behind? [06:55] mborzecki: hmm, maybe but I used the same tool for all of those [06:55] I'll jump into those images if I have some time [06:55] I was just curious [07:00] zyga: a trick i use to be able to quick revert back to the clean image is to do a clean install, then use that image a backing file for qcow2 images, then you just have the diff images that you can rebase/commit once they are good enough [07:00] mborzecki: how do you rebase/diff things? [07:00] I never did that myself [07:03] qemu-img create -f qcow2 -b your-clean-install.img img-with-diff.img; do stuff inside, then qemu-img commit to move the changes back to the original image, or qemu-img rebase if you have an image chain [07:03] zyga: real life saver in case you screw up the os in the image at some point :P [07:03] interesting, and are the images aware of each other directly or do I need to tell qemu to use a chain somehow? [07:03] zyga: it's recorded in the image file [07:08] brb [07:09] mvo: pushed the changes to https://github.com/snapcore/snapd/pull/5614 [07:09] PR #5614: interfaces: parallel instances support, extend unit tests === pstolowski|afk is now known as pstolowski [07:10] morning [07:11] pstolowski: hey [07:13] wonder if i could push the parallel-installs-interfaces spread test to 5614 [07:13] re [07:15] got to go out for a while, back in ~1h or so === doko_ is now known as doko [07:59] zyga: jdstrand: Same problem with snap 2.35 and kernel 4.18.3. :-/ [08:00] can you provide the detailed denial please? [08:01] re [08:02] Just trying to get it to spit one out [08:04] mvo: review on 5699 [08:05] zyga: thanks, looking [08:06] zyga: thanks for the review, I will fix the issue(s) [08:07] did you mean the sleep 1h? [08:07] that was the most curious thing to me [08:07] zyga: I replied, no I did not, I hit the wrong key [08:07] zyga: or maybe a freudian slip, my mind wanted to go to sleep for 1h (at least ;) [08:07] haha :-) [08:09] zyga: replied, I will look into alternatives to squid I think, something in a snap [08:11] zyga: These are the only messages from "dmesg -w" while I ran "snap remove lxd" (which doesn't seem to have worked) and "snap remove postman", "snap install postman" which both seemed to work fine, but postman is not available to run. [08:11] https://paste.ubuntu.com/p/Z5C742DfZ8/ [08:11] Gargoyle: STATUS messages are just information, they are not a denial yet. What happens when you install and run the "hello-world" snap? [08:11] mvo: pushed a spread test for parallel instances & interfaces to #5614 [08:11] PR #5614: interfaces: parallel instances support, extend unit tests [08:14] zyga: No errors from snap - seems to have installed fine, but I have no "hello-world" command to run. (Syslog output during the installation: https://paste.ubuntu.com/p/jgDwrkyK4k/) [08:14] how about snap run hello-world [08:15] PR snapd#5700 opened: tests: significantly reduce execution time for managers test [08:16] zyga: Yup. That works! [08:16] ok [08:16] Gargoyle: can you try the snap you wanted to use before [08:17] "snap run postman" works too. [08:17] same for discord. [08:17] so the issue is fixed? [08:18] Oh. No. [08:19] so what is the issue? [08:19] They only work with "snap run discord". I cannot run just "discord" nor do they show in gnome. [08:19] log out and back in [08:19] ok [08:25] No joy. And now not even happy booting back into 4.15 kernel! :/ [08:25] welcome back, so what happened? [08:26] same situation. "snap run discord" works, but as far as the rest of the system is concerned, discord doesn't exist. Same for postman. [08:26] so gnome doesn't see the application, right? [08:27] what does "which discord" tell you? [08:27] correct [08:27] "discord not found" [08:27] and what does "echo $PATH" print? [08:28] . /home/paul/bin:/home/paul/.composer/vendor/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games [08:28] Gargoyle: interesting, are you setting PATH in your startup scripts anywhere? it seems to be influencing the default value that ought to also include /snap/bin/ [08:30] zyga: Only in .zshrc where I have: "export PATH=$HOME/bin:$HOME/.composer/vendor/bin:/usr/local/bin:$PATH" [08:30] ah, you are using zsh [08:31] perhaps that's the reason stuff is not working for you [08:31] yup [08:31] mborzecki: once you are back, do you remember if we had a way to inject environment into zsh; I recall a new systemd feature but I don't know if we ended up using it [08:32] zyga: iirc mvo came up with something that was shell agnostic [08:33] Gargoyle: are you using konsole by any chance? [08:33] Gargoyle: can you please do one more experiment, switch to bash, check of this fixes it; it will helps us scope the issue to just zsh [08:34] then we can go after that separately from any kernel issues [08:34] zyga: environment.d [08:34] mvo: anything I can man search for; I don't remember the details [08:36] updated arch package to 2.35 [08:36] mborzecki: Nope. Default Gnome terminal [08:36] zyga: yup. One sec [08:36] Gargoyle: I switched to zsh now, checking what shows up [08:38] PR snapd#5701 opened: image: add type to seed.yaml to allow sorting in firstboot [08:38] Gargoyle: are you on ubuntu? [08:38] pedronis: high level feedback on -^ would be great. if this looks sensible I will continue this path otherwise derive in firstboot [08:38] hm [08:38] I switched to zsh and I cannot log in [08:38] mborzecki: Yup [08:38] * zyga wonders [08:39] Gargoyle: can you post /etc/zsh/zprofile ? [08:39] No difference in bash. [08:40] * zyga can log in now [08:40] Gargoyle: I suspect you may need to reboot [08:40] mborzecki: Nope. It doesn't exist. /etc/zsh/zprofile is just comments, too. [08:40] depending on how early the profiles are picked up [08:40] Gargoyle: I confirm that there's no /snap/bin in PATH now [08:40] and that will also explain why gnome shell doesn't see any snap apps [08:41] zyga: in zsh on ubuntu? [08:41] I'll reboot my system now and then look at environment.d [08:41] mborzecki: I switched to zsh yes [08:41] zyga: yeah, so there's a problem that ubuntu's zsh setup does not source /etc/profile files (while it does so on arch for instance) [08:41] zyga: fwiw, we added /usr/lib/environment.d/990-snapd.conf [08:42] mvo: I'll rebuild the package and see if it is used [08:42] zyga: iir there's a bug report for this, from ogra maybe? [08:42] thanks! [08:42] mvo: yes, that works! [08:42] I have /snap/bin at the end of path [08:42] and I see snaps in gnome shell [08:43] Gargoyle: I'm running 2.35 from package built from master, reexec won't give you all of that yet [08:43] I'll rebuild the release branch [08:43] zyga: this is in 2.34.2 already so should be ok [08:44] I see [08:44] (sorry, haven't followed the previous discussion so I may miss things) [08:44] Gargoyle: what's the version of the debian package you have, you can check with "apt-cache policy snapd" [08:44] brb, rebooting [08:44] k [08:44] mborzecki, not mine, but i was active in it ... [08:44] zyga: https://forum.snapcraft.io/t/gnome-3-shell-snaps-integration/2678/12 [08:45] bug #1640514 [08:45] Bug #1640514: /snap/bin is not added to the PATH when using zsh [08:45] and along with that bug #1637220 [08:45] Bug #1637220: zsh has no /snap/bin in PATH [08:46] thank you ogra [08:46] I will update those bugs [08:46] well, the fix only helps if people actually went to 18.04 [08:46] so leave the 16.04 tasks open [08:47] ogra: yeah, this does depend on recent enough systemd, right? [08:47] right [08:47] how do I add 16.04 task? [08:47] nominate foir series [08:47] how do I do that [08:48] I never did that before, I may not have rights to do that [08:48] there is a link [08:48] zyga: https://paste.ubuntu.com/p/jGgcYf8DX5/ [08:48] everyone can nominate [08:48] approving the nomination is restricted ... [08:49] what do I need to click on, there's no "nominate" on the page [08:49] Gargoyle: so that seems ok [08:49] Gargoyle: I wonder what's different between our installations [08:49] zyga, done [08:49] ogra: what did you do :) [08:50] (the link right underneath the bug tasks with the little clock icon) [08:50] OK. Purged 4.18 from the system, force re-installed 4.15 and reverted back to "snap core --stable". and my $PATH is back! https://paste.ubuntu.com/p/YSNyg67xP4/ [08:50] next to "Also affects distribution/package" [08:50] aha [08:51] ogra: hmmm, [08:51] ogra: I don't see that icon, I only see it now after you did the nomination [08:51] weird, thats a common function that everyone should have access to [08:52] nomination isnt restricted ... only approving the nomination is [08:52] Only thing I can't do is remove lxd properly (so I can re-install) : https://paste.ubuntu.com/p/Rfr9gnSdQk/ [08:52] Bug #1640514 changed: /snap/bin is not added to the PATH when using zsh Xenial):Confirmed> [08:53] Gargoyle: you may need to stop the containers first but I defer to stgraber [08:53] zyga, also ... i dont think it is invalid in zsh xenial ... the fact that environment handling got improved doesnt fix the fact that zsh's env handling isnt using standards [08:54] yeah but for _this_ bug I think it is invalid now [08:54] zyga: hm so i dropped /etc/profile.d/snapd.sh, and have only /usr/lib/environment.d/990-snapd.conf, and I don't see $SNAP_MOUNT_DIR/bin being added to my PATH [08:54] I've used zsh since day 1, and not had problems. [08:55] mborzecki: I'm rebuilding 2.35 now from the release branch [08:55] I'll know soon :) [08:55] zyga: i'm on 2.35 on arch now ;) [08:55] maybe packaging skew? [08:56] mborzecki: 2.35 still has /etc/profile.d/apps-bin-path.sh [08:56] but also has /usr/lib/environment.d/990-snapd.conf [08:56] zyga: yesh, removed that manually here to check if environment.d works [08:57] mborzecki: interesting, only PATH is set, XDG_DATA_DIRS is not set at all [08:57] zyga: oh, so you do have PATH set in your setup via environment.d? [08:58] mborzecki: I _suspect_ so because I have empty profiles otherwise, let me reboot to check [08:58] zyga, well, if you prefer to put the blame on snapd ... :) (people come back to that bug when they hit the issue in 16.04... ) [08:58] zyga: can you do systemctl --user show-environment | grep PATH ? [08:58] mborzecki: sure, one sec [08:59] fyke% systemctl --user show-environment | grep PATH [08:59] PATH=/home/zyga/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin [08:59] WINDOWPATH=1 [09:01] zyga: heh, you have snap there, I don't :) [09:01] mborzecki: what do you have in /etc/environment.d [09:01] zyga: nothing, the file goes to /usr/lib/environment.d/ by default [09:02] ah sorry [09:02] I meant that one [09:02] what do you have in /usr/lib/environment.d/990-snapd.conf [09:02] did you reboot after installing that update? [09:03] zyga: yup [09:03] PR snapd#5701 closed: image: add type to seed.yaml to allow sorting in firstboot [09:04] Any ideas how I can get rid of my "disabled,broken" lxd snap? https://paste.ubuntu.com/p/G2d9XV5Tx5/ [09:04] zyga: hmm https://bugs.archlinux.org/task/56716 uhh and https://bugs.archlinux.org/task/56683 and https://bugs.archlinux.org/task/47884 looks like PATH is overwritten on arch in /etc/profile [09:04] mmm, can you snap install lxd [09:04] and then remove all the containers [09:05] and then remove it again? [09:05] nope. it thinks its already installed. "snap "lxd" is already installed, see 'snap help refresh'" [09:05] mborzecki: uh [09:05] Gargoyle: and snap remove lxd? [09:05] mborzecki: I'm happy systemd helps to clean up this mes [09:05] mess [09:06] zyga: That's in that pastebin. Complaining about readonly filesystem [09:06] Gargoyle: can you reboot again, I suspect some things are mounted there; you can try to unmount them or just reboot (maybe, no promises) [09:07] I'll give it a whirl, but it;s been broken for the last few reboots already [09:07] ah [09:07] then wait [09:08] check what is mounted [09:09] Maybe I am not seeing the wood for all the trees:- https://paste.ubuntu.com/p/D2j94chnMd/ [09:10] hmm [09:10] I don't see anything [09:10] what is in /var/snap/lxd [09:11] "common" [09:12] and inside? [09:12] it goes all the way along: /var/snap/lxd/common/lxd/storage-pools/default/images/de2ea148defc21d223376e53ab10ff1bccd003d92d5e6c6822398494ad934859 . No sign of a symlink anyhwere [09:12] and you cannot rm -rf that yourself, right? [09:13] nope. Not even as root [09:13] I think you may need to ask stgraber for help [09:13] maybe it's a zfs pool or something [09:13] I don't know exactly [09:13] opk [09:13] I need to jump into some code [09:13] Save me, stgraber. You're my only hope! :P [09:13] mvo: I commented on #5701, I still think we should do it in firstboot code [09:13] mborzecki: about environment.d [09:14] mborzecki: we don't set XDG_DATA_DIRS [09:14] PR #5701: image: add type to seed.yaml to allow sorting in firstboot [09:14] zyga: something fishy on arch, by the time it gets to /etc/profile the PATH does not contain any sign of snap [09:14] mborzecki: I think we should, right/ [09:15] zyga: yeah, i think so [09:15] I'll try to change that [09:16] pedronis: yeah, I noticed and already closed it. thanks for the quick feedback [09:18] PR snapd#5702 opened: snap: add ByType sorting [09:19] zyga: we need a snapd type, one issue is that we need a patch for it, i.e. if snapd is already installed we need to transition it [09:20] zyga: maybe we can get away without [09:20] mvo: reviewed [09:20] zyga: given that core18 is not stable yet and its not instalable anywhere else [09:20] mvo:why would we need a patch? [09:20] zyga: if you have snapd installed already [09:20] mvo: I mean, it's just snap info that would change [09:20] ah [09:20] I see [09:20] yeah [09:20] well [09:20] zyga: but yeah, I would love to add it [09:21] we could do in memory tweak [09:21] because it's clear it's special case [09:21] zyga: aha, nice idea, that would be a nice way out [09:21] and special casing on name or snap id as in other parts is clearly showing its cost [09:21] mvo: yeah, would not break rollback [09:21] so anyway [09:21] +1 but I wanted to voice that [09:21] zyga: ok, I will do it [09:21] * zyga hugs mvo [09:21] * mvo hugs zyga [09:22] let's add a type in one pr [09:22] and then tackle the issues like in-memory migration [09:22] and various uses [09:22] (so let's land this one as is) [09:22] zyga: yeah, I agree [09:23] zyga: I am in the middle of something else (firstboot ordering) but once that is done I will do the cleanup [09:23] * zyga nods [09:23] I'll jump into something too but please drag me back when you are into it [09:23] zyga: thanks, will do [09:24] zyga: can you post your /etc/profile? [09:25] probably vanilla /etc/profile from bionic https://www.irccloud.com/pastebin/cCczVjri/ [09:25] mborzecki: note that we also have /etc/profile.d/ [09:26] zyga: can you grep -n systemd-environment /etc/profile.d/* ? [09:26] empty [09:26] (I mean, I ran: grep -n systemd-environment /etc/profile.d/*) [09:27] unless you meant something more [09:27] zyga: no, that's fine, I have no clue how stuff from systemd-environment-d-generator gets to your session then [09:28] I rebooted [09:28] I think it's set by systemd when it starts the session proceses [09:28] is arch using systemd as a session manager?\ [09:28] brb, getting hungry over essentially no breakfast [09:29] zyga: yeah, the manpages are not too helpful either [09:31] https://www.irccloud.com/pastebin/IzURDL3V/ [09:31] zyga: ^ i suspect this is known? i've seen it some time ago; now failed on fedora [09:32] zyga: travis log - https://api.travis-ci.org/v3/job/418670092/log.txt [09:32] PR snapd#5702 closed: snap: add ByType sorting [09:35] Heyo [09:35] Chipaca: Moin [09:35] niemeyer: hi [09:35] niemeyer: ssh, I'm not here [09:35] Chipaca: Did the notes on the PR make the idea more clear, or do you still think we have an issue in terms of aptch sublevels [09:35] Chipaca: Oh, is that a day off? [09:36] niemeyer: I'm not sure it'll dtrt wrt reverts to a pre-sublevel snapd and back [09:36] Chipaca: I can't read ssh without reading ssh (but I guess you meant ssssssh) - anyway, enjoy your day off [09:36] mvo: i meant shh [09:37] Chipaca: Ah, I see it is, sorry.. I had understood the holidays were next week on, sorry for the force disturbance.. :) [09:37] niemeyer: no worries, I'm the one in the channel [09:37] mvo: I left a comment in 5702 about an open issue [09:38] though I saw you closed it [09:38] pedronis: yeah, I was thinking about zygas comment [09:38] pedronis: but maybe I just do that in a followup [09:38] Chipaca: Well, I'm always on the channel as well :) Anyway, the idea is that pre-sublevel patches are just like post sublevel patches.. the sublevel zero is the one that introduces backwards incompatible changes. So when a revert occurs, nothing is applied.. when the revert is undone to a more recent sublevel, the patches are reapplied [09:38] Bye Chipaca :) [09:38] pedronis: sorry for the flip-flop, I think I will reopen and just do a followup with the snapd type [09:39] Anyway, the point is that I think we're good, unless I'm missing something [09:39] We just need to be careful with non-zero sublevels as they need to be idempotent [09:40] PR snapd#5702 opened: snap: add ByType sorting [09:41] niemeyer: how do we know we reverted, sublevel unaware snapds will not touch patch-sublevel [09:41] pedronis: The behavior across levels is still the same [09:42] pedronis: 6 => 5 will blow up still [09:42] zyga: mvo: fwiw the environment.d generator does not seem to have effect on fedora either [09:42] niemeyer: yes, but we cannot afford that, wasn't it the point of doing this [09:42] pedronis: As will 7 => 6.X [09:43] pedronis: No.. the point is that we can patch as 6.1, and have 6.0 untouched [09:43] pedronis: Hmm.. I see.. 6.0 won't actually mark it back as 6.0, so we won't see 6.1 reapplied.. hmm [09:43] yes [09:43] the issue is the preexisting level 6 snapd out there already [09:44] (sorry I thought we were at 5 not 6 atm) [09:45] current level 6 snapd doesn't know about sublevels [09:46] Yeah.. that part is sort of okay.. the problem is how to detect when 6.1 is reinstalled that it needs to reapply.. :/ [09:46] yes === sparkieg` is now known as sparkiegeek [09:47] pedronis: Only choice I see is special casing 6.0 [09:48] Well, the whole 6 series really.. we'll never know whether a revert to a 6.0 happened [09:49] Oh.. or will we [09:49] or do something like what chipaca suggested detect we are reverting to a pre sublevel core/snapd and reset sublevel before restarting [09:49] not super clear how to do the detecting though [09:50] We might be nastier than that and look at the history.. we have it in the state [09:50] Well, that sounds less nasty actually, in terms of proper isolation [09:51] you mean look at what was the previous revision? [09:52] Right.. we have some good data available [09:54] We have the history, and we have a refresh timestamp [09:56] If the state level is 6, we can easily tell whether the refresh time was touched since the last restart, and if so whether we've been in a sublevel-blind revision recently [09:56] All of that just looking at the state, which we have at hand [09:57] pstolowski: ^ [09:58] The good thing is that we only need to kick that logic when the state level is 6 [09:59] reading [10:03] niemeyer: right.. i understand the problem of reverting back to sublevel-blind 6.0... not yet clear on the details of proposed logic, will need to check the code [10:03] btw, thanks for the review [10:03] (i'm on it atm) [10:07] pedronis: can you take a look at https://github.com/snapcore/snapd/pull/5700 when you have a moment? [10:07] PR #5700: tests: significantly reduce execution time for managers test [10:08] pstolowski: yes, in a bit [10:09] mborzecki: I'm not sure I understand which tests need to switch to sorting by name 5697 [10:11] mborzecki: I would really like that we switched to use code mvo is working on 5702, so I would like to understand how strongly we need the change [10:12] pedronis: this was just to ensure that tasksets get stable sorting [10:12] mborzecki: which tests fail without though? the one you added, others? [10:13] pedronis: the one i added [10:13] it's a bit bizarre because you need to play with the order of udpates anyway there [10:13] is that still true? [10:17] pedronis: yes, it's still true, but those snaps are apps, so there have no inter-dependencies, the issue is caused by refreshCandidates and iterating on what snapstate.All() returns, which can have random order [10:19] pedronis: fwiw the list of updated snaps returned by UpdateMany() is also random, but since I can easily tell which is which they are reodered in the test as needed [10:19] yes, but that makes the exercise bizarre [10:19] this list random, this one is sorted [10:19] because of tests [10:19] doesn't sound good as an api to me [10:20] also is sorted only if some kind of tasks are needed [10:20] pedronis, pstolowski: I've detailed the algorithm in the PR [10:20] Fixed lxd. It was a btrfs subvolume. manually removed it with btrfs tools, and then re-enabled lxd and re-ran "lxd init". Seems happy now! :) [10:21] There's only one down-side... [10:21] Now I have to do some actual work! :P [10:21] pedronis: well, technicaly it's not a regression, right now both updated snaps and tasks sets are randomly ordered, but i get your point [10:22] pedronis: well, tasksets are semi semi randomly ordered, by kind, but then within the same kind it's random [10:22] I know, I don't see a problem with that atm [10:23] I'm just questioning making the order requirements more strict for a test [10:23] (given that it make some coming refactoring a bit harder) [10:24] and it doesn't really give a full ordered behavior to the api anyway (because is kind of hard) [10:26] pedronis: is there a way to figure out which snap the taskset corresponds to aside from interrogating task summary of poking its data? [10:26] no, but is not so bad, we poke at the data all over the place [10:26] in the tests [10:26] they are tests after all [10:27] pedronis: well, maybe i could just expect one tasksets to be of some lengths, if there's other then signal an error, otherwise just use the legths to make the guess about the order [10:28] pedronis: i'll revert that ordering change and 'll try to find another way [10:28] thanks [10:30] niemeyer: ty [10:41] mborzecki: to be clear I agree that making output deterministic is best when is cheap and clear-cut, I don't think it's clear-cut here [10:42] pstolowski: np, the whole series is unblocked.. we need to have a conversation about the third-level down PR when you get there, about the API of ConnectReload etc [10:45] mborzecki: btw adding a helper in snapstate_test that takes a taskset that is an install of some kind and gets the name of the snap is probably cheap and readable [10:46] niemeyer: the algorithm you outlined looks fine, although i wonder if the introduction of snapd snap changes anything. i'm also wondering if the problem can be simplified, but can't think of anything [10:46] pedronis: will do, i'm looking into some update-ns issues atm [10:47] mvo: applied you suggestion to #5686 [10:47] PR #5686: overlord/ifacestate: introduce connectOpts [10:48] pstolowski: thank you! [10:50] PR snapd#5703 opened: firstboot: sort by type when installing the firstboot snaps [10:54] pstolowski: The snapd snap should support sublevels from the get go, so it shouldn't change much [10:54] pstolowski: We do have it out already, but mainly for testing [10:55] pstolowski: By the time this gets widely used, sublevels should be in already [10:57] right [11:12] PR snapd#5704 opened: snap: add new type "TypeSnapd" and attach to the snapd snap === pstolowski is now known as pstolowski|lunch [11:42] mvo, hey, core 2.35 was promoted to candidate yesterday [11:44] mvo: maybe I'm just super confused, but I don't see the attaching code in #5704 [11:44] PR #5704: snap: add new type "TypeSnapd" and attach to the snapd snap [11:47] PR snapd#5705 opened: testutil: have File* checker produce more useful error output [11:47] simple review ^^ [11:50] niemeyer, hey, there is a PR to review on spread https://github.com/snapcore/spread/pull/66 [11:50] PR spread#66: Define storage at system level [11:51] niemeyer, please when you have time could you take a look to that? [12:15] pstolowski|lunch: I commented on #5700 [12:15] PR #5700: tests: significantly reduce execution time for managers test [12:22] PR snapcraft#2219 closed: Release changelog for 2.43 [12:28] pedronis: sorry, a missed git add, pushed for real now [12:28] cachio: great, thank you === pstolowski|lunch is now known as pstolowski [12:38] hey [12:38] github.com resolves to 192.30.253.11{2,3} to me and I cannot ssh in anymore [12:38] is anyone else experiencing this? [12:39] mvo: reviewed the type PR now [12:41] zyga: ta [12:46] mvo: can you pull/push to GitHub? [12:48] zyga: seems to work here [12:49] hmm hmm hmm [12:49] odd [12:51] zyga: yes [12:55] mvo: can we update go-check in our vendor tree? [12:56] mborzecki: yes [12:56] mvo: the one that we have now has the bug when non empty error message raises an error regardless of Not() being used [13:00] mborzecki: oh, ok [13:01] mborzecki: standup? [13:01] mborzecki: then you can tell me all about it [13:01] zyga: -^ [13:01] pedronis: -^ [13:01] yeah [13:01] joining [13:16] jdstrand: hey, do you remember if we wanted to call the new adb interface "adb-support" or just "adb"? [13:21] zyga: There's a comment in the PR about it, and we are in the standup btw :) [13:47] niemeyer: you can switch camera later [13:47] if you join you can just go to the three dots in the lower-right corner [13:47] then go to settings there [13:47] and then pick the video / audio interface [13:48] niemeyer: I must have missed the adb vs adb-support decision, I remember reading that we _thought_ about it; thank you I will re-check [13:50] I think p2p video conferencing is not there yet [13:50] and hangouts work because google takes the traffic [13:50] Alright [13:51] That's super buggy unfortunately [13:51] I like the view, but it doesn't seem to work reliably at all [13:51] I'll break for lunch now [13:51] ttyl [13:51] I think that was a fail [13:52] The fact we spent most of the time asking whether we could hear each other and reconnecting is probably enough of a show stopper [13:55] it does bring back early skype memories though [13:55] I see your skype and raise you ms netmeeting [13:56] with those spherical webcams [13:56] over a 64k ISDN line [13:56] or webex [13:56] tandberg! [13:56] Gargoyle: sorry, there's a lot of backlog in there, what can I do for you? [13:58] stgraber: cannot remove lxd data, some read-only filesystems [13:58] mborzecki: You mean the bad memories? :) [13:59] Zoom apparently needs an app/plugin to be installed, so also a no go.. [13:59] niemeyer: more like repressed memories :) [13:59] Man.. it's 2018 and video conferencing still sucks [13:59] wondering if someone came up with an idea of using cctv video feed for conferencing [14:01] Analog over IP [14:03] PR snapd#5706 opened: snapstate: make InstallPath() return *snap.Info too [14:04] well clientless videoconferencing sucks, but nobody wants to install a proprietary client :P [14:06] https://talky.io/ is not horrible [14:17] niemeyer, in Mageia, we use jit.si for this stuff [14:17] Son_Goku: We just tried it.. it was crazy buggy :( [14:17] damn :( [14:17] how about Jangouts? [14:18] roadmr: talky.io is also pretty buggy.. it was responsible for one of the most hilarious bugs I've seen in a video conferencing application. One participant was only visible to half the participants [14:18] Can you imagine how funny the call was until we figured that out? :) [14:18] Son_Goku: Haven't tried that one [14:18] https://github.com/jangouts/jangouts [14:19] zyga: Just reviewed #5469 [14:19] PR #5469: interfaces/apparmor: (un)load profiles in one apparmor_parser call [14:19] zyga: The main comments there are about pre-existing logic.. Alfonso may need a hand.. not sure. [14:19] niemeyer, Red Hat uses Bluejeans [14:19] niemeyer: ack, I'll read that [14:20] the few video calls I've had with teams at Red Hat were over that and it went pretty well [14:20] https://www.bluejeans.com/ [14:20] Son_Goku: Yeah, bluejeans works a few times for me.. it was old fashioned, but worked okay [14:20] it has an all-web mode too [14:20] Not sure if it works in the browser nowadays, though, or needs an app [14:20] Son_Goku: Ah, nice [14:21] niemeyer: https://support.bluejeans.com/knowledge/join-from-browser [14:22] the app is recommended (and really is a nicer experience), but the browser only option works in a pinch [14:22] it's the principal reason Red Hat uses Bluejeans over other alternatives [14:22] We might even have a company account already.. I recall at least a couple of meetings over it in the past [14:24] niemeyer: we (Canonical) do, yes. [14:24] a problem with bluejeans is that some functionality on a computer still requires flash [14:25] nope [14:25] I don't even have Flash on my computer and pretty much the entire thing works now [14:26] the only problem with it is that Macs will burn up because the WebRTC implementations on macOS suck [14:28] Son_Goku: well some parts of it don't work here (Chromium on Ubuntu)... heh :( [14:28] really? [14:28] Son_Goku: I usually just use the app on my phone to see the video and use the web UI for the chat and QA stuff [14:28] yes, really :) why would I pull your leg on this :D [14:28] odd, I was using Chromium on Fedora for the last Koji Community Meeting and it worked okay [14:28] but maybe I did something different? [14:28] ah, it could also be somethingsomething on Canonical's settings/account. [14:29] I've seen that with gotomeeting: unless the presenter enables it, browser access doesn't work and it pesters you to install a client. [14:29] * Son_Goku shrugs [14:29] that's probably the case [14:29] hehe [14:29] roadmr: Thanks for the info, I'll try to find someone that can hand me access to an account [14:29] inconsistent experiences! [14:29] joy of joys, right? :D [14:29] Son_Goku: absolutely \o/ (haha) [14:31] PR snapd#5475 closed: WIP: remove unneeded calls to daemon-reload [14:31] bbl g2g to work [14:34] PR snapd#5495 closed: interfaces/builtin: initial version of the anbox-support interface [14:38] PR snapd#5530 closed: tests: use file based markers in snap-service-stop-mode [14:52] niemeyer, hey, I need this permission for the image-baker sa on gce https://paste.ubuntu.com/p/xbPwN6qnWd/ [14:58] PR snapcraft#2221 opened: spread: stop running catkin tests on 18.10 [15:05] mvo: #5583 reviewed [15:05] PR #5583: [RFC] many: go into socket activated mode if there are no snaps [15:07] cachio: The image baker already has that permission [15:08] cachio: But probably not on eco-emissary.. what the heck is that project? :) [15:11] niemeyer, it is running as part of spread-cron project [15:12] It clones the pread images project and uses a lib to delete the tmp image [15:12] it is able to create a new image [15:12] cachio: It still doesn't clarify the point above [15:12] cachio: I don't know what that project is, and I have no control over it [15:13] cachio: The fact you cannot delete images on it is probably A Good Thing [15:13] niemeyer, it runs from travis, it is a spread-cron branch execution [15:14] cachio: That still sounds completely unrelated to the point I just made [15:16] niemeyer, I don't get the point! [15:16] if I log in with this sa, should I be able to create/delete images, right? [15:17] niemeyer, or it depends on another thing too? [15:17] cachio: What is "eco-emissary"? [15:17] cachio: It seems on my end that you haven't read what I said [15:18] niemeyer, I though it is a project where it can be executed [15:18] cachio: You are trying to delete projects on "eco-emissary".. I have no clue about what that project is, I don't maintain it, and I cannot give you permissions to delete images on it, and that's a good thing [15:18] niemeyer, perhaps it is not [15:18] cachio: I don't know what "it can be executed" means in this context [15:19] cachio: You are trying to delete images there.. who owns that project, and why are you trying to delete images there? [15:20] cachio: As I also said above, the image baker *already has* the permission to delete images, on our project, the one our images are stored on [15:20] my spread cron branch, creates a tmp image, it updates it, it tests it and the it clones the tmp image into a final one, then it needs to delete the tmp image [15:20] cachio: Where? [15:20] this spread-cron branch runs from a travis machine [15:21] and it is using the image-baker sa [15:21] cachio: You keep repeating that.. [15:21] cachio: It's not helping :) [15:22] niemeyer, agree [15:22] cachio: Let me be more prescriptive: these tools are attempting to delete images a project we don't control and shouldn't be storing images on in the first place. YOu'll need to find out why. [15:25] niemeyer: thanks for 5583! [15:27] niemeyer, ok, I'll try to do something different [15:28] cachio: It would be good to understand the problem first [15:28] and use spread-images to delete the image using the computeengine project [15:29] cachio: Our tools shouldn't be poking arbitrary projects like that [15:29] pedronis: when you have some free cycles, 5702 should be ready for a re-review, I applied your feedback [15:29] cachio: Please understand the problem before changing things [15:29] niemeyer, yes [15:31] PR snapd#5707 opened: image: detect and error if bases are missing [15:49] niemeyer, it is fixed [15:49] niemeyer, it was really simple [15:50] niemeyer, In fact was my fault [15:50] niemeyer, I didn't set the project when I did login with the sa [15:51] niemeyer, but it didn't fail, it made login to a generic project [15:52] niemeyer, to this one eco-emissary-99515 [15:53] cachio: Glad it's sorted, thanks for looking into it [15:53] niemeyer, yaw [15:54] niemeyer: I replied to your question in 5583, I hope this makes sense but I may miss some subtle bits here if so, my appolgies [15:56] mvo: Thanks, looking [15:56] PR snapd#5340 closed: interfaces: add cifs-mount interface [16:00] mvo: niemeyer: I wrote something there too [16:02] pedronis: aha, yeah, that makes sense. I will address it [16:05] mvo, pedronis: Yeah, what pedroins said.. I've made an additional comment there. Repeating here, we might prevent it from dying too fast, maybe [16:06] niemeyer: yeah, that makes sense, thank you [16:06] we don't die too fast if there's a non-idle connection but at that point we will still shut down [16:06] which is not quite what we want [16:06] if there's an install [16:10] mvo: a naive approach would be do the check, if it seems we should stop, wait a while, do the check again, if it's still the case ask to stop there [16:10] maybe there is something more elegant though [16:20] pedronis: yeah, I was wondering if we need something like we do for outstanding hooks [16:20] pedronis: I will think a bit [16:22] mvo: notice that code is also ignoring EnsureBefore unlike Settle [16:28] put a not in the PR [16:36] mvo: is there a way to find what was the revision of core for given git commit id? the commit is from 17th Oct 2016, looking at the debian changelog the closest release was 2.17 on 2nd Nov 2016 (did we have release branches back then? i would need to check if that commit was really included in 2.17) [16:39] anyway eod.. will repeat the question tomorrow === pstolowski is now known as pstolowski|afk [16:42] jdstrand: hey [16:42] jdstrand: I sent some updates to #5170 [16:42] PR #5170: interfaces/builtin: add adb-support interface [16:42] jdstrand: I'm working on testing but the look and feel of the interface is what I think you asked for [16:44] jdstrand: I've built a snap with adb inside and I'm trying to get to the point where it works end-to-end [16:45] jdstrand: as for a smaller request, https://github.com/snapcore/snapd/pull/5307 is ready and just needs your final ack to land [16:46] PR #5307: cmd,interfaces,tests: add /mnt to removable-media interface [16:49] pstolowski|afk: what commit is that? [17:08] pstolowski|afk: sorry for the delay, was at dinner. you can do "git checkout release/2.17" and look at the diff there [17:09] pstolowski|afk: I mean, look if the commit is part of this branch [17:10] * zyga goes for a bike ride; I will be back with adb tests tonight [17:10] PR snapd#5702 closed: snap: add ByType sorting [17:11] PR snapd#5706 closed: snapstate: make InstallPath() return *snap.Info too === ahasenack is now known as Guest22561 [17:36] So, how resiliant is ubuntu core to power losses? Im thinking of an automotive application. [17:40] PR snapd#5708 opened: snapstate: use new "snap.ByType" sorting === devil is now known as Guest64550 [18:28] PR snapd#5661 closed: tests: normalize tests [18:32] zyga: sorry, meetings and appt. ack on all fronts [18:36] hey all, anyway to force build.snapcraft.io to use newer toolchain (18.04)? [18:46] jdstrand: thank you and no worries about the meetings, I just got back from my ride [19:00] * zyga reads about side-channel LSM [19:05] G33kDad: more resilient than traditional distributions [19:07] G33kDad: all application code is stored in read-only filesystem images [19:07] application upgrades are never partial [19:08] kernel upgrades are never partial [19:08] OS upgrades are never partial [19:08] the upgrade system uses transactions [19:08] the system can revert to earlier revision of the OS and kernel if upgrade fails [19:09] sudden power off can still affect the writable filesystem but the "damage surface" is smaller [19:22] zyga: I'm looking into that firstboot failure curently, no idea what is going on there yet [19:24] mvo: XK [19:24] ack [19:25] zyga: I hope we get a review on 5307 soon, can't wait [19:26] indeed :) [19:27] * zyga -> supper [20:01] PR snapcraft#2222 opened: lxd: support new style snap injection [20:27] How should I debug my snapcraft build? I am creating a snap for Bisq. I need to put my build artifacts in the right place I think. === d__ed is now known as d_ed [21:09] stgraber, so two days ago three ominous disks showed up in my unity panel ... turn out thats apparently the lxd snap ... what did change in lxd that makes this happen ? (no other snap does that) [21:09] annoyingly its all three versions ... [21:10] and it definitely didnt do that before [21:12] ogra: can you pastebin /proc/self/mountinfo? [21:12] (i dont really see anything that could be special in mount or df) [21:12] one sec [21:12] http://paste.ubuntu.com/p/VWv9Xsztbj/ [21:13] ogra@acheron:~$ cat /proc/self/mountinfo |grep lxd [21:13] 960 563 0:3 mnt:[4026532557] /run/snapd/ns/lxd.mnt rw - nsfs nsfs rw [21:13] 362 29 7:69 / /snap/lxd/8358 ro,nodev,relatime shared:98 - squashfs /dev/loop69 ro [21:13] 388 29 7:94 / /snap/lxd/8393 ro,nodev,relatime shared:226 - squashfs /dev/loop94 ro [21:13] 256 29 7:88 / /snap/lxd/8415 ro,nodev,relatime shared:117 - squashfs /dev/loop88 ro [21:14] here is the filtered variant ... proably easier :) [21:14] i dont see anything soecial compared to the other gazillion snaps i have [21:15] * ogra notices lxd is the only snap using the lxd-support interface on his system ... probably related ... [21:16] did the interface change recently ? [21:16] nope, that interface has never changed [21:17] weird [21:17] kinda hard to tell why LXD would show up in unity, clearly nothing that'd explain it in the mount table and without knowing what kind of event that unity launcher reacts to it's hard to tell what might cause it [21:18] but well ... they are there :) https://imgur.com/a/4PhinGS [21:19] (the bottom three disks) [21:19] LXD does do a ton of special mount namespace setup, some of which in the host mount namespace, but as you can tell, there's nothing from that left behind, so even if the launcher noticed it happening, those entries should have immediately gone away [21:20] well, i can tell unity to simply hide them in the panel ... but be prepared that you'll get reports from 16.04 users [21:23] btw, just checked my desktop machine (where i never noticed it) and got the same three disks there [23:16] zyga: thanks for the thoughts!