[02:07] Hey everyone, if there's anyone interested in trying out snappy on Fedora, it'd be great if you could test out snapd [02:07] more details here: https://forum.snapcraft.io/t/call-for-testing-snapd-2-23-on-fedora/127/6 [03:47] does anybody know if there has been any other progress on this snap download connection reset bug? https://bugs.launchpad.net/software-center-agent/+bug/1617765 [03:47] Bug #1617765: Connections reset when downloading snaps from CDN [03:49] my experience is similar to the comments from others on that bug, it seems to affect snapcraft being run inside containers in particular [03:50] have tried both building inside lxd and docker containers and the core snap fails to download the vast majority of the time [05:04] mwhudson: ping === morphis_ is now known as morphis [05:04] PR snapd#3151 opened: Small adjustments for debian deb builds and packaging symlink for Debian Sid [05:15] PR snapd#3151 closed: Small adjustments for debian deb builds and packaging symlink for Debian Sid === chihchun_afk is now known as chihchun [06:43] o/ [06:44] mvo: I will take a small detour to check something that gustavo requested (build system tweaks) [06:44] mvo: meanwhile can you do a review on updates to https://github.com/snapcore/snapd/pull/3145 [06:44] PR snapd#3145: overlord/ifacestate: fix auto-connect during core snap transition [06:44] mvo: and let's plan how to change the plug names on core [06:44] mvo: (i.e. how to test that) [06:45] mvo: so that we don't cauese any regressions with this move [06:45] mvo: after the build system detour I will look at ensuring plug/slot name uniqueness validation [06:45] mvo: we have code for that but apparently it's not used or working [06:45] mvo: (I suspect the way implicit slots are added side-steps that) [06:46] PR snapd#3152 opened: store: make hash error message more accurate [06:46] zyga: ok [06:57] mcphail, we will figure out security in wayland [06:57] we need to do that anyway to get snaps to be amazing on a GNOME desktop [06:58] but we will keep Mir for IoT projects where security and simplicity are the main requirement [06:58] about wayland, I think we could use a test on fedora 25 + wayland to see how the interface shoud look like, I think it will be relatively straightforward [06:59] and try the same on ubuntu with apparmor to see what's to do with confinement [06:59] morphis was recently working on better X11 auth support for snaps [06:59] and that feels in line with similar work for wayland [07:05] mvo: ok, experiment done [07:06] now looking at plut/slot uniqueness again [07:06] thanks zyga [07:07] fgimenez: could you please have a look at 3148? it needs a second review and is pretty simple (I hope :) [07:07] Hello, I'm trying to update the snapd PKGBUILD on archlinux form 2.21 to 2.23.6. I removed the biuld patches that move the /snap dir to /var/lib/snapd/snap and updated the verison number. Everytime I would try to build snapd, I would get a linking error I cannot resolve. https://pastebin.com/YY3Pa3U8 [07:07] mvo: sure on it [07:08] fgimenez: btw, is the re-exec spread-cron happy now? with the new snapd now being build? [07:08] Aimilius: hello! welcome :-) looking at the diff [07:08] er, log :) [07:09] Aimilius: aha, I think I know what's wrong [07:09] That was quick :) [07:09] Aimilius: can you do a master snapshot pleaes [07:09] Aimilius: I landed a PR that makes the build system more flexible [07:09] Aimilius: look at cmd/autogen.sh [07:10] mvo: nope it seems to have the same errors https://travis-ci.org/snapcore/spread-cron/builds/219549331 [07:10] Aimilius: the problem is related to the set of libraries that are linked into snap-confine statically [07:10] Aimilius: in master each library (that can) has a knob to control if it is linked dynamically or statically [07:10] Aimilius: and the defaults are all dynamically as that is most easy to compile on all distributions [07:10] Aimilius: in 2.23.6 that wasn't the case [07:11] Aimilius: we are working on 2.24 now (not sure if it goes out today as we found some old bugs last night and want to fix them) but if you take master you will have a better chance at building it [07:11] zyga: I'm trying to rebuild now [07:11] Aimilius: excellent! [07:12] mvo: snapd 2.23.6+201704061805.git.996da23~ubuntu16.04.1 in that execution, is that ok? [07:13] fgimenez: that sounds good [07:15] Master builds fine, though some checks fail [07:17] I believe they are about apparmor confinement (test_restrictions test_complain_missed and test_unrestriced_missed, so I didn't excpect that would work [07:17] zyga: one quick question in your 3145 PR - if correct I can quickly push a branch for core [07:18] mvo: looking [07:18] Oh, they're about the linux-grsec restrictions [07:18] So everything works fine [07:18] mvo: yes, that's correct, also replied there [07:18] Aimilius: those are about seccomp I think [07:18] Aimilius: aha [07:19] Aimilius: interesting, feel free to report those on the forum, I'm sure the security team will be interested in them [07:19] zyga: I've got linux-grsec installed, that blocks unpriviliged dmesg access [07:19] aha [07:19] zyga: The test-suites try to access dmesg, so that doesn't work [07:19] zyga: ta, I will push a branch for core with that fix [07:19] mvo: OK [07:20] zyga: I think on plain linux (without grsecurity) it'll work fine [07:21] mvo: branch with plug/slot uniqueness enforcement on AddPlug/AddSlot is almost ready [07:28] zyga: it looks like snapcraft.yaml does not allow to use: "plugs: network-bind-hook: interface: network-bind" :/ [07:29] zyga: the valications allows only flat strings arrays [07:29] zyga: whichi is very stange [07:29] jdstrand I have had an "review pending" on my snap for five or six days. Is this normal, should I change something? I just wanted to try and upload an beta of mdt for testing.. it's namespace is mdt.kristbaum. [07:30] zyga: hm, looks like its just a bit of a strange syntax [07:31] mvo: no, you need to spell that differently [07:31] mvo: like this: [07:31] zyga: yeah, silly me [07:31] mvo: plugs:\n network-bind-plug:\n interface: network-bind [07:33] zyga: After a build on clean linux (without-grsecurity) the tests still fail. https://pastebin.com/WH1JBmMe [07:34] PR core#32 opened: Rename core-support,network-bind plugs to make them unique [07:35] mvo: have a look at https://github.com/snapcore/snapd/pull/3153 please [07:35] PR snapd#3153: interfaces: validate plug/slot uniqueness [07:36] PR snapd#3153 opened: interfaces: validate plug/slot uniqueness [07:36] Aimilius: hmm, can you please open a topic for that on https://forum.snapcraft.io/ - make sure to report the kernel version used [07:36] Aimilius: we may carry some seccomp fixes [07:36] Aimilius: not sure yet, we'll check it out [07:36] Ok, I'll open a topic [07:36] morphis: ^^ have a look please [07:36] zyga: uname -a Linux glorfindel 4.9.20-1-lts #1 SMP Fri Mar 31 15:23:31 CEST 2017 x86_64 GNU/Linux [07:37] mvo: note that this branch may be a flag day for core revert [07:37] mvo: as previous core won't validate and because the plugs are explicitly defined and slots are implicitly added later, may be dysfunctional (no network-bind slot, no core-support slot) [07:38] mvo: I can do a separate patch that fixes this by detecting it and changing the snap via implicit.go [07:38] mvo: let me know what you think [07:39] mvo: I also thing we could use a `snap --validate ./path/to/file.snap` command [07:39] (^ internal hidden thing maybe) [07:40] zyga: hm, if we need a flag day we need to think about this more carefully, maybe a HO in a bit for some brainstorm? [07:41] mvo: yes [07:41] mvo: I think we can avoid it [07:41] mvo: if we teach snapd to just rename those two plugs [07:41] mvo: (core:network-bind -> core:network-bind-plug) (same for core-support) [07:41] mvo: then no flag day needed [07:41] mvo: do you want to jump into a HO to discuss? [07:43] mvo: I'm in the standup HO if you want to [07:44] zyga: yes, one minute, just addressing some things [07:44] mvo: though sligthly complex, depending on where we do this exactly [07:44] PR core#32 closed: Rename core-support,network-bind plugs to make them unique [07:52] Aimilius, zyga: looking [07:54] I posted a topic on the forum here: https://forum.snapcraft.io/t/checks-fail-on-arch-linux/200/1 [07:58] Aimilius: thanks, will respond there once I find something [07:58] morphis: thanks for your effort [07:58] np [08:00] Aimilius: you're not building on a kernel with AppArmor support, right? [08:01] zgrep APPARMOR /proc/config.gz # CONFIG_SECURITY_APPARMOR is not set [08:01] morphis: though I do use apparmor [08:01] Aimilius: ok, then you should compile snap-confine with --disable-apparmor [08:01] Aimilius: how when the kernel side support is disabled? [08:02] I normally run linux-grsecurity with apparmor compiled [08:02] But the tests didn't like the dmesg restrictions so I booted my normal kernel without grsecurity and apparmor [08:03] Aimilius: ok, when you don't have AppArmor in the kernel you should build with --disable-apparmor --disable-seccomp [08:03] morphis: I'm running this command to build snap-confine ./autogen.sh --prefix=/usr --disable-apparmor --enable-merged-usr [08:03] we don't have runtime detection (yet) [08:03] please add --disable-seccomp too [08:03] morphis: without apparmor the seccomp tests wont run either, I think the logic there assumes both [08:04] morphis: does snap-confine depend on out-of-tree seccomp patches [08:04] morphis: because the arch kernel does support seccomp [08:04] morphis; and I have libseccomp installed [08:04] Aimilius: the problem is that only using seccomp will unhide a few problems nobody didn't look into yet [08:04] safest is to disable both right now [08:05] Ok, rebuilding === chihchun is now known as chihchun_afk [08:06] morphis: if I add --disable-seccomp, the checks still fail [08:06] Aimilius: ok [08:06] Aimilius: can you paste the log output for that? [08:06] morphis: sure [08:07] sabdfl: thanks. Sorry Plan A didn't work out. Loved what you were trying to do [08:07] morphis: https://pastebin.com/v2sh2f7Z [08:10] Aimilius: will look in a bit [08:11] morphis: I'll have to go leave soon [08:11] Aimilius: ok [08:11] But I'll look at the forum this afternoon [08:11] Aimilius: I will see that I get an Arch setup and try to reproduce [08:12] morphis: Shall I post my PKGBUILD? [08:12] Aimilius: please! [08:13] morphis: https://pastebin.com/qRRNSYmz [08:13] I use a ugly hack to install the systemd unit files [08:13] Aimilius: ok, we have something better for this in 2.24 [08:13] morphis: But with the --nocheck option, it appears to install [08:13] morphis: great to hear [08:14] Aimilius: something like make -C data/systemd DESTDIR=... install will do the job then [08:14] morphis: that was what I did [08:14] ah [08:14] morphis: with SYSTEMDUNITDIR=/usr/lib/systemd/system, because of the usr merge [08:14] ok, that is then what you should do [08:15] But it felt like I shouldn't use a Makefile there === chihchun_afk is now known as chihchun [08:18] mvo: have a look a tthis please https://github.com/snapcore/snapd/compare/master...zyga:rename-clashing-core-plugs?expand=1 [08:18] mvo: that's what I was thinking about (tests WIP) [08:18] mvo: essentially this is the essence: https://github.com/snapcore/snapd/commit/59ae873d82883f8887ac7c55bead62e60ab749f6 [08:18] (the last two patches are new in this brancH) [08:34] Is somebody here that is responsible for manual reviews in the snap store? [08:39] Kristbaum__: I think so [08:40] Kristbaum__: I think you may have better luck on forum.snapcraft.io, using the "store" category [08:40] Kristbaum__: as they are in different timezones [08:40] Kristbaum__: and you may get more organized replies there [08:43] zygra okay will try that [08:45] Kristbaum__: thanks! [09:03] mvo: I'm adding tests to RenamePlug [09:09] mvo: adding tests to ifacestate [09:11] actually running snapd spread tests in QEMU doesn't look much reliable these days .. [09:12] morphis: why? what are you getting? [09:12] morphis: I sometimes get startup errors but if it runs, it is quite reliable [09:12] timeouts for apt-get [09:12] ala "running late" [09:12] sometimes network connectivity dies [09:12] but could be that I have a debian container I am trying to run the tests in [09:12] morphis: late is normal [09:12] morphis: aha, I dind't try it that way [09:13] zyga: should the lxd backend work these days? [09:13] morphis— apt update/upgrade the base image to keep the time in check [09:13] otherwise each test run does that, and it's hella slow :-) [09:14] Chipaca: yeah doing that right now [09:14] (that's a technical term) [09:14] mvo, #3070 failed again, the failures seem to be unrelated to the branch, i.e. snap confine test failures, gccgo failures [09:14] morphis— niemeyer has a cron job for this, but not sure if it's reusable for qemu [09:14] Chipaca: let me check [09:15] morphis: I don't know [09:15] morphis: we don't exercise it I think [09:18] zyga: ok, worth a try later [09:18] zyga: but I must say using the debian openstack images is working like a charm so far [09:24] morphis: nice! [09:24] morphis: can you add instructions on how to get them to spread-qemu-images please? [09:24] zyga: had to modify the adt-* script a bit but will send a PR for your spread images repo later today or on monday [09:27] zyga: you had a chance to test snapd on fedora yesterday again? [09:29] Son_Goku: any more testing from your side happend? I've added +1 to all three bodhi requests now [09:30] morphis: nice [09:30] morphis: no, I didn't we found a new set of bugs that delayed 2.24 release [09:30] morphis: I'm still working on fixing them [09:30] ok [09:30] zyga: what kind of bugs? [09:32] morphis: https://forum.snapcraft.io/t/duplicate-plug-slot-names-inside-the-core-snap/184/7 [09:34] mvo: ok, I'm adding one more correction, I will migrate connection state as well [09:34] mvo: that is done, just adding tests [09:36] zyga: I see [09:38] PR snapd#3148 closed: errtracker: never send errtracker reports when running under SNAPPY_TESTING [09:41] mvo: ok ready [09:42] mvo: let me open a PR [09:48] pstolowski: some of the test failures in 3070 look real [09:48] zyga: ok [09:50] PR snapd#3154 opened: many: rename two core plugs that clash with slot names [09:50] Chipaca: hey, mvo is off now [09:50] Chipaca: I need a hand with critical 2.24 reviews [09:51] zyga— shoot [09:51] zyga— or i can look myself :-) [09:51] on it [09:52] Chipaca: https://github.com/snapcore/snapd/milestone/6 [09:52] Chipaca: there are two approaches used [09:52] Chipaca: (and both should land) [09:52] Chipaca: I added one more branch to 2.24 [09:54] Chipaca: - rename everything when starting so even old core snap is correct [09:54] why is our test suite brittle all of a sudden :-( [09:54] Chipaca: this is done in https://github.com/snapcore/snapd/pull/3154 [09:54] PR snapd#3154: many: rename two core plugs that clash with slot names [09:55] Chipaca: - validate everything so it doesn't happen again [09:55] Chipaca: https://github.com/snapcore/snapd/pull/3153 [09:55] PR snapd#3153: interfaces: validate plug/slot uniqueness [09:55] Chipaca: and lastly because we found this by fixing a bug in core transition [09:55] snapd#3145 needs niemeyer to re-review i guess [09:55] PR snapd#3145: overlord/ifacestate: fix auto-connect during core snap transition [09:56] Chipaca: this branch fixes the damage done there https://github.com/snapcore/snapd/pull/3145/files [09:56] (as he marked it as Changes Needed) [09:57] yep [09:57] that's fine [09:57] I want to go through the first round on the two new PRs [10:03] zyga— wouldn't it make sense, in snapd#3154, for you to also test RenamePlug for a case where a plug and slot have the same name? [10:03] PR snapd#3154: many: rename two core plugs that clash with slot names [10:03] pedronis: hey there, I was looking into replacing the exec'ing of ssh-keygen with using openssl via CGO as in: http://pastebin.ubuntu.com/24333148/ [10:03] Chipaca: sure, can do [10:03] * zyga does [10:03] pedronis: do you have any guidelines on how to use CGo? Like place actual implementation into .c file or some such? [10:06] tvoss: look at... [10:06] tvoss: https://github.com/snapcore/snapd/pull/3095 [10:06] PR snapd#3095: cmd/snap-update-ns: add C preamble for setns [10:06] Chipaca: ha, I cannot [10:06] Chipaca: it's validated now [10:07] Chipaca: http://pastebin.ubuntu.com/24333233/ [10:09] zyga: ack [10:09] zyga— state twiddling direclty? [10:10] zyga— or make a for-testing way of overriding the validation [10:10] because clearly you can be in that state [10:10] so we need to test it [10:11] Chipaca: I'll think of something [10:11] Chipaca: good point about being able to be in that state [10:11] zyga— I'm now wanting to check it even more, to make sure we don't break people that are in that state already [10:12] Chipaca: look at the other branches and suggest ideas [10:13] Chipaca: note that it is not strictly speaking "hurtful" to have clashing names [10:13] Chipaca: but we want to get away from that [10:13] I think it's a matter of order of things in the other branch fixing this [10:13] but we need to be able to load the state to fix it [10:13] zyga— idea: make space probes look futuristic to trick aliens into thinking we're more advanced than we are [10:13] pedronis: state is not validated there (just connections are changed) [10:14] pedronis: and interfaces.ConnRef has no validation [10:14] zyga— or did you mean ideas that were relevant to the branch [10:14] don't we do a big add all the snaps thing [10:14] Chipaca: re brittle> https://forum.snapcraft.io/t/hashsum-failures-during-tests/198 is what I see in a bunch of them [10:14] zyga: initializes does addSnaps, no? [10:15] pedronis: aha, good point [10:16] I don't see the aha there but yes, bit of a chicken and egg problem [10:16] Chipaca: ok, I have something for that now [10:16] pedronis: well, if we load core snap and validate it [10:16] mvo— D: [10:16] pedronis: it won't reach that point [10:16] so it explodes [10:16] is that aha? [10:17] * pedronis has probably no sense of humur today [10:17] Chipaca: have a look, just pushed [10:17] * Chipaca hugs pedronis [10:17] anyway I agree with Gustavo's yesterday point that we need to tread carefully through these fixes [10:17] pedronis: yes, I totally agree [10:18] will one of our spread tests exercise thiss? like the upgrade one? [10:18] pedronis: spread tests do exercise this already [10:19] pedronis: well, not directly this [10:19] * pedronis anyway, lunch [10:19] pedronis: but the branch that adds validation is all read [10:19] red* [10:19] pedronis: because now core doesn't validate anymore [10:20] zyga— dude, stop with the Not(IsNIl) :-) [10:21] any way to create env variables or signals that can be accessed by two different processes inside a snap env? [10:21] Chipaca: how should I do it? [10:21] zyga— NotNil [10:22] zyga— compare the failing output and you'll see what i mean [10:22] Chipaca: oooh, didn't know about it :) [10:22] Chipaca: ack, will do [10:22] my snap exposes a noejs app which spawns a sh script which fires a banary [10:22] binary [10:23] pshod— one easy way is to use the filesystem [10:23] pshod— that includes, for example, a unix socket [10:23] i am notifying the event by writing into a file [10:23] and then if the file has a particular content [10:24] i close my watch in the node app [10:24] chipaca : the sh script should write unto a socket and the node app listens on the socket? [10:25] zyga: help help help! [10:25] pshod— it depends on what you need to do, etc etc [10:25] pshod— please tell us more [10:25] ill try to be concise [10:26] pshod: so [10:26] pshod: if you set environment from a running process [10:26] pstolowski— “- Download snap "core" (1577) from channel "stable" (unexpected EOF)” <- just got that :-( [10:26] snap exposes a node app -> spawns a sh script that fires a binary->binary reads data from a sensor and writes into a file in SNAP_COMMON->node app reads the file and posts to a REST server [10:26] pshod: you cannot just "see" that easily in other processes without looking at /proc [10:27] pshod: not sure what you meant by a signal [10:27] pshod: tell me what you want to achieve [10:27] pshod— with you so far [10:27] pshod: (not how) [10:27] pshod: and we'll recommend osmething [10:27] Chipaca, is this with current code, or latest release? [10:27] pstolowski— https://travis-ci.org/snapcore/snapd/builds/219327815 [10:28] no the node app is configurable..we pass the number of tmes the binary writes into the fuke [10:28] file* [10:28] pstolowski— upgrade/basic failed with that [10:28] now what I have done is, i modifies the sensor binary so that after writing the said "n" observations into the file [10:28] Chipaca: https://github.com/snapcore/snapd/pull/3154#discussion_r110359632 (updated and added tests) [10:28] PR snapd#3154: many: rename two core plugs that clash with slot names [10:28] overwriting* [10:28] it writes "Closing Session" [10:29] so when i read the file from SNAP_COMMON [10:29] and see it's contents as "Clossing Session" I remove the watch from SNAP_COMMON and my node app exits gracefully [10:29] Chipaca, uhm. not good. would be great to find out how to provoke 'unexpected eof' in the test. what I did recently was a test with closing client connections, and that triggers normal EOF [10:30] people dont like this design and I am not pretty confident about it too [10:30] :| [10:30] pstolowski— send a RST [10:30] pshod: today I'm focusing on 2.24 release and I don't have much time to help [10:30] pshod— ah, so this is what you're doing now and you need to improve it? [10:30] pshod: maybe ask on the forum and we'll get to that [10:31] pshod— yeah, maybe it's better as a forum question, rather long-winded for here [10:31] zyga : hey thank you! [10:31] pshod— nothing wrong with the file-based approach as long as you're using locking appropriately [10:31] pshod— but there are other ways, sure [10:31] zyga: have gotten much help from you in the past :D [10:32] pshod: I'll gladly help next week but I need to focus on fixing something we just found out that is affecting core [10:32] pshod: namely https://forum.snapcraft.io/t/duplicate-plug-slot-names-inside-the-core-snap/184/6 [10:32] pstolowski— no i don't know *how* to send a RST, i know a RST is the usual cause for that unexpected eof [10:32] pshod: we won't release today (Friday = bad idea) but I want it to be ready [10:32] chipaca : locking is done properly, I suggested we just update a variable which gets updated when API for posting is called [10:32] pstolowski: network throttling things sent RSTs to kill connections [10:32] Chipaca, exactly... i'll look into that later, thanks. in the meantime - E_TOOMANYISSUES_ATM [10:32] but that was rejected too. [10:33] zyga : duplicate plug names [10:33] pshod— ok, open a forum thread, write everything out there please [10:33] zyga: sounds too much of fun :P [10:33] chipaca : on it [10:34] pshod— what you want to achieve, what you are doing now, why it was rejected/requested to be improved, what other things were proposed but also rejected [10:34] pedronis, Chipaca, pstolowski, mvo: I'm looking for proposals on how to fix the chicken/egg problem on core's snap.yaml: we need to load an invalid file to fix it [10:34] pshod— the 'what you want to achieve' there is missing in what you've written so far, afaict [10:34] my naive idea is to add a way to load snap.Info that's invalid [10:34] use that on the core snap only [10:34] and apply the fix right there [10:34] (the fix is currently in interface manager but it should move to snap manager) [10:35] zyga: how about a forum.snapcraft.io topic? to have an archived discussion? [10:35] mvo: +1 [10:35] chipaca : will do it like that [10:36] PR core#32 opened: Rename core-support,network-bind plugs to make them unique [10:38] commented on the forum about it [10:38] https://forum.snapcraft.io/t/duplicate-plug-slot-names-inside-the-core-snap/184/9?u=zyga [10:39] chipaca : wont i be able to register using my company id? [10:40] pshod— I don't know. It's not (yet) tied into login.ubuntu.com, if that is what you mean [10:50] zyga— what calls snap.Validate on startup? [10:56] Hi, I need some help with snapcraft.yaml syntax. I'm trying to implement a command wrapper to start my apps. I'm trying to pass a command and its arguments to the wrapper, but I can't get the syntax correct. For example - command: usr/bin/mywrapper --wrapper-arg1 --wrapper-arg2 --exec '$SNAP/usr/bin/cmd --cmd-arg1 --cmd-arg2'. Snapd parses cmd-arg1 and cmd-arg2 as arguments to usr/bin/mywrapper. What is the syntax to put them al [10:56] What is the syntax to put them all in the string as the --exec argument? [10:57] Chipaca: when you load the state, I think that's in snapmgr somewhere [10:57] Chipaca: look at the interface manager, it asks for all the snaps and adds active ones to the repository [10:57] Chipaca: with the validation code in place we will naver reach that spot [10:57] Chipaca: as we will crash and burn on invalid core [10:57] mikeb_— can you share the yaml in a pastebin? [10:58] Chipaca: sure [10:59] zyga— I see interface/repo.go:73 calling ValidateName, but no Validate call [10:59] interfaces* [10:59] chipaca : i should tag my entry as "other"? [11:00] https://pastebin.com/GhCBe4Gd [11:01] mikeb_— ok, that seems alright. Can you show me the .service file that gets generated? [11:03] Chpaca: is the generate service file located in the prime area? Or is it generated at snap install time? [11:05] mikeb_— it'll be in /etc/systemd/system [11:05] mikeb_— called something obvious [11:05] mikeb_— ah, at install itme [11:05] time* [11:06] Chipaca: my install is failing, so I can't get to it. [11:07] ah [11:07] mikeb_— how is it failing? [11:07] Chpaca: https://pastebin.com/4Ufw8WcE [11:10] mikeb_— that happens on 'snap install', i take it [11:10] or snap try [11:10] Chipaca: snap install [11:11] Chipaca: on a Ubuntu-core system [11:11] mikeb_— so, what's *probably* happening is that the quoting there reaches the .service file intact, and then systemd reads it wrong [11:11] I need to test this [11:11] give me a bit [11:11] (it's a bug at our end, but there's a workaround if this is the case) [11:11] Chipaca: okay. Thanks! [11:13] * zyga will work on fixing the migration situation after lunch [11:13] ttyl! [11:14] zyga: rememeber that we setup-profiles twice for core [11:14] the first time with old snapd code [11:14] the 2nd with new snapd code [11:14] and that one has passed managers init at that point [11:14] pedronis: good point [11:14] pedronis: thank you! [11:15] so need to think a bit exactly what sees what here [11:15] pedronis: let's discuss this at the call, I think (all) of PRs are unlikely to land today [11:15] mikeb_— huh, that's strange. When trying to do this myself I get an error. [11:15] mikeb_— in that the command can't contain quotes [11:16] mikeb_— so maybe you're in an older version that didn't validate this? i'd say move the long command into a shell script and use that as the command in the yaml [11:16] Chipaca: FYI context - I have a snap that is made up of many .deb packages all with services to start up. I'm trying to come up with a wrapper that will deal with service before/after/wants/requires/etc as well as the various preinst/postinst/prerm/postrm/etc [11:18] zyga: I mean it might turn out that is less to do that we think, (some fixes don't make sense), though there's the no reexec case as well to keep in mind, we don't reexec everywhere yet, do we? [11:18] Chipaca: I'm running snapcraft 2.28 [11:18] mikeb_— sound slike fun [11:19] mikeb_— I get this: error: cannot read snap info for /home/john/canonical/snappy/src/github.com/snapcore/snapd/tests/lib/snaps/test-snapd-service: app description field 'command' contains illegal "bin/start foo bar \"baz quux\"" (legal: '^[A-Za-z0-9/. _#:-]*$') [11:20] Chipaca: The upstream packages are still changing a lot. It's more fun to try to manually translate all the service and inst files to snapcraft apps: [11:21] Chipaca: seems indeed that we don't support quotes in commands [11:21] (never did I think, maybe we need to ? ) [11:21] Chipaca: That's unfortunate... [11:23] mikeb_— however, note you can set a per-app 'environment' entry that does have quotes [11:24] Chipaca: not sure though that env var in a command do the right thing [11:25] pedronis— they get set in the environ of the service [11:25] Chipaca: I hadn't thought to escape my quotes in the yaml file. That actually seems to be working... almost. Give me a few to play around a bit more. [11:25] though you can always use a wrapper [11:25] Apr 07 12:25:33 fogey snap[17032]: FOO=$'there once was a man from nantucket\nwho was very bad at limericks\n' [11:26] ^ that's from [11:26] environment: [11:26] FOO: | [11:26] there once was a man from nantucket [11:26] who was very bad at limericks [11:26] makes it all the way through, newlines and all [11:27] Chipaca: sorry, what I was saying is that I don't know if:  command: bin/x $FOO works [11:27] (I suspect not, might be wrong) [11:27] pedronis— no because $ is not in [A-Za-z0-9/. _#:-] [11:27] even if it were [11:28] mikeb_— what version of snapd are you on? (output of “snap version”) [11:29] pedronis— and, no, environment key is applied by snap run, not by systemd [11:30] Chipaca: I don't I understand your suggestion, I mean, it's not a direct transformation [11:30] Chipaca: cannot tunr bin/x "a b" into FOO="a b" bin/x $FOO [11:30] pedronis— mikeb_ is writing a wrapper for a bunch of services [11:31] pedronis— for a single snap to handle ordering of services itself [11:31] Chipaca: snapd 2.23.6 [11:31] as we don't expose ordering [11:31] among other things... [11:31] Chipaca: I think I should give up helping, I don't have context [11:31] pedronis— as such, he's currently taking a bunch of options to his script from the commandline itself [11:32] but we dont' support that (and apparently we've introduced a breaking change around this between 2.23.6 and now? i need to dig a little) [11:32] ah, ok, I though it was tryign to call directly something not under his control [11:32] pedronis— but instead they *could* take it from environ [11:32] yes [11:32] it's probably not as nice [11:33] k? k. [11:33] :-) [11:33] working beats nice, I suppose [11:33] mikeb_— I'm on 2.23.6 as well. something doesn't add up :-/ [11:33] ah [11:33] seems there's confusion around env from yaml working or not [11:33] mikeb_— what's in your *snap.yaml*? [11:33] mikeb_— in prime/meta/snap.yaml [11:34] I have seen an open topic about that [11:34] mup— poke kyrofa [11:34] ah, no ldap [11:34] https://forum.snapcraft.io/t/declaratively-defining-environment-variables/175/3 [11:35] it's 4am for kyle, i'll ask later [11:35] it actually pings you at the end [11:35] that topic [11:35] me? nevah! [11:35] fwiw [11:35] * Chipaca looks [11:35] well Gustavo does [11:35] Chipaca: With the escaped quotes, it seems to be working as I intended. I'm trying to fix some bugs in my test code right now, but the '--cmd' seems to be getting through now. [11:36] mikeb_— i suspect snapcraft might be helping, hence me asking for your snap.yaml :-) [11:41] Chipaca: Sorry, had to deal with an interrupt. snap.yaml on the way. [11:41] mikeb_— no worries [11:41] speaking of interrupts, lunch would be nice sometime [11:41] anyone have any idea why I'm getting this error? [11:41] - Download snap "core" (1577) from channel "stable" (sha3-384 mismatch after patching "core": got 3ca758bb05ff3a422fffa2c02018aaf63909417180b3e902eaddcf0cbc4d4c317bfe26ac5c39567bc69abb94ece0d1e8 but expected cbdff81206101ef7063f2f91a4c3f36e1ad946fe8a809eca4c21fa5335968dfc0c696e5f364cbc9a4c83590aceb3fc15) [11:41] Son_Goku— in tests, or in real life? [11:41] re [11:41] real life [11:41] whee [11:42] I'm trying to do "sudo snap install hello-world" [11:42] snapd 2.23.6 + Fedora 25 [11:42] Son_Goku— you crazy bleeding-edger you [11:42] pedronis: we don't reexec everywhere (reading backlog and responding) [11:42] :-) [11:42] Son_Goku— can you pastebin `journalctl -u snapd`? the bit around the install in particular, not the whole thing :-) [11:43] Son_Goku: I think there's some issue in deltas [11:43] Son_Goku: I saw michael do some changes there today [11:43] zyga— michael's change is around the error, which always mentions deltas even if it's not a delta [11:43] Son_Goku: hey man :) nice to see you today [11:43] hah [11:44] I mean, "aha" [11:44] zyga— you can mean both [11:44] Chipaca: https://pastebin.com/fc9jN3wd - I added prime/command-test-daemonize-notify.wrapper to the end of the paste. [11:44] riiight [11:44] ok, I'll get back to the key issue at hand [11:44] mikeb_— so snapcraft is wrapping things for you [11:44] mikeb_— that's why you're not seeing the error about using quotes in there :-) [11:44] but it's doing a bad job of it [11:45] :-) [11:45] Chipaca, zyga: https://paste.fedoraproject.org/paste/hzxtldZltZyI94LRqVeKr15M1UNdIGYhyRLivL9gydE= [11:45] Chipaca: yes, wrapper for a wrapper for a command. Fun. Doesn't snapcraft always generate wrappers for commands? [11:46] mikeb_— probably, yes [11:46] mikeb_: there's a plan to stop that eventually [11:47] Son_Goku: doesn't look good but maybe because of a network error? [11:47] didn't had problems here switching between different core's [11:47] * Son_Goku shrugs [11:47] how do we compute the has? internally? [11:48] maybe bug in golang that's fixed in ubuntu or maybe different (subtly) output in an external program? [11:48] maybe delta? [11:48] well, we're on golang 1.7.5 on Fedora 25 [11:49] Son_Goku: the reverse may be true :-) [11:49] it could also just be this VM, but I doubt it [11:50] well fuck it [11:50] a reboot fixed everything [11:50] * Son_Goku shrugs [11:51] Chipaca: lol i dunno anymore [11:51] maybe my VM was screwy? [11:51] possible [11:51] seeing some network issues from time to time here [11:51] I could have just been lucky, I guess [11:52] fwiw [11:52] we're getting that error in tests [11:52] occasionally [11:52] i suspect the cdn [11:52] huh [11:52] maybe related, then [11:52] well, that would explain corruption in the core snap download [11:52] mhmm [11:52] and when I tried to fetch it myself, nothing happened :? [11:53] it timed out [11:53] encouraging [11:53] well, it worked this time [11:53] Can someone on 16.04 check if snap:// links work? http://www.omgubuntu.co.uk/2017/02/snap-url-support-coming-ubuntu-software-app-plus-love-news [11:53] so at least it passed the smell test [11:53] Son_Goku— that does not make it better (in fact, the opposite :) ) [11:54] Chipaca: I know :( [11:54] but I'm trying to make sure I didn't screw up everything with my Fedora packaging changes [11:54] ;) [11:54] davidcalle— I'm on 16.04, clicked the snap link, it went to xdg-open, which laughed a very deep laugh [11:55] haha [11:55] actually, this is interesting [11:55] davidcalle— actually it returned 0, no error output, so it seems to *think* it worked [11:55] snapd forced my VM's resolution down to 800x600 [11:55] wtf [11:55] Chipaca, ahaha, ok, no software center popping up? [11:55] davidcalle— correct [11:56] Son_Goku— you need to scale the qubit's strangeness down a notch [11:56] damn quantum-entangled snapd [11:56] Son_Goku: really? [11:57] Chipaca: thanks for the gunea pigging :) [11:57] morphis: yes really [11:57] Son_Goku: do you have the vbox drivers installed? [11:57] it happened the moment the core snap finished installing [11:57] Son_Goku: anything in dmesg/journal? [11:57] no, this is VMware Fusion, so open-vm-tools and regular vmware drivers are used [11:58] Son_Goku: log out and log in without wayland [11:58] I'm using Plasma, with Xorg [11:59] Son_Goku: hmm, then no idea [11:59] Son_Goku: snapd doesn't touch anything X related [11:59] Son_Goku: does it work if you remove snapd and reboot? [11:59] well, everything is fine *after* installing the core snap [12:00] it's just the act of installing the core snap seems to snap the resolution down to what it is when sddm is launched [12:00] davidcalle— oink oink (or, rather, squee squee) [12:00] sddm is Wayland, I think [12:00] sddm? [12:00] sddm, Simple Desktop Display Manager [12:00] from the Hawaii OS (now Liri OS) guys [12:00] it replaced kdm for Plasma 5 [12:01] * zyga says "maaagic" [12:01] no idea, [12:02] Son_Goku: btw. can you check with a gui snap too on KDE [12:02] lol i dunno [12:02] Son_Goku: like krita [12:02] morphis: I'm playing ohmygiraffe :) [12:03] Son_Goku: good, so we're not affected by https://bugzilla.opensuse.org/show_bug.cgi?id=1031501#c3 [12:04] we probably will be once Fedora 25 transitions to Plasma 5.9 [12:05] morphis: Plasma 5.9 tightens the security a little bit [12:05] I'm still on Plasma 5.8 [12:06] it'll probably fail on Fedora 26 KDE, you should try [12:06] Son_Goku: yeah maybe [12:06] Son_Goku: if it does we have a fix for that upcoming [12:06] not 2.24 bur 2.25 maybe [12:06] jdstrand: ping [12:08] morphis, zyga: anyway, I can't give karma for the snapd updates, so I need you guys to do so and find someone get it up to +3 across the board [12:09] and it has to be someone with a FAS account, because anonymous karma doesn't count for karma :/ [12:09] Son_Goku: yes, I gave +1 already [12:09] Son_Goku: you think you can find someone [12:09] I'm going to try [12:11] morphis: zyga's karma was zeroed out, so he has to do it again [12:14] yes [12:14] Son_Goku: I've asked him already but he seems to be under time pressure to get things fixed for 2.24 [12:14] yes, sorry [12:14] np [12:14] it only takes a couple of minutes to hit +1s for everything, since he's already tested it :) [12:14] the clashing names need to be fixed really urgently [12:14] Son_Goku: I didn't really test the new packages [12:15] Son_Goku: I'd like to really test them before +1 [12:15] Son_Goku: (I mean after the next upload) [12:15] the only change is that I added the scriptlet to autostart them [12:15] ah [12:15] well, and I bumped to snapd-glib 1.10, but we can't really test that with anything [12:15] well, I'll +1 after testing it at least once still :) [12:15] that's the point of the process [12:15] right [12:16] I just bundled that update with it because I want the buildsystem error emails to go away... [12:16] err, dependency error emails [12:16] (not talking about glib specifically) [12:17] right [12:18] well, the sooner snapd and snapd-glib hit stable, the sooner that gnome-software can move to using it entirely [12:18] (snapd-glib, I mean) [12:18] because then hughsie will be able to test against it [12:22] pedronis: looking at snap/*.go, we don't seem to validate loaded yaml's [12:23] pedronis: validation is in ReadInfoFromSnapFile but I don't see any calls to that yet [12:24] pedronis: specifically if you look at ReadInfo which is defined just above [12:24] pedronis: we just don't validate it [12:24] pedronis: and ReadInfo is used in readInfoAnyway [12:24] pedronis: which in turn powers CurrentInfo [12:25] pedronis: so this is both good and bad [12:25] pedronis: it's bad for obvious reason, we should validate [12:25] pedronis: it's good that maybe the rollback is "easier" as ... we don't validate [12:25] pedronis: but I'd like to ask you if this is for a reason, the missing validation [12:26] zyga— validation is done on ingestion [12:26] currently [12:27] zyga— which, not as good, we should do it on load, but it's there [12:28] Chipaca: hmmm [12:28] Chipaca: any reason not to always validate? [12:28] zyga— validation needs to be versioned? [12:28] other than that, no [12:28] Chipaca: I also worry that some "fixups" (see broken.go) are done in other places, it feels like this is responsibility for snap/ (package) to hide and do this internally [12:28] zyga— i mean, changing validation means patching [12:28] Chipaca: why? [12:29] Chipaca: patching as in overlord patches? [12:29] zyga— because valid state suddenly can become invalid without it [12:29] zyga— yes [12:29] aha [12:29] morphis: hey [12:29] but we don't store info in state? [12:29] jdstrand: hey! [12:29] Chipaca: so "state" is still valid [12:30] Chipaca: we may just notice disk is (and was) invalid [12:30] jdstrand: I've pushed up an initial version of the Xauthority handling at https://forum.snapcraft.io/t/migrate-x11-authentication-cookies-into-snap-environment/116/10 [12:30] morphis: I'll add it to my list [12:30] jdstrand: and implemented simple parsing of the Xauthority file, is that ok for you to do validation of that file? [12:31] jdstrand: we don't have the xauth binary everywhere so need another way to handle this [12:31] morphis: I think simple parsing is good enough. I mean, X is supposed to handle it itself and we aren't trying to protect the user from herself [12:31] right [12:32] jdstrand: then let me go and prep a PR for this then we can do a proper review [12:32] ok [12:36] niemeyer, your opinion on bug 1674509 (regarding the last four/five comments) would be valuable ... [12:36] Bug #1674509: Unable to find bluetooth device on RPi3 running Ubuntu Core 16 [12:41] Chipaca: Just a follow up. It looks like surrounding my command arguments with escaped quote does, in fact, work as expected. Now I have to figure out why my wrapper'daemonization is not [12:41] working. [13:00] tvoss: some small reviews on the rsa branch [13:02] pstolowski: standup? [13:03] zyga: thanks, looking [13:11] zyga: all we need is one more +1 and then snapd rolls out to stable for F25 [13:11] https://bodhi.fedoraproject.org/updates/FEDORA-2017-37a7331620 [13:11] Son_Goku: just after my standup [13:12] Son_Goku: I'll boot my VMs and try [13:12] Son_Goku: thanks for tracking this! [13:12] excellent [13:12] mhall119: it's happening! :D [13:13] zyga: if you do it quick enough, it might even sync out today! [13:15] Son_Goku: I didn't buy 16GB of ram (it's 250 euro) so I'm still on 4G, with that and firefox and chrome I cannot do it now [13:16] damn [13:30] Son_Goku: testing f25 server now [13:38] * zyga hugs "dnf install --enablerepo=updates-testing snapd" [13:53] morphis: F25 server is good to go [13:54] zyga: great! [13:55] morphis: added my +1 [13:55] going to try F24 while I wait for 26 alpha to download [13:56] zyga: what a wonderful weekend present [13:56] morphis: indeed [14:05] niemeyer: it might be easier to do a separate preparatory branch though, because with these decisions AliasesStatus the type goes ways, that's a boring but big diff in itself I think [14:06] PR snapcraft#1242 opened: kernel_plugin: use CROSS_COMPILE to override the default toolchain [14:06] pedronis: Happy to follow your guidance on how to organize the changes in the easiest way [14:06] SLIGHTLY_UPSET_COMPILE [14:06] niemeyer: thanks, I'll try and see just how big that is and go fromt there [14:11] Chipaca: ? [14:12] zyga— CROSS_COMPILE? [14:12] zyga, that was a reaction to the PR line i think :)# [14:12] ah [14:12] I missed that :) [14:12] (got used to ignoring what humble mup says) [14:14] does ext4 do background initialization [14:14] so you can format quickly [14:14] and it will finish it in the background over time? [14:15] ogra_: Replied in the bug [14:24] zyga, niemeyer: what kind of ubuntu images are you using on Linode as a base? regular cloud images? [14:28] zyga: snapd for Fedora 24 needs +1 karma to go stable: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ce0fdd87a4 [14:28] morphis: we use ubuntu images that were modified to be like vanilla ubunut, that is booting with grub and with ubuntu kernel [14:28] Pharaoh_Atem: 24 is next on my list [14:28] F25 and F26 have the karma to go stable [14:28] so F24 is key now [14:29] Pharaoh_Atem: oh great, I will test 24 and skip 26 then [14:29] I reverted to the initial install snapshot [14:29] so "dnf update" takes a long while [14:30] pedronis: so I'm looking into the BIO mem_buf stuff, encoding the key to a mem_buf BIO fails (not due to insufficient memory). Investigating [14:31] zyga: ok, wondering if we can just use the official openstack debian images as a base and initialize them once via cloud-init [14:31] Pharaoh_Atem: looks like F25 is close now :-) [14:32] Pharaoh_Atem: who is the third one who gave +1 for F25? [14:32] morphis: seems very sensible [14:32] ok [14:32] morphis: decathorpe (Fabio Valentini) [14:33] he's the guy packaging Pantheon Desktop for Fedora [14:33] I asked him to test it out :) [14:33] GL is busted with nvidia on Fedora, though [14:33] it crashed for him when he tried to use ohmygiraffe [14:33] tvoss: ok, I hope it can be made to work [14:34] Pharaoh_Atem: that's expected :/ [14:34] Pharaoh_Atem: we need to redesign that [14:35] * zyga wishes he had more ram and maybe dedicated, non-spare-junk HDD for the VMs [14:36] Pharaoh_Atem: nvidia is still broken? [14:36] Yep [14:37] morphis: yes, there was never support for fedora+nvidia [14:37] Pharaoh_Atem: tell me, is Fabio using drivers from the archive (if so, which package) or from nvidia directly? [14:37] from the negativo17 repository, I believe [14:37] or rpmfusion [14:37] one of the two [14:37] Pharaoh_Atem: ok [14:37] I know how to fix it, just not a high priority (yet) [14:37] and no time (yet) [14:38] first need to get mount world in order [14:38] zyga: feel free to give me pointers for a fix [14:39] morphis: we don't print anything useful on isntall [14:39] morphis: we should say "please log out to get PATH updates" [14:39] or similar useful advice [14:41] morphis, Pharaoh_Atem: there are selinux denials because of loopback mounted snaps [14:41] for the gnome-shell [14:41] :/ [14:42] * Pharaoh_Atem makes a note to set up a Fedora Workstation system [14:42] type=AVC msg=audit(1491576072.251:282): avc: denied { getattr } for pid=1044 comm="gnome-shell" path="/dev/loop-control" dev="devtmpfs" ino=16235 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:loop_control_device_t:s0 tclass=chr_file permissive=0 [14:42] can we correct that from snapd-selinux [14:42] I suspect it should go to gnome-shell selinux directly too [14:43] we cannot [14:43] well, we *could* [14:43] the gnome guys would kill us, though [14:43] :-D [14:43] I think there is a reason why this is denied for gnome-shell [14:43] yeah [14:43] it's out of scope for snapd-selinux anyway [14:43] but why is it trying to do this at all? [14:44] maybe it's probing disks? [14:44] morphis, Pharaoh_Atem: let's file a bug and correct this in the main policy [14:44] Pharaoh_Atem: yes, I suspect so [14:45] type=AVC msg=audit(1491575811.619:770): avc: denied { create } for pid=39655 comm="systemctl" name="var-lib-snapd-snap-hello\x2dworld-27.mount" scontext=system_u:system_r:snappy_t:s0 tcontext=system_u:object_r:systemd_unit_file_t:s0 tclass=lnk_file permissive=1 [14:45] I have 50 selinux denials after installing hello-world and rebooting in workstation [14:45] Pharaoh_Atem, zyga: yeah lets get a bug and lets see why this happens and where we fix the best way [14:45] Pharaoh_Atem: shall I report those on bugzilla now? [14:45] Yes [14:45] kk [14:46] Pharaoh_Atem: on redhat bugzilla, under fedora? [14:46] yes [14:46] component would be the source package name [14:47] ok [14:47] well, at least the snappy denials are occurring permissively :D [14:48] Pharaoh_Atem: yeah but for gnome-shell it is a real denial [14:48] yeah [14:51] zyga: yeah something we need to fix [14:51] morphis: I would love to get rid of the myriad of denials too [14:51] morphis: even if they are in complain mode [14:51] morphis: 100% of the users will see that [14:51] and it's just annoying [14:51] yes [14:52] Pharaoh_Atem, zyga: so do we hold the release back until early next week? [14:52] https://bugzilla.redhat.com/show_bug.cgi?id=1440207 [14:53] morphis: no, I think we can release [14:53] morphis: release, iterate [14:54] zyga: fine for me === larryprice_ is now known as larryprice [14:54] morphis: can you install f25 workstation [14:54] morphis: snapshot it, install snapd + hello-world [14:54] morphis: and file all the bugs (on snapd in bugzilla) for each unique denial [14:55] morphis: it will be a while but I think that's the way to track them [14:55] morphis: I can help this weekend as I was hoping to see something selinux for a while [14:55] morphis: maybe I can squash one or two [14:55] zyga: can do this on monday, for today I want to finish what I have currently [14:56] morphis: ok [14:56] morphis: let me do one as an example [14:57] ok [14:59] Pharaoh_Atem, morphis: https://bugzilla.redhat.com/show_bug.cgi?id=1440208 [15:00] suggestions on how to report those are welcome [15:01] morphis: fixing those might take a while but we should at least fix the majority that may be as easy as a few extra rules in the policy [15:01] yeah [15:01] ok, booting f24 now [15:01] zyga: can you add them to https://trello.com/c/Fvtml6A1/26-fedora-fix-selinux-denials ? [15:01] zyga: the bug links I mean [15:02] morphis: trello [15:02] morphis: no, trello is dead [15:02] zyga: it isn't :-) [15:02] that is for my cross-distro work [15:02] nothing else [15:02] morphis: let's be consistent [15:02] morphis: if anything use the forum [15:03] zyga: lets not discuss this here, this has a different scope but I am fine with a forum post for this too [15:04] morphis: + [15:04] morphis: +1 [15:10] zyga: are you able to give the F24 update a +1 yet? [15:10] Pharaoh_Atem: yes, now mid way dnf update [15:10] Pharaoh_Atem: at 335/763 updates [15:11] * Pharaoh_Atem is trying to beat the clock for when bodhi mash starts [15:11] Pharaoh_Atem: when is that? [15:11] Pharaoh_Atem: I will be ready in 10-15 minutes [15:12] (437 now) [15:12] I don't know [15:12] it's usually around now [15:12] aha [15:12] well [15:12] if we miss it, when is the next one? [15:12] daily [15:12] ? [15:12] lemme check [15:12] thank you [15:13] pedronis: I'll take a quick break [15:13] 500/763 updates [15:14] some updates are bigger than others... [15:14] thanks for implanting sesame street music in my head now... [15:15] zyga: it's irregular, but it happens about once a day [15:15] 620 now [15:15] still more than 10 minutes away I suspect, then all the disk IO starts and reboot and more installs [15:16] you know, you didn't have to do a full update... [15:16] this is f24 vanilla iso install [15:16] I wanted it to be more realistic [15:16] oh dear [15:16] wow [15:16] you reset all the way back to GA? [15:16] (as I said, snapshot :) [15:16] 741 now [15:18] DRPMs now === JanC is now known as Guest75772 === JanC_ is now known as JanC [15:25] pstolowski: I tried quickly, the issue is simply that json doesn't work with map[interface{}]interface{} [15:26] (even if the value have correct types) [15:27] pedronis, yes, in fact json spec says only strings can be used as keys [15:28] heyyy guys [15:28] any help on this error? cannot create user data directory: /nfs/home/jcarreira.it/snap/vlc/x1: Read-only file system [15:29] jfmcarreira: hey [15:29] jfmcarreira, looks like you are not trying to write to $SNAP_DATA but to $SNAP [15:29] to put your home directory on NFS you need to do some extra things [15:29] jfmcarreira: there's a bug report with details on launchpad [15:29] (or rather $SNAP_USER_DATA in your case) [15:29] oh [15:29] jfmcarreira: I cannot find it now (busy) [15:29] ignore me [15:30] jfmcarreira: but quick suggestion: [15:30] zyga, is right [15:30] jfmcarreira: for now you will have issues with network denials and this is a kernel/nfs limitation [15:30] jfmcarreira: if you --bind mount your home directory under /home/ you will have a better experience [15:30] jfmcarreira: but it won't work really [15:30] pstolowski: yes, but this is an implementation detail, it could go over the key and still do the job if they are strings, but it doesn't [15:30] pstolowski: anyway wrote a bit more in the forum [15:32] pedronis, ty [15:37] zyga: ok thanks for the help.. but i only have ubuntu on a NFS system [15:39] Pharaoh_Atem: finally updated [15:44] hmm, I don't get tab-completion on fc24 [15:45] morphis, Pharaoh_Atem: we don't install tab completion files [15:45] do we have tab completion files to install? [15:46] Pharaoh_Atem: yes [15:46] Pharaoh_Atem: yes [15:46] Pharaoh_Atem: I do that in suse [15:46] Pharaoh_Atem: it's just one file really [15:46] well gee, I wish I had known :/ [15:46] Pharaoh_Atem: no bad, lets do it with the next release :-) [15:46] Pharaoh_Atem: (and thanks to Chipaca's magic) they will now tab complete into snaps with confinement (really nice code to read) [15:47] *blush* [15:47] * zyga hugs Chipaca [15:47] really great stuff! [15:48] Pharaoh_Atem: +1 to release [15:49] doesn't help me here :) [15:49] https://bodhi.fedoraproject.org/updates/FEDORA-2017-ce0fdd87a4 [15:49] Pharaoh_Atem: I was typing it there already :D [15:50] Pharaoh_Atem: saved [15:50] Pharaoh_Atem: after this is out I'll gladly get my feet wet and make a few trivial suggestions [15:50] Pharaoh_Atem: do we need +3 for F24 / F26? [15:50] nope [15:51] I lowered the karma req so that they'd all make it [15:51] ok [15:51] though feel free to add feedback there too :) [15:51] I'll test 26 now [15:51] and EOD [15:51] okay [15:51] the 2.24 issues are for next week or this evening, I have some ideas but too taxed mentally today [15:52] oh one more thing [15:52] Pharaoh_Atem, morphis: do you have any fedora booted? [15:52] I just shut down to install 26 [15:53] what does "snap version" say? [15:53] is it correct? [16:02] Pharaoh_Atem: release release release [16:07] zyga: looks like it already mashed... https://bodhi.fedoraproject.org/masher/ [16:07] :( [16:08] zyga: it'll mash again early tomorrow, I think [16:08] though it may happen earlier, who knows [16:09] Pharaoh_Atem: that's fine [16:09] Pharaoh_Atem: so once this is out can we do the tab completion and some tweaks over weekend? [16:10] zyga: yeah [16:10] Pharaoh_Atem: great, I'll do that [16:27] PR snapcraft#1240 closed: cli: improve push output [16:29] niemeyer: hi! :) re 'I'd put that ahead of pretty much anything else'> were you talking to me or Sergio? [16:29] Oops.. fixing :) [16:30] ok. I'll get to that other bit. it is slowly moving up the list [16:30] Thanks [16:36] PR snapd#3155 opened: snapstate: simplify AliasesStatus down to just an AutoAliasesDisabled bool flag (aliases v2) [16:37] * zyga takes a break now [16:39] niemeyer: created snapd#3155 and then used it to simplify snapd#3087 [16:39] PR snapd#3155: snapstate: simplify AliasesStatus down to just an AutoAliasesDisabled bool flag (aliases v2) [16:39] PR snapd#3087: overlord/snapstate: introduce tasks for aliases v2 semantics with temporary names for now (aliases v2) [17:09] pedronis: Thanks! [17:46] pedronis: Tests filaed on 3155.. the issue mvo reported with checksum problems on partial downloads [17:46] Retrying [17:46] thanks [17:47] zyga: https://paste.ubuntu.com/24335332/ doesn't look bad for the first day working on this :-) === chihchun is now known as chihchun_afk [18:03] Taking a break [18:13] Is it possible to install Ubuntu Core without an Ubuntu One account? [18:18] Guest123, install, yes. SSH into, no [18:30] Is it possible to install Ubuntu Core without an Ubuntu One account? === elfgoh__ is now known as elfgoh [19:58] sergiusens_, hi, i added some details to bug 1675479. i have a work around but i'm not sure what's different in our environments that you weren't able to reproduce. [19:58] Bug #1675479: python plugin doesn't work for namespace packages [19:59] sergiusens_, probably can lower that from high though since i have a workaround [20:30] okay, when using unsafe.Pointer, is ownership transferred to the go runtime? [20:30] s/unsafe.Pointer/C.GoBytes/ [20:56] pedronis: done,just updated the PR with changes to avoid file operations [20:59] sabdfl: fyi, I already started poking at wayland: https://forum.snapcraft.io/t/wayland-dconf-and-xdg-runtime-dir/186/2 [21:00] sabdfl: I've got gnome/wayland now running on my laptop and plan to work on the initial interfaces [21:01] jdstrand, nice [21:02] sabdfl: (fyi based on backscroll from earlier today) [21:03] it's kinda interesting cause snaps with gnome/wayland/portals should be a nice desktop security story [21:09] PR snapcraft#1243 opened: tests: update the location of the upstream retry autopkgtests script [21:19] hi jdstrand, thank you [21:19] yes i think we can bring those two ideas together very neatly [21:20] portals bear a startling resemblance to helpers so all the concepts are in place [21:20] and i'll be glad to have snaps be first class across all the major desktops [21:20] indeed [21:21] and they do bear a startling resemblance to helpers-- they were clearly inspired by our work :) [21:29] sabdfl: are you taking about the flavors? [21:30] ahoneybun, and upstream [21:30] right other distros too then [21:31] * ahoneybun dreams of a snap that can detect the desktop (gtk, qt) and change the UI to that [22:15] PR snapcraft#1243 closed: tests: update the location of the upstream retry autopkgtests script === jgrimm is now known as jgrimm-away [22:39] anybody know how to set dns servers on core 16?