[01:25] PR snapcraft#1340 closed: state: save all the build packages as global [01:28] PR snapcraft#1343 closed: go plugin: Cross compile with CGo [02:10] PR snapcraft#1358 opened: release changelog for 2.31 [02:12] Is it possible to install snap on Arch Linux without pacman? [02:12] Such as through a .tar.gz file? === chihchun_afk is now known as chihchun [06:04] mvo: would be awesome if you can look at https://github.com/snapcore/snapd/pull/3365 again this morning and if you're ok, merge it now that niemeyer approved it [06:04] PR snapd#3365: tests,packaging: add package build support for Fedora for our spread setup [06:04] CI is already green [07:07] good morning [07:19] PR snapd#3443 opened: Unity7 interface grows gtk2/3 settings and user's specific ini [07:27] fgimenez: 2.26.4 is in -proposed now everywhere, could you please kick of the SRU verification? [07:29] mvo: sure! on it, the automated tests were actually triggered a few days ago but there was a problem in the logic that determines the release branch to execute the tests from https://travis-ci.org/snapcore/spread-cron/builds/238479940#L300 i'll fix that and retrigger [07:31] fgimenez: thank you [07:32] mvo: np i'll begin too with the changelog review, will keep you posted [07:36] morphis_: do you happen to know if the "proxy" helper is installed on fedora/suse by default? [07:38] mvo: btw i see that the deb was detected in -proposed about 6 days ago, is that correct? has it been updated since then? (just to make sure that we are detecting changes in proposed correctly) [07:41] fgimenez: updates arrived yesterday [07:41] fgimenez: 6 days looks not quite right [07:42] mvo: ok thx i'll take a look [07:42] fgimenez: https://launchpad.net/ubuntu/+source/snapd has the exact times, ~21h ago [07:43] flexiondotorg: cholcombe and I have already done some poking around on https://github.com/rust-lang-nursery/rustup.rs/issues/1144 [07:47] mvo: ok thanks, in spread-cron we are currently watching http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html (interestingly there's no snapd in that page now, and it seems that it was there 6 days ago..), i'll update it to look into https://launchpad.net/ubuntu/+source/snapd [07:55] mvo: proxy helper? [07:55] morphis_: its a binary from libproxy called "proxy" [07:55] ah, let me check [07:55] morphis_: is that there by any chance? [07:56] not installed by default [07:56] but libproxy-bin provides it [07:56] let me try [07:56] morphis_: if its not there by default, thats all I need to know. that is on fedora or suse? [07:56] mvo: fedora 25 [07:56] mvo: let me try suse [07:57] morphis_: thank you [07:57] mvo: if you're adding a dependency can you add it for suse and fedora in packging too? [07:58] morphis_: I will explore it a bit, maybe dlopen(libproxy) is fine [07:59] mvo: is that for adding proxy support system wide? [07:59] mvo: libproxy-tools it is on suse and not installed by default [08:01] interestingly proxy itself doesn't look at the usual env vars [08:01] morphis_: yeah [08:01] Chipaca: oh? that sounds very wrong [08:01] ¯\_(ツ)_/¯ a matter of looking at the env and falling back to libproxy i guess? [08:02] morphis_: I talked to Son_Goku yesterday and he mentioned that fedora is not setting the systemwide proxy via environment but instead uses network-manager and the best option to talk to it seems to be libproxy [08:02] Chipaca: indeed [08:02] mvo: yeah libproxy looks really good for this [08:02] Chipaca: it will also mean we need to (potentially) create a new http.Client{} for each request as the proxy is per-url in this model [08:03] http.Transport [08:03] but yes [08:03] morphis_: the cheapest option is the exec.Command("proxy", url).Output() but adding a dependencies feels slightly ugly [08:03] Chipaca: yeah, sorry, a transport into the client of course [08:03] it's terrible that after decades of broad deployments proxy support in linux is not in libc [08:04] and everyone has to muck around with their special little snowflake [08:04] mvo: implementing our own libproxy isn't much better, isn't it? [08:04] (contrasting other platforms that do this right) [08:04] zyga: yeah, bionic has this AFAIK [08:05] morphis_: of course not :) sorry, what I mean is adding a hard dependency, I was curious to see if we could just dlopen(libproxy) and just ignore if its not there [08:05] mvo: however, how would applications get the proxy configuration? [08:05] mvo: ah [08:05] why not [08:07] morphis_: looking again it is probably ok nowdays, it used to be heavy on further dependencies but it seems like all of those are now pulled in via plugns. to support "pac" proxy configuration a JS interpreter is needed iirc [08:07] mvo: the biggest problem i see with all this is the "here's a list of proxies, try them in order" idea [08:08] Chipaca: hm, we could simply not support that (initially at least)? [08:08] mvo: also note proxy can return something that looks like socks://.... [08:08] lel [08:08] Chipaca, morphis_: thinking about it some more I guess we need to call an external helper or we pull in cgo again into the deamon [08:08] Chipaca: yeah [08:09] * mvo scratches head [08:12] this sounds like *fun*! [08:17] mvo, zyga: I would like to get https://github.com/snapcore/snapd/pull/3365 merged now [08:17] PR snapd#3365: tests,packaging: add package build support for Fedora for our spread setup [08:19] * zyga looks [08:22] mvo: one more fun thing about using libproxy [08:23] it brings lin libstdc++ [08:23] hmm [08:23] ogra@sabrelite:~$ snap info core |grep refreshed [08:23] refreshed: 2017-06-08 04:24:21 +0000 UTC [08:23] ogra@bbb:~$ snap info core|grep refreshed [08:23] refreshed: 2017-06-07 04:23:44 +0000 UTC [08:24] why is that different ? isnt the refreshed value coming from the server ? [08:24] no, that's refreshed as in the device refreshed [08:24] I think [08:24] that doesnt match uptime [08:25] 4:20 UTC is actually the time the cron job runs for armhf [08:25] so that should be generation time [08:26] oh ... but the bbb didnt refresh ... it is the generation time of the currently installed snap [08:28] morphis_: merged [08:28] Chipaca: yeah, ugly but we also have that I think [08:28] zyga: you're my hero! [08:29] PR snapd#3365 closed: tests,packaging: add package build support for Fedora for our spread setup [08:29] mvo: have that where? [08:29] zyga: lets wait until the suse one finishes then we can merge that one too [08:31] Chipaca: in the core snap [08:31] Chipaca: libstdc++ I mean [08:31] mvo: ah! i meant into the snapd binary itself [08:31] mvo: ok to land the --base branch? [08:32] Chipaca: yeah, I think we don't want this directly, probably via helper [08:33] zyga: which one? 3439? or the older 3317 ? [08:33] 3439 [08:34] zyga: it needs reviews first, no? I will do the first review next [08:34] icey Excellent! [08:34] mvo: yes, I meant that I wanted you to review it :) [08:34] zyga: aha, yes, will do [08:34] why does build.snapcraft.io needs access to organizations? [08:34] iliv, to put webhooks into the tree [08:34] iliv: for hooks [08:35] (well, endpoints( [08:35] well.. [08:35] my account has access to a number of organizations that have nothing to do with my repos that I'd like to use with build.snapcraft.io [08:36] iliv: I see, I think it would make sense to allow partial access to just the things that are needed [08:37] I kinda trust you people but most of those organizations will not be happy seeing build.snapcraft.io having access to their accounts [08:38] it is only needed to put the hook in place once though ... [08:38] theyx could turn it off afterwards (i know that doesnt help much in most cases) [08:40] so, what exactly will be done to those organization accounts? [08:40] you say a webook will be created.. but in which repo (if there are more than one)? [08:41] * ogra doesnt know the tech details, perhaps cjwatson can help [08:49] iliv: the github access page lets you control this on a per-org basis; you don't have to grant access to all your orgs. build.snapcraft.io will only install a webhook in repositories that you specifically enable there. [08:49] mvo: zyga Chipaca can we land snapd#3348? it has two +1 and is almost green (just an autopkgtest failure due to the reexec flakiness), it will fix two nightly suites and unblock the spread-cron branches for executing the core-revert test automatically [08:49] PR snapd#3348: tests: add core revert test [08:51] PR snapd#3348 closed: tests: add core revert test [08:51] and in fact the org access is only needed so that BSI can list org-owned repos through the github API; there's a separate permission for installing webhooks [08:51] mvo: thanks! :) [08:51] cjwatson, I can't control it, though. All I see is a green check mark against organization name and it is not interactive. [08:51] (we ask for admin:repo_hook read:org, in the github scopes language) [08:52] iliv: you can control it on https://github.com/settings IIRC (I would check more specifically but my internet connection is being unusually terrible today) [08:53] fgimenez: looking [08:54] fgimenez: that PR had my upublished review [08:54] darn github [08:54] iliv: oh, I think if it's just a green tick then that's because the org owner has allowed it [08:54] iliv: we don't get to control any of this stuff, it's all up to github [08:55] fgimenez: can you please look at the PR again? [08:55] https://help.github.com/articles/about-oauth-app-access-restrictions/ has some more details [08:57] zyga: sure, thanks! i'll prepare a follow addressing your comments [08:57] fgimenez: thank you, I'm sorry I didn't realize I never submitted this review [08:58] the snap-confine-from-core and the other re-exec tests keep failing randomly [08:58] I don't remember any branch that didn't fail on this in the past week [08:59] I'll try to figure out WTF is going on there :/ [08:59] PR snapd#3370 closed: many: derive implicit slots from interface meta-data [08:59] thank you zyga, i think sergio is also lookign into it [09:00] anyway, as far as I can tell we ask for the absolute bare minimum that we need to install webhooks and see any org-owned repos at all [09:02] does anyone know of a vim extension that would add a tab to an exsiting vim whenever vim is invoked from command line but another process exists somewhere? [09:03] cjwatson, yes, it seems to work like you said. kinda weird... [09:06] mvo, zyga: approval and a merge of https://github.com/snapcore/snapd/pull/3406 would be nice :-) [09:06] PR snapd#3406: tests,packaging: add package build support for openSUSE [09:10] morphis_: looking [09:10] PR snapd#3444 opened: interfaces: compose the base declaration from interfaces [09:10] morphis_, mvo: can you please look at 3444 [09:11] zyga: sure [09:11] morphis_: can you merge master into 3406? [09:11] zyga: I did this 45min ago [09:12] morphis_: merging it now would shorten the diff [09:12] sure [09:12] morphis_: correct me if I'm wrong but I still see the fedora changes there [09:12] I merged before the merge of the fedora branch [09:13] isn't travis doing an automatic merge with master when it runs? [09:13] zyga: but merge now [09:13] morphis_: it's optional [09:14] morphis_: and we don't do it [09:16] zyga: shouldn't travis fail when a merge with master breaks any tests? [09:18] zyga: base snap branch looks good [09:18] morphis_: well if the run is old you don't know because master has moved [09:19] pedronis: right but at the point where travis starts, shouldn't it start testing from a combination of master + branch? otherwise test results will always be a lie if master has evolved [09:20] it does afaik [09:20] ok [09:20] but we might still break master because the check is not done on the merging [09:23] mvo: thanks! [09:23] Chipaca: can you do a 2nd review so that mvo can iterate on base snaps? [09:24] morphis_: github has a setting where you can enable a check that disables merging if master has moved [09:24] morphis_: bue we're not using it [09:24] morphis_: as it requires a rebase-based workflow [09:24] * zyga hugs rebase [09:24] zyga: reviewed #3444 [09:24] zyga: I see [09:26] zyga: on which pr? [09:26] Chipaca: on 3439 [09:29] PR snapd#3439 closed: cmd/snap-confine: add support for --base snap [09:29] morphis_: reviewed [09:33] PR snapd#3445 opened: tests: add linode-sru backend [09:34] morphis_: updated [09:34] zyga: ok [09:45] morphis_: sorry for being so picky about those comments but I think it is essential [09:45] morphis_: in a few weeks nobody will remember why fedora or suse is not included in a given test [09:47] zyga: commented on all and fixed most [09:47] zyga: np, but basically we have all test cases disabled right now [09:47] that is why we switched from a blacklist to a whitelist approach [09:47] morphis_: thanks, ping me and I'll re-read it [09:48] a followup PR will clean this up and enable most tests [09:48] zyga: ping :-) [09:48] aha :D [09:48] reading then [09:49] thanks [09:53] zyga: approved #3444, thanks for doing the cahnges! [09:53] morphis_: thank you! [10:03] morphis_: re-reviewed [10:03] morphis_: fix one typo and +1 [10:07] morphis_: some heavy conflicts on 3411 [10:10] zyga, hmm [10:11] "On core systems we don't pivot_root and that [10:11] has to change before base snaps are fully operational" [10:11] zyga, can we make sure to get proper ram usage statistics before implementing such a thing (or do i mis-read that ... you want to exec every snap on a core install in pivot_root ?) [10:13] PR snapd#3446 opened: errtracker: Include /etc/apparmor.d/usr.lib.snap-confine md5sum in err reports [10:16] ogra: yes, this is required for base snaps [10:16] ogra: core and classic will behave (finally) exactly the same [10:16] zyga, well, why do we need base snaps on core installs ... i though they are a lib layer on top of core [10:17] ogra: no, they are not [10:18] ogra: base snaps are needed so that we can run snaps that use base snaps (which will soon be most snaps, I think) [10:18] zyga, in any case we are supporting embedded boards and i suspect pivot_root means there will be more copies of libs and env in ram that we should really measure before [10:18] ogra: base snaps, roughly, will just use snaps other than core as the root filesystem [10:18] right, so whats the use case on a core install for that ? [10:18] ogra: note that we will have less things in the core snap this way [10:18] ogra: *every* snap will use a base snap [10:19] ogra: have you been following the base snap discussions on the forum/ [10:19] not closely the last days [10:19] ogra: core will become a snap with just snapd in it [10:19] but that sounds really awkward for low end [10:19] ogra: and what is currently in core will become ubuntu-16 base snap [10:19] ok [10:19] ogra: it is required for 16-18 migration [10:19] that is what i grokked before [10:20] ogra: and to allow running snaps with different bases on one system [10:20] but that you plan to pivot_root each and every snap is new to me [10:20] ogra: how would those work otherwise? [10:20] or that you want to support different base snaps on some 256M 200MHz IoT board installs [10:20] ogra: yes, we don't want to have 2nd class devices that don't support an essential feature [10:20] by simply merging the rootfs on boot [10:21] what do you mean by merging? [10:21] and keeping the snaps as they are without duplicating the world in ram [10:21] why do you think we'd be duplicating something in ram? [10:21] PR snapd#3447 opened: debian: unify built_using between the 14.04 and 16.04 packaging branch [10:21] merge core and base on booot ... execute natively [10:21] like we do today ... just with an additional split of the snapd bits into another snap [10:22] fwiw, libraries are mapped into ram based on inode number, if that stays the same nothing will be duplicated (someone needs to double check that) [10:22] if you want to go that route that really should see some measurements [10:22] ogra: I'm open to suggestions but IMO there is no other route [10:22] (double check that the inode number stays the same, the mmap mechanism is well understood) [10:22] * zyga checks [10:22] mvo, thats what i'm saying ... not saying it is wrong or anything but on that low end we shouldnt operate without ameasurments and data [10:23] *measurements [10:23] i'm sure pivot_root will have overheard, the question is if that is bytes or megabytes [10:23] *overhead [10:23] inode number is the same [10:24] ogra: why would pivot_root have overhead? [10:24] because it wraps around something, it is an additional layer [10:24] I don't think that's true [10:24] it's a chroot on steroids [10:24] yes [10:25] (kind of) [10:25] ogra: the only overhead is that as core and bases diverge we will see extra copy of libc used by the few services in the core snap, for everything else they will operate exactly the same as today [10:27] zyga, well, still, it would be good to measure the differences between with and without pivot_root regarding system resources ... we're in embedded territory here ... [10:27] ogra: that I agree with [10:27] ogra: it'd be good to come up with a benchmark we can repeat [10:28] well, just measure rem and cpu usage for the same app snap in both cases [10:28] *ram [10:28] ogra: specific snap (revision), specific board, specific script [10:28] sure [10:28] so that we can just run this via spread and stay aware [10:29] well, not needed to do it regulary ..… thats simply stuff you should research before coming up with such an implementation ... once you know if there is a difference and how big it is thats enough [10:29] it wont change over time so doesnt need to be a regular test [10:33] ppisati_, do you have a sabrelite ? [10:36] ppisati_, i'm seeing weird console distrotion when i boot with hdmi and console=tty0 with the current linux-generic from xenial [10:36] ogra: note that we came up with pivot_root last year, this is nothing new [10:37] ogra: given what we need to do there's no other way to implement base snaps [10:37] ogra: I suspect we actually use less memory now as before persistent mount namespaces *each process* would independently pivot_root [10:38] zyga, well, we get along without base snaps today ... and merging core and base on boot with keeping the native execution would work too ... core specific indeed [10:38] zyga: fixe [10:38] ogra: no it would not work because the whole idea of base snaps is to have more than one [10:39] zyga, note that i'm not saying anything is wrong though ... but we should have numbers before jumping ahead with implementation [10:39] ogra: so you cannot use your current rootfs as the rootfs for snaps [10:39] zyga: either we way we likely need a root filesystem, there still the question what really goes into core vs base [10:39] pedronis: I agree, I think this will clear up as we come closer to the sprint [10:40] zyga, we do that today ... and why would you want to support multiple base snaps on super-low-end devices ? [10:40] i always understood that this is not wanted for ubuntu core [10:40] ogra: we cannot do that once we have more than one base snap [10:40] ogra: and we want to have more than one base snap so that we can transition to 18 series [10:40] sure we can ... we can restrict what can be installed on a core installation [10:40] ogra: and to allow other distributions to equally participate in the snap distribution [10:41] ogra: if we restrict we will have to have a flag day for 18 transition and we don't want that [10:42] ogra: nope, i don't have one [10:42] ogra: what is that? [10:42] imagine you have something like a beaglebone, your ram is limited, your cpu is limited ... do you really want to allow people that install three snaps to have three oses running on that setup because the three snaps use three different bases ? [10:42] zyga: notice also that because of the configure hook the core snap will need a base snap too [10:42] ogra: yes, if that's what those people want to run I don't want to stand in their way [10:42] ppisati_, they renamed it to nitrogen6 ... its an IMX board [10:42] (at least the configure hook is a likely reason to need one) [10:42] pedronis: configure hook for which snap? [10:42] for teh core snap [10:42] the core snap has a hook [10:43] nowadays [10:43] pedronis: right, I was just checking [10:43] zyga, well, then we can simply give up on IoT boards will just come to hang and crawl with that [10:43] pedronis: yes, it is likely that the core snap will be special cased to be its own base snap [10:43] ogra: I doubt that [10:43] zyga: well that start to be weird [10:44] I fear duplication then [10:44] duplication of? [10:44] stuff that needs to be in the core snap and the base snap [10:44] like python or something [10:45] pedronis: the good thing that base snaps will allow us to do is to almost freely shape the core snap [10:45] not really [10:45] pedronis: as it will no longer affect how anything runs [10:45] if the core snap isn't really minimal [10:45] zyga, well, if i install the mysql snap from that fedora guy, along with the webserver snap from this arch guy on top of my ubuntu core board, i end up with three OSes on disk and in ram [10:45] pedronis: the initial ubuntu-16 will fork from the current core (snaps snapd) [10:45] zyga, thats definitely not feasible [10:45] ogra: yes but this is what you _wanted_ [10:45] ogra: if you don't want to do that, don't do that [10:45] zyga, how did i know ? [10:45] ogra: or get the stack from one vendor [10:46] ogra: snap info will tell you that [10:46] zyga, you are saying that a user of our SW should know the source in and out ? [10:46] ogra: anyway, I think this discussion is moot now [10:46] and why would i look at snap info [10:46] ogra: same could be said for base-16 and base-18 [10:46] all i wanted was the webserver to act as frontend to a mysql db ... [10:47] on my $mini-board [10:47] so i just picked the packages ... done [10:47] and then notice that the whole thing eats my disk and ram [10:47] zyga: anyway there's a problem that likely some core snap config should be part of a base snap configure, but that concept doesn't make sense [10:48] pedronis: can you give me an example? [10:48] we could surely make that an optional switch to allow additional base snaps ..… but thats definitely nothing we should have OOTB [10:48] pedronis: I suspect that base snaps won't have much configuration at first [10:48] where would sshd live? [10:48] pedronis: in the base snap [10:48] see [10:48] er [10:48] core snap [10:48] unless we start to allow apps and services on base [10:49] see [10:49] which is something we never discussed [10:49] base snaps won't have any configuration intially because they won't run any services [10:49] where else would system services live ? [10:49] in the core snap it seems [10:49] err [10:49] if we choose to move them to a blessed base snap [10:49] but I think we also had a different vision [10:49] we could do that [10:49] where the core snap was mostly just snapd [10:49] and its deps [10:50] <_28Kb> services must be snaps i guess [10:50] ogra: core will become a snap with just snapd in it [10:50] pedronis: yes, but that is the road ahead, for now we can start with just a copy of the current core as core and base and then trim them as we go [10:50] so the system services must be in the base snap [10:50] ogra: _will become_ :) [10:50] (in that setup at least) [10:50] well or we have a services snap [10:50] ogra, mvo could we move forward https://github.com/snapcore/core-build/pull/13 ? [10:50] PR core-build#13: Androidboot support [10:51] I think it is all doable but we need to discuss one more thing at the sprint: if we are going to get rid of bootable bits from the core snap [10:51] well [10:51] we cant get rid of them ... we can probably move them around though [10:51] it those go to a new helper snap (ubuntu-core maybe) then this will resolve other questions [10:51] that's what I meant [10:51] then on classic systems you'd need base snaps only [10:52] not even core or ubuntu-core [10:52] on systems that re-exec you'd pull in core and base snaps [10:52] and on core systems we'd pull in everything [10:52] * ogra isnt so worried about the resulting rootfs and how we assemble it, thats all easily solvable [10:52] but the "multiple base snaps allowed" is really bothering on core [10:53] ogra: do you have a plan for 18 transition? [10:53] thats fine if you have endless ressources like on a PC [10:53] zyga, allow exactly one base snap [10:53] ogra: that doesn't involve running both 16 and 18 snaps at the same time? [10:53] or allow two ... still better than "any" [10:53] ogra: that's one way to make sure nobody can transition until *everything* has a 18 snap as well [10:53] ogra: if we allow two we might as well allow any [10:54] ogra: until we measure and show this is terrible (doubtful) I think this is not a thing worth discussing now [10:54] what i really dont like is that you end up with the fedora, arch, suse base snaps being pulled in silently when installing some app snap [10:54] (on core that is) [10:54] ogra: we could lazily mount snaps to save memory (keep old revisions unmounted) [10:55] ogra: it's just like docker really, but more integrated and better [10:55] zyga, you will still have multiple libs and envs in ram [10:55] ogra: we can put confirmations in place but it doens't change that users are in control [10:56] core should simply be restricted by default to only use ubuntu base snaps (16 and 18 if you feel thats needed) [10:56] but using foreign bases should be a switch rthat is disabled by default [10:56] we have very limited resources on core [10:56] and that implementationm is very wasteful [10:57] (and did you wonder why people dont run their whole OS in docker n raspberry pi's ? :) ) [10:58] a second review for https://github.com/snapcore/core/pull/48 would be great [10:58] PR core#48: add support for `snap set core proxy.{http,https,ftp,all}` [11:16] mvo: some comments there [11:16] zyga: ta [11:18] mvo: don't mind the -1, just a voice of concern for the hook [11:18] mvo: do you think we could write it in go instead? [11:19] mvo: you know (remember) better the discussion around that AFAIR [11:21] zyga: well, I wrote it in python but that got shoot down, I can give it another go in go. it just a bit of work [11:22] zyga: and yeah, no disagreement that sh sucks for this kind of things [11:22] mvo: what was the reason for the python _1? [11:22] oho [11:22] zyga: there is a forum discussion [11:22] zyga: that has the discussion [11:23] look at this [11:23] https://travis-ci.org/snapcore/snapd/builds/240716712?utm_source=github_status&utm_medium=notification [11:25] https://paste.gnome.org/pvdpi4vbu [11:26] some crazy linode stuff is going on there [11:27] fgimenez: ^^ did you ever see a failure like that? [11:29] zyga: happy to merge https://github.com/snapcore/snapd/pull/3406? [11:29] PR snapd#3406: tests,packaging: add package build support for openSUSE [11:29] zyga: nope, seems that the linode api stopped working for a while and started returning html instead of json, anyway "Our development team has been alerted to this error. If you continue to have problems please contact support support@linode.com" [11:34] morphis_: we need a 2nd review but yes [11:35] mvo: you have time for second review on #3406? or fgimenez? [11:40] PR snapd#3438 closed: daemon: make snapd a "Type=notify" daemon and notify when startup is done [11:47] Pharaoh_Atem: can you have a look at https://github.com/snapcore/snapd/pull/3398 ? [11:47] PR snapd#3398: env: set XDG_DATA_DIRS for wayland et.al [11:47] Pharaoh_Atem: is there some better place in Fedora to do this kind of thing? [11:48] morphis_: there's a new systemd thing [11:48] zyga_: you have a link? [11:48] yes, one sec [11:48] new as in too old for 14.04? [11:49] 16.04 I mean [11:51] morphis_: starting with systemd 233 you can use /run/environment.d/ http://in.waw.pl/~zbyszek/blog/environmentd.html [11:51] interesting [12:00] cachio_: some comments on 3409 [12:23] mvo: I +1 3317, if you can get a 2nd review (perferrably from niemeyer as it affects snap.yaml syntax) I'd love to have it [12:23] mvo: I also wonder about the tech review board [12:23] mvo: we should get an approval from them from snap format changes, right? [12:23] mvo: but I wouldn't like to block R&D on that [12:24] mvo: perhaps we can create a branch (say base-snaps) where we land things in anticipation of the sprint [12:24] mvo: where we can prepare and brew enough of this to run a base snap for real [12:24] mvo: and get the experience and measurements we need [12:24] zyga_: good point, we need approval from niemeyer at least [12:28] ok, since nothing can land because of reexec mystery I'll look at that instead of anything else now [12:28] * ogra glares ... [12:28] ogra@anubis:~/datengrab/hikey-lemaker$ ls /mnt/ [12:28] dtbs hikey-kernel_0.snap install.yaml snappy-system.txt uboot.env [12:28] wow [12:29] so thats an all-snap image ... but using an install.yaml for ubuntu-device-flash [12:29] kind of a hybrid between actual all-snap and old a/b partition setup [12:32] (and uboot.env is full of snappy_* variables ... this will explode really badly on first upgarde i guess) [12:32] (if it would even upgrade at all ... it installs ubuntu-core 111 ) [12:37] pstolowski: hey, I added some comments to 3340 [12:38] zyga_: i'm getting this error on 14.04 with the 2.26.4 deb installed http://paste.ubuntu.com/24807633/ (executing the tests from the release/2.26 branch) could you please take a look? [12:38] sure [12:38] looking [12:38] fgimenez: which kernel are you on? [12:39] zyga_: aah let me check, probably an old one, the new kernel debs should be in place but the reboot didn't happen [12:39] zyga_, nice [12:39] zyga, thanks, looking [12:40] zyga_, the 3433 is ready if you have a minute [12:40] cachio_: sure, I'm doing PRs anyway (while chasing the re-exec bug) [12:51] zyga_: indeed, it had installed 4.4.0-79 but was still using 3.13.0-119 http://paste.ubuntu.com/24807695/ trying now with a reboot after the upgrade, thanks! [12:52] fgimenez: my pleasure, I may add a feature to snap-confine to bail out with a nicer message === chihchun is now known as chihchun_afk [12:54] cachio_: +1 [12:54] zyga_, awesome [12:54] cachio_: did you trace that as a possible cause of the re-exec issue? [12:54] PR snapd#3433 closed: tests: restoring the /etc/environment and service units config for each test [12:55] zyga_: sounds good, btw snapd#3391 takes care of the reboot during the sru validation for 14.04, a review would be great [12:55] PR snapd#3391: tests: reboot after upgrading to snapd on the -proposed pocket [12:55] fgimenez: sure [12:55] zyga_, I could not reproduce it, and I added some debugs to get information but I didn't get much more [12:56] cachio_: it hapepns many times a day [12:56] cachio_: but yes, reproducing it is hard sometimes [12:56] fgimenez: done [12:56] zyga_, could you reproduce it? [12:57] cachio_: I'm still trying, I have some tools to help me find the possible cause [12:58] zyga_, I would like to see if after this change in the environemnt variables the bug is being reproduced [12:59] allocation failed on all instances on https://travis-ci.org/snapcore/snapd/builds/240716184?utm_source=github_status&utm_medium=notification [12:59] cachio_: indeed, I want to see new test runs [12:59] zyga_: thx! [13:00] niemeyer, I'll be 3 minutes late [13:00] cachio_: Thanks for the note [13:03] Chipaca, pstolowski: Stand up? [13:03] oops [13:03] omw [13:42] jdstrand: did you had a chance to look (high level) on https://github.com/snapcore/snapd/pull/3431 yet? [13:42] PR snapd#3431: interfaces: simplify snap-confine by just loading pre-generated bpf code [13:50] pedronis: before I forget again, could you revisit snapd#3420 ? [13:50] PR snapd#3420: many: slight improvement of some snap error messaging [13:50] zyga_, https://travis-ci.org/snapcore/snapd/builds/240775990#L4193 [13:50] * Chipaca ~> reboot because busted snap-confine [13:52] * zyga_ runs for lunch [13:53] Chipaca: are you sure tr.Get returns ErrNoState ? [13:53] niemeyer: could you please give another shot at snapd#3391 ? sru tests were failing on 14.04 because of the issue this PR fixes [13:53] PR snapd#3391: tests: reboot after upgrading to snapd on the -proposed pocket [13:55] Chipaca: what happened? [13:55] zyga_: same as the other day? [13:55] but this time it won't go away [13:55] niemeyer: your input on snapd#3445 would be great too [13:55] PR snapd#3445: tests: add linode-sru backend [13:55] Chipaca: what was it? [13:55] mvo: I haven't yet, but I finished the thing that was in front of it so plan to get to it today [13:55] fgimenez: Ack, will look, thanks [13:55] well, finished is strong. I'm blocked, but that is neither here nor there for you request [13:55] your* [13:55] niemeyer: thx! [13:55] zyga_: http://pastebin.ubuntu.com/24808074/ [13:56] Chipaca: unmount /run/snapd/ns/core.mnt [13:56] Chipaca: I think that should cure it [13:56] * zyga_ runs to eat for real [13:58] zyga_: when you get back from eating for real, why is it getting confused by that? [13:58] I mean, it created that mountpoint in the first place [13:59] zyga_: and no that has not fixed it [13:59] mvo: there was talk of a meeting with me to discuss race-free profile loads. I see https://github.com/snapcore/snapd/pull/3442 but it falls back to old profiles (thus not addressing my concern). did a meeting happen without me? is something else being done? [13:59] PR snapd#3442: snap: ensure security polices are re-created [13:59] although the error is slightly different [13:59] Chipaca: I don't see tr.Get producing ErrNoState, can you check if we have a test for doing conf get on a missing snap [14:00] pedronis: ack [14:00] zyga_: http://pastebin.ubuntu.com/24808102/ [14:00] Chipaca: and sorry, anyway what I spotted was the other one [14:08] mvo: do you have an idea about what could be wrong in https://paste.ubuntu.com/24808137/ ? [14:08] mvo: snapd seems to be terminated at the end [14:08] wondering if this is related to re-execution [14:08] zyga: ^^ [14:09] morphis_: definitely strange, systemctl shows its up in the log, re-exec appears to be disabled (as it should) [14:10] mvo: yes, wondering what happens here and what causes snapd to terminate [14:10] jdstrand: no worries, the seccomp PR is just one step, there is one more https://github.com/snapcore/snapd/pull/3442 [14:10] PR snapd#3442: snap: ensure security polices are re-created [14:10] mvo: just running the test again, to do a few more checks [14:11] morphis_: are you in the system? or is that just output from e.g. linode? [14:11] morphis_: if you can run with -debug that might be helpful [14:11] it's from linode, yes [14:11] jdstrand: but gustavo was keen to do some more changes there I think, I was mostly asking about seccomp to see if there are concerns from a security POV [14:13] mvo: have a shell again in a few min [14:13] mvo: I realize seccomp 3431 was the first step. I saw 3441 and wasn't sure if it was the 2nd or final step. if final, again, it doesn't address my concerns. note I commented in 3441 [14:14] mvo: thanks for the update. I'm not terribly sure we are in alignment as the meeting never happened... I guess I'll just try to keep an eye on things [14:14] jdstrand: aha, thank you. so its just about the timeout (your concern). thta should be straightforward to fix [14:16] mvo: for that PR, there is a concern about the timeout, yes [14:16] mvo: but I don't know what a reasonable value is there [14:17] mvo: to me, if you do that pr and instead of falling back to old profiles, trigger the regeneration for that snap, then that would address all of my concerns (I realize there is a lock contention there, but that is surmountable) [14:17] are amd64 and armhf the only architecutre currently supported by build.snapcraft.io? [14:19] jdstrand: I see, thank you. so intead of the current PRs wait-for-all-profiles approach it would be snap run would trigger *just the current* profile? which would be a no-op if its current. and if snapd is not up snap run would still continue (to avoid it being in the criticial path)? [14:19] jdstrand: did I understand this correctly? [14:20] jdstrand: maybe its better to continue in the forum, let me write up something there [14:20] iliv, afaik yes ... you can mirror your branch to launchpad (with a regular scheduled auto-sync) to have the more exotic arches [14:21] also, there appears to be a problem with snap package installation example. once a package was built the page showed me this: "To test this snap on your PC or cloud instance: sudo snap install --edge iliv-test-0". Running this command results in "error: cannot install "iliv-test-0": snap not found". [14:22] mvo: yes. if snap run can call out to something that is able to regenerate the profiles without snapd, then yes-- snapd is out of the critical path, the normal case is snapd loaded everything and the lose the race case is handled [14:22] however, when I clicked on the green text link "Built and published", it took me to a page where the same command example was a little different: "sudo snap install --edge iliv-test-0 --revision=1". this works. [14:23] mvo: I am *not* saying that is required for 3441. I am saying that if 3441 did that, all concerns would be addressed. if it is in a future PR, I'd like that PR to be sooner than later so the concerns are addressed [14:23] jdstrand: this out-of-snapd profile handling is slightly tricky currently, we store a bunch of important information about this in the state.json and we do not support concurrent access to this currently [14:23] right-- I knew there was locking contention so certainly not blocking on that [14:24] jdstrand: thanks in update the forum now and then scratch my head a bit more over this [14:24] mvo: I was thinking about it [14:24] mvo: and perhaps we are OK [14:24] jdstrand: one more - the systemctl check could also be done inside snap-confine, the upside would be that it works reliable on 14.04 then, the downside that systemctl would be something we allow in the snap-confine apparmor profile. how do you feel about that? [14:24] mvo: the state is rewritten atomically [14:25] mvo: so a open fd + flock (shared) is sufficient to know that snapd is done updating and you see an atomic snapshot [14:25] mvo: in fact, even just fd [14:25] interessting [14:26] mvo: right? no flock needed [14:26] mvo: I don't feel great about that since snap-confine is setuid root. that means that if there is a problem with snap-confine, the user could potentially be able to access systemctl as root [14:26] mvo: snapd is the only writer [14:26] mvo: snapd does the rename [14:26] mvo: any reader can open state.json to see the snapshot [14:26] jdstrand: yeah, I have the same feeling, so lets go with the snap run approach [14:27] * zyga_ really goes to eat lunch [14:27] but I'll be back :) [14:27] hehg, you had lunch at least two times already :P [14:27] except I didn't go :/ [14:27] I was working [14:27] yeah [14:27] go! [14:27] mvo, I see the postrm test is deleting /var/lib/snapd and it is making fail the restore [14:28] mvo: and to be crystal clear-- I really don't care about the implementation details of the profile loading so long as it is race free (not talking about systemctl here, but the forum topic where Gustavo and I never seemed to sync) [14:28] so the test postrm-purge is failing [14:29] mvo: so when I'm suggesting something on that topic, it is more ideas of what could be done rather than proposals of what should be done [14:29] jdstrand: I think you're downplaying it a bit, in the sense that "race free" is obviously a strict requirement of anything we do [14:29] jdstrand: ok [14:29] mvo, /var/lib/snapd [14:29] https://travis-ci.org/snapcore/snapd/builds/240775990#L4193 [14:29] niemeyer: it depends on what we are talking about as racing [14:30] niemeyer: profile loading at all vs profile loads that match the running snapd/snap-confine [14:30] jdstrand: What I said above is true for any accepted meaning of "race" in software development [14:31] mvo, did it change last days? I did not see this error before [14:31] niemeyer: ok, well then if we all agree that 'profile loads that match the running snapd/snap-confine' is what we want to get to, fantastic! it wasn't clear to me based on submitted PRs that was the case [14:31] mvo, and it is cause because of the cleanup that I did [14:31] cachio_: I don't think so, I'm curious what it is deleting that causes the problem [14:32] jdstrand: That's the key.. this is not just a race :) [14:32] jdstrand: But yes, that's the goal, and it's not solely about snap-confine or snapd either [14:32] jdstrand: The kernel also plays a role [14:32] sure [14:33] jdstrand: and the kernel is outside the control of anything internal to the system [14:33] jdstrand: The user can pick a different kernel to load behind the back of snapd [14:33] yep [14:33] jdstrand: Which makes the whole problem more delicate [14:33] sure [14:34] jdstrand: So, we'll need to introduce profile generation at boot because of that, at least in specific circumstances [14:34] mvo, well it is doing "rm -rf /var/lib/snapd" [14:34] niemeyer: and that is what I was saying about alignment-- I understand all that. I was saying we are aligned on the *goals* for where we want to be [14:34] even if we don't yet know the implementation [14:34] jdstrand: No, at least in that topic you did not understand [14:34] jdstrand: You specifically said we could generate the profile ahead of time in all cases [14:35] I was not considering the kernel the whole time, no, but when you mentioned it, I figured that is something that could be part of the whole thing [14:35] jdstrand: That's why the topic never ended in agreeement [14:35] fair enough [14:35] cachio_: I know its doing that :) snapd should be able to re-generate all files/dirs in there if any is missing, this is why I wonder why it is chocking [14:36] mvo, ah, ok [14:38] niemeyer, mvo: not sure why it took so long to sync on the goals this time around (sorry for my part in that), but I'm happy that we agree on the end goal. for my part in reviews, I'll keep that in mind [14:39] jdstrand: No problem, we should just have hopped into a hangout.. [14:40] niemeyer: yeah, it was funny cause it felt like we were getting close, then we darted away, then got close again, etc :) [14:40] still, that email thread did at least solidify what the goals are for everyone (even if it wasn't the most efficient means to get there) [14:41] jdstrand, niemeyer: thanks. I updated the forum with the approach for 3442 and the snap-geneate-profiles ideas we have so far [14:41] jdstrand: what needs happening for services that are type=notify to be able to do their notifyish thing? (currently getting a DENIED because of trying to sendmsg to /run/systemd/notify) [14:42] jdstrand: (is this on your radar at all) [14:42] Chipaca: it is not. if you point me at a PR/bug, I can take a look [14:42] Chipaca: I need to step away for a little bit (and then have a meeting), but can look after [14:42] ok [14:44] jdstrand: I'll probably not get around to doing the paperwork until tomorrow, fwiw [14:44] it's not a new breakage [14:45] mvo: Thanks for the update [14:46] niemeyer: I can make this branch much smarter my main question now is if we want it at all or if we should jump straight for the profile-regenerate helper [14:48] mvo: I'll add some notes in the forum [14:48] ta [14:56] cachio_: would be nice to get the systemctl status snapd.service output when this error happens [14:57] mvo, sure, I'll add it [14:57] mvo, is snapd actually re-creating the dir ? sems it comes in the deb with a lot of content actually [14:57] *seems [14:57] at least according to dpkg -L snapd [15:02] mvo: Sent [15:04] mvo, fgimenez: can one of you do a second review on https://github.com/snapcore/snapd/pull/3406/ ? [15:04] PR snapd#3406: tests,packaging: add package build support for openSUSE [15:05] morphis_: sure on it [15:05] fgimenez: awesome! [15:05] going to lunch [15:06] niemeyer: thank you, I will ponder over this [15:10] mvo: np, and thanks! === ratliff_ is now known as ratliff [15:21] re [15:21] * zyga_ reads backlog [15:25] niemeyer: I replied, if it sounds sensible I can start hacking on it. [15:27] cachio_: hey, did you see postrm-purge failures? [15:27] kyrofa: around? [15:28] morphis_: one conflict on https://github.com/snapcore/snapd/pull/3406 [15:28] PR snapd#3406: tests,packaging: add package build support for openSUSE [15:28] stgraber, you got a sabrelite, right ? did you ever use it with HDMI attached with a recent 4.x kernel ? [15:29] kyrofa: snapcraft is failing autopkgtest and is blocking LXD from being pushed to the release pocket [15:29] kyrofa: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful/artful/amd64/s/snapcraft/20170608_070900_635cb@/log.gz [15:29] kristbaum: AFAICT that's not LXD related so I'm about to push an archive hint to work around this [15:30] ogra: I've got a wandboard (imx6 quadcore), but I use it as the LXC/LXD armhf buildd so it's never seen an hdmi display :) [15:30] yeah, thought so :) [15:31] mvo_: Thanks, I'll step out for lunch and ponder meanwhile [15:36] zyga_: can you merge https://github.com/snapcore/snapd/pull/3406/ now that we have two approvals? [15:36] PR snapd#3406: tests,packaging: add package build support for openSUSE [15:41] morphis_: looking [15:41] morphis_: it has a conflict [15:41] narf [15:44] PR snapcraft#1359 opened: tests: replace grub-doc with haskell-doc in build-packages tests [16:01] stgraber, sorry for the delay, I am now [16:03] stgraber, we're on it [16:04] zyga, yes I saw that [16:04] zyga, we were discussing that with mvo [16:05] cachio_: aha, is this solved in master? should I merge and try again? [16:06] I am adding sthe snapd.service status [16:06] zyga, https://travis-ci.org/snapcore/snapd/builds/240775990#L4193 [16:06] this is the error [16:07] zyga, not sure why snapd is not creating this directory [16:12] cachio_: is this issue solved now, can I help somehow? [16:12] Chipaca: what the's plan about my comment on your PR ? revert that bit? add a test? change the logic to do snapstate.Get first? [16:12] zyga_, it is not [16:12] ok [16:13] zyga_, I am making working on this one [16:13] zyga_, I'll ping you as soon as I have any info [16:18] pedronis: does it make sense for config to return a different error if trying to get something for which there is no snap? === koza is now known as koza|away [16:31] Chipaca: so in relation to my article - can I ask you for a snappy question? [16:31] Chipaca: what is the best solution to put a simple file in /usr/share/backgrounds/ ? [16:32] Chipaca: right now I have something that's working -ish but it's a bit ugly in that it has classic confinement [16:32] Tribaal: right now, you don't [16:33] that's not going to be a great article then :) [16:33] Chipaca: maybe, anyway that chaneg is also not backward compatible [16:34] sorry maybe not [16:35] Chipaca: maybe reverting that bit is the easiest until we have a reason to do something else [16:36] Tribaal: hey [16:36] Tribaal: I have code for that but it's not finished [16:36] Chipaca: if you want to distinguish BadRequest vs InternalError there's, config.IsNoOption I think [16:36] or something like that [16:36] Tribaal: I discussed this with jdstrand earlier, it will be a new interface and a new security backend [16:36] zyga_, this is the info I get when I run the status https://paste.ubuntu.com/24809011/ [16:36] zyga_: ah, that was my next attempt at code - writing a new interface [16:36] Tribaal: given that I'm busy on other things and there's an upcoming sprint I suspect the code for making this work will be mid july [16:36] Tribaal: it's not just a new interface [16:37] pedronis: right, IsNoOption is returned if the snap doesn't exist, or if it exists and isn't configurable, or if it exists, is configurable, and has no config set for that key [16:37] zyga_: was the interface you had in mind *just* for backgrounds, or did you think of a wider permission? [16:37] Tribaal: unless you are happy to jump into the frays of daily snapd development I'd recommend against it as it is unlikely to land [16:37] Tribaal: I was thinking of a wider system where snaps can provide content to the classic system [16:37] Tribaal: but it is not trivial, it involves several things that don't exist yet [16:38] cachio_: do you have more logs? [16:38] cachio_: what does systemd say? [16:38] * ogra would add a "journalctl -u snapd.service" [16:38] Chipaca: which seems the original intention of that code, you asked for the wrong thing (but I agree that's not the only failure mode, so check and InternalError otherwise) [16:38] to get that output [16:38] Tribaal: I have some initial code for that on my fedora workstation where I'm hacking on it, my goal is to provide the generic framework and an interface designed for shipping backgrounds [16:39] pedronis: fair 'nuf [16:39] pedronis: i'll get to it [16:39] zyga_: ok, so my end goal is to write a blog post about how to do the equivalent of another post I wrote using snaps. I'd like the comparaison to be favorable, so it's probably best for me to just wait for the way to be "clean" before I write anything [16:39] Chipaca: thx [16:39] knee deep in other stuff right now, and close to eod [16:39] Tribaal: yes, I think you just need to wait, this is a new concept that snaps have traditionally not supported [16:40] Chipaca: fwiw I didn't see that path, just spotted the NotFound on setConf [16:40] which was sying snap not found [16:40] zyga_: ack [16:43] popey: big big hug for the wethr snap!!! [16:43] I love everything about it [16:43] popey: does it support any options? [16:44] like "--make-it-not-rain" ? [16:44] :) [16:44] ogra: only with sudo :DD [16:44] hehe [16:44] godo [16:44] :) [16:50] zyga_, it is getting stuck on the start [16:53] zyga_, https://paste.ubuntu.com/24809096/ [16:53] this is the log that I have [16:58] zyga_, error: fatal: directory "/var/lib/snapd" must be present [16:59] https://paste.ubuntu.com/24809119/ [17:01] mvo_, https://paste.ubuntu.com/24809119/ [17:02] mvo_, if I manually delete /var/lib/snapd [17:02] and restart snapd [17:02] it fails [17:02] mvo_, with the same error [17:02] yeah, as i said above, that dir is usually shipped with the deb [17:03] the postrm should instead do a rm -rf /var/lib/snapd/* [17:03] so only content gets removed [17:03] the dir would go away anyway if the deb is removed [17:04] hah! found a bug in getSnapConf because i dared to write a test for it :-D [17:06] ogra, ok [17:07] (or alternatively snapd should do a mkdir on startup if the dir doesnt exist) [17:07] it seems to be better [17:08] mvo_, zyga_ your opinion is welcome :) [17:09] niemeyer, your too [17:20] PR snapcraft#1360 opened: cli: stop leaking green text [17:31] pedronis: I think that should do it (let me know if I got it wrong _again_) [17:31] * Chipaca EOD [17:32] PR snapcraft#1359 closed: tests: replace grub-doc with haskell-doc in build-packages tests [17:42] niemeyer, there? [17:48] cachio_: Yep [17:49] niemeyer, there is an issue with the snapd.postrm scrnpt [17:49] it is doing "rm -rf /var/lib/snapd" [17:49] cachio_: Oh? [17:49] cachio_: Well, that by itself is not an issue [17:50] and then if I do systemctl start snapd.service [17:50] niemeyer, we get this https://paste.ubuntu.com/24809119/ [17:51] not sure why this test could not be reproduced before [17:51] cachio_: We need some more context.. it doesn't make sense to purge the snap and then start it [17:52] niemeyer, make sense that, so I should fix postrm-purge test [17:53] because after the clean of environment variables was merged, this test started to fail [17:53] niemeyer, in ci [17:53] cachio_: It would be good to understand what's going on there.. [17:53] cachio_: Why was it not failing before? [17:54] cachio_: The lack of understanding in those cases generally means we're not seeing the whole picture [17:55] niemeyer, agree, I would take a look to the last code merge in the master before this restore was merged [17:56] niemeyer, something has to be changed in the master between the last rebase I did against the master and the moment it was merged [17:57] cachio_: Yeah, perhaps related to the Fedora changes, which were quite spread out [17:57] cachio_: Still, the outcome seems a bit surprising.. that doesn't seem related to the environment [17:59] niemeyer, it is not, do you have a convention for the tests about how should the the snapd state after the restore? [18:00] niemeyer, because I see snapd is reseted in the prepare [18:00] niemeyer, but some tests like the postrm-purge are leaving snapd in a bad state [18:01] niemeyer, no, not sure if I need to fix this test to leave snapd working, or I just move the environment variables clean up to the reset [18:24] cachio_: We restore a number of things, such as the core snap and the entire snapd state via that tarball which you have probably passed by [18:24] cachio_: These are the things tests don't need to care about [18:25] niemeyer, ok, in that case I'll move the environment variables restore to the reset where the snapd state is restored [18:25] cachio_: Sounds sensible.. I even assumed that was happening as part of the tarball [18:26] niemeyer, in the tarball is being saved /etv/environment [18:26] but also I am cleaning up the systemd unit directories [18:27] because some tests are creating files with environment variables to be used by the systemd unit on there [18:27] this part is being done suring the restore of the test [18:28] to leave the systemd configuration as it was received [18:29] Ah, nice [18:32] zyga_, there= [18:32] ? [18:32] yes [18:32] about the reexec issue [18:33] in the prepare.sh prepare_each_classic [18:33] do you know why it is being created this reexec.conf file [18:33] ? [18:34] if then snapd service is not restarted? [18:34] cachio_: let me look [18:34] it is wird [18:34] weird [18:35] cachio_: no idea, I just had a look at it, maybe check git log or ask federico in the morning [18:36] cachio_: I was thinking that perhaps we should revert whatever change broke master [18:37] zyga something changed during the last days, after I did the last rebase and before the envinroment cleanup cranch was landed [18:37] zyga, becasuse the tests were not failing or the branch [18:40] zyga, I can do a mkdir in the restore of the postrm-purge to make that test pass leaving a comment and create a bug to fix [18:46] cachio_: let's do it [18:47] zyga, where should I create the issue? in the forum or in launchpad? [18:47] cachio_: just make a PR :) [18:47] cachio_: and let's get it fixed tomorrow as well [18:47] cachio_: I think nothing creates /var/snap today [18:48] cachio_: if you want to discuss this a forum topic is the best, it works way better than bug trackers [18:59] * zyga will be back later [19:54] zyga_, when you have a minute, PR 3448 [19:54] zyga_, this is to fix the error in master [19:55] PR snapd#3448 opened: tests: fix for the test postrm-purge === JanC_ is now known as JanC [21:29] hi [22:04] does anyone here have experience building python snaps for large python projects? [22:21] ssbash: only a small python thing, myself [22:24] I'm having trouble getting my pythong packages to build as wheels [22:24] python-packages: [lockfile==0.12.2, lxml==3.6.4, msgpack-python==0.4.8, pexpect==4.2.1, psutil==5.0.0, pyshark==0.3.6.1, requests==2.12.2, xmltodict==0.9.2, bottle==0.10.2, ecdsa= =0.13, rsa==3.4.2, pyOpenSSL==16.2.0, pygtail==0.7.0, python-dateutil==2.6.0, beautifulsoup 4==4.5.1, robobrowser==0.5.3, pytest==3.0.4, pytest-cov==2.4.0] [22:24] this is what i have in my snapcraft.yaml file [22:25] maybe paste your yaml at http://paste.ubuntu.com/ [22:28] http://paste.ubuntu.com/24811130/ [22:28] thats my yaml file ^ [22:34] ssbash: some of those specifiers seem wrong [22:34] e.g. the beautifulsoup one [22:35] ssbash: see if this fares better: http://pastebin.ubuntu.com/24811186/ [22:35] popey: ^ cleaned it up a little [22:36] ssbash: (just to be clear, I don't know if this is right, i've never used python-packages in snapcraft.yaml) [22:37] are you allowed to list packages like that? the documentations refers to a list https://snapcraft.io/docs/reference/plugins/python === cpaelzer_ is now known as cpaelzer [22:39] i think it's syntactically valid [22:39] ssbash: yes, both are valid yaml [22:40] ssbash: when it's short, the inline one is arguably better [22:40] ssbash: it's a bit late here, I'd recommend posting to http://forum.snapcraft.io/ - you'll get more visibility there tbh [22:40] ssbash: but as soon as it gets long it's unreadable [22:40] ah i see [22:40] yeah, i'm only up because elections [22:40] thanks for your help, I'll see if it works now [22:41] ssbash: I thought I'd try running this locally but it asks me for a bitbucket account and stuff [22:41] ¯\_(ツ)_/¯ [22:41] yea unfortunately i can't share the code, its a private repo [22:42] no worries [22:42] let me know if it works (if i'm still around) [22:43] ssbash: if in doubt about yaml, I've found http://yaml-online-parser.appspot.com/ very useful [22:52] Chipaca, if you have 1 minute to check this https://github.com/snapcore/snapd/pull/3448 [22:52] PR snapd#3448: tests: fix for the test postrm-purge [22:52] this is to fix a problem in the master [22:52] cachio_: I'm eagerly waiting for it to go green [22:53] as the problem in master is blocking a branch of mine :-) [22:53] 838/842, should be done soon [22:53] and no error yet :-) [22:53] Chipaca, great, final version is running [22:56] Chipaca, Successful tasks: 842 :) [22:58] cachio_: +1'ed, and a vote to merge as is [22:59] cachio_: (also a diatribe on logs because typing is cheap) [23:00] Chipaca, awesome [23:03] Chipaca, so, this is going to be merged once all the tests pass? [23:04] cachio_: I think it's fine to merge right now, but it's your call -- you're the one that'll be left holding the pieces if it breaks :-) [23:05] Chipaca, just wait until all the tests pass [23:16] Chipaca I was able to fix my issue, i was missing my libffi package [23:16] ssbash: ah, ok [23:47] PR snapcraft#1358 closed: release changelog for 2.31