[02:08] elopio can you check https://github.com/ubuntu-core/snapcraft/pull/584 ... I have no vpn here [02:29] Dumb question, can I install snapd on ubuntu 14.04? [05:18] hey hey === cpaelzer_ is now known as cpaelzer [07:03] Hi, guys! [07:21] good mornig [07:22] morning :) [07:37] Any news on Rpi3 support? [08:13] mvo: ping === davidcalle_afk is now known as davidcalle [08:20] morphis: pong [08:21] mvo: what's up with snapd 2.0.10 ? :-) [08:21] morphis: a bit of internal debate, I will enquire about this I think we can do one today otherwise [08:22] ok [09:07] zyga: hum, seems that I'm stuck at removing one snap [09:07] 161 Done 2016-06-24T08:31:46Z 2016-06-24T08:31:46Z Try "atom" snap from "/home/didrocks/work/ubuntu-core/snappy-playpen/atom/prime" [09:07] 162 Doing 2016-06-24T09:04:17Z - Remove "atom" snap [09:07] mount | grep atom returns nothing [09:07] and as there are some operations in progress, I can't do anything [09:11] didrocks: what does 'snap change 162' say? [09:14] zyga: http://paste.ubuntu.com/17792496/ [09:14] so, I was able to stop it manually (some processes were hanging the mount point) [09:15] however, despite unmouting it, not snapd is stuck [09:15] ah no, it's done [09:15] (after a while) [09:15] still the same change # [09:16] but snap change still shows the error [09:16] (which is puzzling) [09:16] at least, now, the transaction is over, thanks zyga :) [09:23] didrocks: snapd will recover after 5 minutes [09:24] didrocks: we already know about issues when the service doesn't shut down cleanly [09:26] jdstrand, tyhicks: i've tested the more strict version of snap-confine and it should be merged as tyhicks suggested [09:26] I'll adjust some tests and merge it [09:34] Howdy all. Not sure where to report. Installing freecad on ubuntu as a snap didn't produce a working desktop shortcut or cli command. installing it from apt did. Just want to know where to let someone know? [09:36] I think lool followed the freecad guys on their snappy journey ^ [10:00] well, works fine here [10:00] freecad.FreeCAD the cli command it installs [10:01] Snowie, ^^ [10:06] ogra_: did you get a desktop file? [10:07] lool, hmm, i know ii used to have one ... [10:07] seems gone [10:08] or t least not found anymore [10:08] the cli command is definitely still here though and the app starts and runs fine [10:11] ogra_: i did try that, but let me give it another go. [10:12] Snowie, are you on an Ubuntu 16.04 install or is that some other distro ? [10:13] ogra_: standard 16.04 [10:13] k [10:13] same here [10:15] * ogra_ is off to the dentist ... (at least something positive on this horrid day :P ) [10:15] no joy http://paste.ubuntu.com/17794309/ [10:15] ogra_: oh. good luck, hope it's not too terrible. [10:16] nah, just a post surgery inspection .. all bad stuff already happened [10:16] ogra_: lol. ok, hope all is well then [10:16] Snowie, try freec ... doesnt that expand to freecad.FreeCAD ? [10:17] ogra_: lol, yeah that did it. thanks [10:17] (the binary is actually called like that, not just "freecad") [10:17] still no icon thought but cheers [10:17] yeah, thats a bug [10:17] the binary should also just become "freecad" [10:17] ogra_: and sounds like it's known by that comment too. ok cheers [10:18] well, probably not by the freecad developer [10:18] lool, ^^ can we get him that info somehow (i only know him from IRC) [10:18] anyway ... -> out [10:24] ogra_: I was looking for a public link to this email address but https://uappexplorer.com/app/freecad.vejmarie has a weird one === bazhang_ is now known as bazhang [12:32] re ... [12:41] jdstrand, tyhicks: I'd like a final yes/no vote on chdir branch [12:48] jdstrand, tyhicks: after your decision I'd like to merge remaining branches and release new snap-confine [12:48] and work on snapd changes to make policy changes automatic [12:48] so that refreshed policy is applied when needed [13:05] zyga: I responded in the PR [13:06] zyga: and yay on refreshing policy as needed as being up next :) [13:07] zyga: interestingly, the apparmor side of that bug (which is not needed for your work) is close to my next thing to work on :) [13:08] jdstrand: thank you, looking now [13:09] jdstrand: good point, I'll make the change now [13:09] jdstrand: cross-distro concern, how can we simplify our work to not have to synchronize various apparmor abstraction across the distros [13:13] zyga: this isn't actually just a cross distro concern and something we've thought about all along. a) abstractions don't change that much and b) when they do, we push the change both to apparmor upstream and to snapd policy so snapd can realize the benefits immediately [13:14] we can periodically prune the duplicate rules in snapd and say snapd required apparmor userspace version x.y.z [13:14] requires* [13:17] zyga: and thank you for merging the arg filtering branch-- it's been a long time coming :) [13:18] zyga: once snap-confine and snapd 2.0.10 land, that will allow me to fix a whole slew of policy bugs in 2.0.11+ [13:24] dholbach, good work with summarizing the knowledge extracted from the playpen :) [13:30] hi! for what you know, has there been any attempt to create an opensource store/repo for snaps? [13:31] ret2libc, not for ubuntu .. but see the mailing list, there is a discussion about stores on other distros [13:32] (the "store" is just a webserver after all ) [13:32] ret2libc, indeed, keep an eye on the mailing list, efforts are ongoing [13:33] jdstrand: I need to fix debian-8 builds by taking dpkg-vendor patches from alioth [13:33] jdstrand: please ignore debian-8 build failures for now [13:34] ogra_ kyrofa thanks, i'll have a look at it [13:35] is there a way i can get my application i have installed from .snap packages to use the system theme? [13:35] and is snapd available on debian 8? [13:35] stormchaser3000: not in debian 8 [13:36] oh ok [13:36] stormchaser3000: system theme support is being explored, it's not easy due to gtk instability with theming [13:36] stormchaser3000: but we are exploring how to support this [13:36] stormchaser3000: and there are some technical bits that landed that make it possible to do pratical experiments now [13:37] does snapd work on OpenSUSE tubleweed? [13:38] dpm, thanks [13:42] if it doesnt yet, it will soon [13:44] jdstrand: https://github.com/snapcore/snap-confine/pull/48/commits/0e690b310d1ce4fb772fab3085015897d62bf7d0 [13:44] jdstrand: FYI, just in case I messed up something [13:53] sergiusens, ping [14:19] jdstrand: https://github.com/snapcore/snap-confine/pull/50/files [14:27] can snap already run on other distros? [14:27] ret2libc, yes, in several ( zyga has a list i think) [14:28] wow, that's cool! i really hope it will be adopted by others too [14:30] dholbach, I'd bring up the client cancellation (the broader issue you mentioned) in the channel, but there are too many conversations happening there right now :P [14:30] ret2libc: yes! [14:30] ret2libc: there are packages for fedora, arch and gentoo [14:30] ret2libc: I'm working on packages for suse [14:31] ret2libc: there's also a package in debian that propagates to ubuntu (snap-confine) and soon snapd too [14:31] ret2libc: and from debian and ubuntu to many other distributions [14:31] ret2libc: note that today snappy doesn't support confinement on distributions that don't use the ubuntu kernel, we are working on upstreaming everything and enabling other distributions to support the whole security [14:31] that's really nice, zyga! [14:32] ret2libc: if you have any questions about that I'm all ears :) [14:32] kyrofa, yeah :) [14:32] maybe a bug report would work better [14:32] zyga: i didn't you were changing the kernel to add features for confinement. aren't you using cgroups? [14:32] and apparmor? [14:32] ret2libc, among other things [14:33] ret2libc: we are using cgroups but that's very minor and it's not used most of the time [14:33] ret2libc: most of the patches are apparmor features that we developed to make this really solid [14:33] ret2libc, https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/ if you're curious [14:33] ret2libc: those are being upstreamed and I'm looking at building supporting kernels for gentoo and arch [14:33] ahh that's nice! thanks kyrofa [14:33] ret2libc: but this work is still some time away [14:34] zyga: are those patches available? [14:34] ret2libc: of course :) [14:34] ttps://git.launchpad.net/~p-pisati/ubuntu/+source/linux/ [14:34] https://git.launchpad.net/~p-pisati/ubuntu/+source/linux/ [14:35] good people tell me that the apparmor features are posted to mainline but it's a process as you probably know [14:35] ret2libc: there are snappy branches there that contain everything required [14:36] ret2libc: it's really just the ba [14:36] ret2libc: it's really just the brand new apparmor features + corresponding configs that make snappy security work [14:36] ret2libc: seccomp and userspace apparmor bits are already upstream [14:37] fgimenez: elopio: Hi, did you see the error I sent when I tried to run it from the branch? [14:37] zyga: i see. thanks a lot for those info [14:40] zyga, niemeyer: fyi, I'm taking a few minutes to clean up/expand docs/interfaces.md [14:41] jdstrand: Sweet [14:41] jdstrand: Btw, there's a problem we need to sort out with the network interface.. zyga is aware of it and looking into it, but it'd be nice if you two could discuss the issue too [14:41] niemeyer: see your inbox on cleaning up 'Usage' [14:42] jdstrand: Apparently even a boring network client right now depends on network-bind to do DNS, which kills the point of having the separation [14:42] that is surprising [14:42] is this an i386 thing? [14:42] cause that might be the socketcall issue [14:42] jdstrand: Would be good to get that fixed, either by understanding what's going on and fixing it, or by killing network-bind altogether if we cannot avoid the dependency [14:43] jdstrand: I don't know, zyga has the details [14:43] is there a bug? [14:43] zyga: ^ [14:43] ok, zyga, please fill me in and with a reproducer [14:43] cause we've had the separation and its worked for a while. curious what changed [14:47] jdstrand: wrt bug 1589671 - I have 2.0.9 and still see the issue, or a similar one - http://paste.ubuntu.com/17803532/ [14:47] bug 1589671 in Snappy "apparmor failure on udev with opengl interface" [Medium,Fix released] https://launchpad.net/bugs/1589671 === chihchun is now known as chihchun_afk [14:47] popey: that's a different issue [14:48] \o/ [14:48] I love finding these and keeping you in work :) [14:49] do you need me to file a bug for it jdstrand ? [14:50] yes please. add the snapd-interface tag and the udev denials [14:52] okay, thanks. [14:54] ok, filed bug 1595987 [14:54] bug 1595987 in Snappy "udev denials " [Undecided,New] https://launchpad.net/bugs/1595987 [14:55] thanks [15:03] same error here : https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1570860 [15:03] Launchpad bug 1570860 in snapd (Ubuntu) "Love2D needs udev access" [Medium,Triaged] [15:04] about /run/udev/data/c** [15:05] I created a suggestion on Steam's Github to start using Snaps or flatpaks to distribute games in Steam. https://github.com/ValveSoftware/steam-for-linux/issues/4512 Now, the question is, is it possible to partially update a snap to avoid re-downloading 8+GB of data to patch one, simple thing? [15:05] For example. [15:06] gouchi: ooh, you're looking at love2d? [15:06] awesome, I had a play with that a while back but not looked recently [15:06] would... "love" to see that snapped [15:07] popey: another project ;-) [15:07] :) [15:07] jdstrand: did I need to file a bug about 32-bit binaries, or was that a 'wontfix'? [15:07] popey: but I like also love2d ;-) [15:07] popey: there is a bug already. it is likely won't fix [15:08] :( [15:08] no wine in snaps [15:08] that's a shame, having wine/libwine would be a neat way to package up some windows apps (or games) in the store [15:09] zyga: what are exactly those new apparmor features that you want to add? [15:09] ret2libc: you'd have to go through the patches, there's quite a lot I've heard [15:10] niemeyer, jdstrand: I didn't file the bug for this yet [15:10] popey: wine doesn't mean 32bit only [15:11] jdstrand: and FYI, I don't quite know what the root problem is, I tried using spread (a go binary so it might be go specific) and it happily created variou sockets and tried to bind them on startup [15:11] jdstrand: let me pull the strace log and report this [15:11] zyga: Can we please get a bug with a reproducer? [15:11] zyga: Otherwise it'll fall through the cracks [15:12] niemeyer: yep, just doing that now [15:13] zyga: Thanks! [15:13] Not sure if my previous message managed to send itself, my connection is a bit wonky. I'll ask again. I created a suggestion on Steam's Github to start using Snaps or flatpaks to distribute games in Steam. https://github.com/ValveSoftware/steam-for-linux/issues/4512 Now, the question is, is it possible to partially update a snap to avoid, for example, re-downloading 8+GB of data to patch one, simple thing? [15:13] jdstrand: only 32-bit wine can run 32-bit windows apps, only 64-bit wine can run 64-bit windows apps, and not 32-bit ones AIUI [15:13] * popey is getting deja vu [15:13] have we had this conversation already? :) [15:15] popey: sure. my point is that you can still ship 64bit wine to run 64bit wine apps [15:15] popey: and 32bit wine to run 32bit wine apps [15:16] architectures just needs to match [15:16] so 32-bit wine will work on ubuntu-core i386? but not on ubuntu-core amd64? [15:16] I understand that doesn't address 32bit wine on 64bit machine, but I think there is still good things to be had [15:16] popey: sure, why not? [15:17] we're in circles :) [15:17] my problem is that 32-bit wine doesn't run on amd64 ubuntu-core [15:17] and you said earlier that's a wontfix? [15:18] popey: you were too general with this statement: "no wine in snaps" [15:18] hah, okay [15:18] popey: that is not accurate. you *can* have wine if wine matches the arch [15:19] ok, so a more specific question would be "do we support 32bit binaries in 64-bit host ubuntu-core?" [15:19] this isn't a wine specific issue is it? [15:19] (so skype i386 on amd64 would be equally problematic) [15:19] jdstrand, niemeyer: https://bugs.launchpad.net/snappy/+bug/1595993 [15:19] Launchpad bug 1595993 in Snappy "go binary (spread) uses bind on startup, requiring network-bind" [High,New] [15:19] this is a kernel limitation with seccomp [15:20] plars, looking into it now [15:21] zyga: ok will do! [15:21] jdstrand: I think that bug above requires some deep dive into go to understand [15:21] jdstrand: but I wonder if there's something we could do with seccomp filtering to let it be [15:22] jdstrand: but I don't know, looks terribly like those very carefully profiled security things that only allow a given sequence of syscalls [15:22] zyga: ok-- it seems it is pretty clearly wanting to use socket. not sure what the problem is? [15:22] jdstrand: nothing in the code does this [15:22] jdstrand: it's some startup thing in go or maybe libc [15:22] something in the code is doing it :) [15:22] jdstrand: and this means that all the software will require network-bind in effect [15:23] but that's not true [15:23] jdstrand: not explicitly, this might be something each executable starts to do [15:23] jdstrand: I'll dig around, I wanted to report this first [15:23] there are plenty of applications that don't need network-bind to use the network [15:24] it might be a go thing, and yes, we might be able to do arg filtering somehow [15:25] zyga: why is this 'high'? [15:26] zyga: it only affects go and people can always specify 'network-bind' which is autoconnected [15:26] I'm not saying it shouldn't be fixed, I'm saying that it probably shouldn't trump other high priority work [15:28] jdstrand: I set it to high to investigate what the cause is; if there's something potentially causing many programs to require network-bind without knowing ti [15:28] it* [15:28] zyga: so, this application is very clearly binding to a port on the loopback: bind(4, {sa_family=AF_INET6, sin6_port=htons(0)... [15:28] that says that network-bind should be used [15:29] most programs don't need that [15:29] a go program might, but, so? [15:29] anyway, yes, it is worth investigating [15:29] jdstrand: but it's not doing this in the go code, there's no bind there anywhere [15:29] jdstrand: I want to check if this is endeminc to go runtime [15:29] but I'm not worried by this [15:30] it might be. go does all kinds of stuff [15:30] Heyo [15:30] if you look at netstat -atuvpn, you should see it is listening on a port [15:30] I'm getting the encrypted user directory apparmor error! [15:30] (one chosen by the kernel) [15:31] aatchison: that is on the verge of being fixed with the pending snap-confine upload [15:31] cool [15:31] how soon:P I just need a workaround if I can get it [15:31] Can't tell what's going on [15:31] aatchison: https://bugs.launchpad.net/snappy/+bug/1574556 has a workaround [15:31] Launchpad bug 1574556 in ubuntu-core-launcher (Ubuntu Xenial) "apparmor denials reported for encryped HOME" [Medium,Triaged] [15:32] awesome, thanks [15:38] jdstrand: okay, thanks for clarifying :) [15:38] I promise not to ask you about 32 bit again ㋛ [15:40] hehe [15:40] * jdstrand -> errand [15:48] jdstrand: the issue is now well-understood [15:48] jdstrand: I'll look at it next week, I want to focus on bind mount support and next release of snap-confine [15:56] jdstrand: before you EOW today, can you weight in on https://github.com/snapcore/snap-confine/pull/50 please? [16:19] zyga: fyi, snap-confine 1.0.33-1 has been accepted through Debian NEW now (including source package rename), so should also find its way into yakkety soon [16:19] oh [16:19] except that requires a merge [16:19] er, no it doesn't, because it's a new source package name so it'll just take over the binary name [16:20] kyrofa: hi, do you how to easily go about setting default_plugin_output correctly in the list plugins tests of snapcraft? (after adding new plugin) [16:20] joc_, hahaha, aren't those lovely tests? [16:21] indeed, super lovely :) [16:25] kyrofa: do i need to set some environment variable on my local console to make sure i have correct output width or something? [16:26] joc_, honestly what I do is I copy/paste the "actual" output [16:26] slangasek: that's great news, thank you [16:26] joc_, watch the test fail, steal the output [16:26] = 100% useless test [16:47] * zyga -> dinner [16:49] fgimenez: so running from the branch still doesn't work for me, but running uner checkbox I'm seeing a lot better results running on an allsnaps image vs. classic [16:52] plars, great! it would be nice anyway to have better logs in both cases, i'm not able to reproduce your error http://paste.ubuntu.com/17809595/ which version of go are you using? [16:54] fgimenez: 1.6.1 [16:56] plars, that should work.. are you executing from the gopath (not from a symlinked dir)? iirc we needed that when building from branch, not the case anyway [16:57] fgimenez: hmm, no I'm not sure what you mean by symlinked dir, I was running from the dir of my checkout. Which I guess go just totally ignores. As soon as the run with checkbox finishes, I'll switch to the one it pulled into my GOPATH and try from there [17:00] plars, ok let me know how it goes [17:01] kyrofa pong? [17:02] sergiusens, I was going to ask you a question about the qmake plugin, but I asked in the PR instead [17:03] kyrofa: please please please dont land any other plugins before me, i dont want to have rebase and do that all again :p [17:03] joc_, muhahaha [17:03] joc_, I've done it twice now, stop whining! [17:04] sergiusens, we really need to toast those list_plugins tests [17:05] kyrofa we do, but they got a whole lot more special now, didn't they ;-) [17:13] elopio is the triggered on https://github.com/ubuntu-core/snapcraft/pull/566 running? [17:17] sergiusens: no, we are redeploying jenkins again. [17:17] zyga: done [17:18] sergiusens: like 30 minutes to go. [17:21] elopio yay [17:21] elopio doesn't matter as I added a comment to that PR for kyrofa ;-) [17:22] elopio just interested in the adt and examples on that one as snapcraft.internal was touched. If it fails and units pass we have more work to do ;-) [17:23] zyga how is it going with the font interface, do you know? [17:27] sergiusens: yes, when the branch is ready kyrofa can run adt or examples locally :) Or I can help, I have plenty of testbeds around. [17:27] jenkins might be ready earlier. === devil is now known as Guest24542 [17:52] Would anyone be interested in helping me hack on mycroft snap today? [17:52] sergiusens: we have the content sharing now, with somewhat different design (only one content can be consumed at a time) [17:53] sergiusens: with some more work and a test case we should be able to use that to share classic fonts [17:54] sergiusens: I'm looking at finalizing the snap-confine side of content sharing now [17:55] sergiusens: do you have a snap that can be used to test this? [17:57] note that we don't have the global sharing part yet (we need to allow all canonical-published slots to work this way) [17:57] elopio, sergiusens that branch is ready for another look. Do I need to run something locally, then? [17:58] zyga there are non, maybe start big and use kde? :-P [17:58] kyrofa: maybe ./runtests.sh snaps --skip-install [17:58] if you have a xenial vm, you could run with the install using --ip localhost. [17:59] elopio, I do, I'll use it [17:59] aatchison hey, so where are you at with this? [17:59] sergiusens: kde would be nice but I'd rather have others build something I can split [17:59] elopio, though it's not localhost. Can I use user@ip instead? [18:00] kyrofa: I think that the user is hardcoded to be ubuntu. There's a bug for that. [18:00] elopio, :( [18:00] I'm having some issues all around, but I can build a snap. I've just included speech-dispatcher as a stage-package. I could use some help with the pulseaudio interface stuff, as I don't see the interface existing [18:01] I knew making a VM without ubuntu was dumb [18:01] I'll just --skip-install [18:01] I finally figured out that I needed to use the app armor work around, because I have an encrypted home directory [18:02] kyrofa: well, actually making the testbed assuming that ubuntu was the user was dumb. [18:02] https://github.com/MycroftAI/snapcraft-mycroft-core [18:02] there is my yaml, if one would like to try [18:02] elopio, heh [18:02] kyrofa: but on your vm you can clone, and run from there. I think you will have to mkdir /home/ubuntu [18:02] elopio, I seem to remember there being issues using snapd from newly-created users [18:03] please file bugs for anything that makes that experience awful. I'll fix them next week. [18:03] elopio I've updated #590 [18:04] aatchison but does it work with --devmode, pulseaudio integration that is? [18:05] I'm getting this error: ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf [18:05] elopio, sergiusens crap. Ran out of hard drive space [18:06] I now see the pulseaudio interface when I run snap interfaces though, which didn't happen before [18:06] aatchison so pulseaudio != alsa (one may use the other, but they are not the same thing) [18:07] aatchison forget the interface, is that the error you get in devmode? [18:07] yeah, I thought that pulse would handle the alsa stuff [18:07] sergiusens: I think it is "inexistent" or "unexisting", not "inexisting". kyrofa can confirm. [18:07] yeah, installed with devmode [18:07] in other words, don't paint the house if the cement has not dried yet ;-) [18:08] elopio yeah, I sort of knew that but kept it :-P I can change if needed [18:08] elopio wait, non-existing is valid english ;-) [18:08] oh, test name :-P [18:09] sergiusens, elopio nonexistent [18:09] kyrofa: I use unexisting. Is that wrong? [18:10] kyrofa elopio inexisting is also valid, just checked the dictionary ;-) [18:10] Hahaha [18:10] Fine fine, they're all valid. Stupid english [18:10] Just another reason to learn spanish I guess [18:11] kyrofa: I'm in a bind now [18:11] zyga, what's up? [18:11] kyrofa: how come I learned english and not spanish as a kid [18:11] Hahaha [18:11] Yeah no kidding [18:12] kyrofa: just reacting to your comment above :) [18:12] zyga, does learning english make it harder to learn something else? [18:12] kyrofa: yes, very [18:12] I can imagine [18:12] it made me lazy [18:12] all the books and movies are in english [18:13] elopio kyrofa there, changed it completely so no grammar flame war can happen [18:13] :) [18:14] aatchison oh, why would you need access to that; the core image where this runs on top of doesn't have alsa [18:14] zyga ideas for that? ^ [18:14] ahh, I see. I know that were is an alsa snap, but... [18:15] aatchison no there is no alsa snap, just pulseaudio [18:15] aatchison what code is trying to do this and why? [18:16] mimic, out TTS program, is trying to use an alsa audio device. I don't know why it needs to access that file though [18:16] There is pulse audio support in mimic as well [18:17] sergiusens: alsa is in the kernel, it's always there but confinement refuses access [18:18] aatchison: do you have the denial log? [18:18] aatchison: and does the code you are working with support pulseaudio? [18:19] * zyga is super sleepy [18:19] http://paste.ubuntu.com/17814234/ [18:19] there is the audit log [18:19] yeah, it does support pulse audio [18:19] looking [18:20] thanks:) [18:20] aatchison: yes, that is clearly alsa [18:20] zyga his application fails as it wants to access alsa's config [18:21] sergiusens: those are harmless [18:21] aatchison: does this application support pulseaudio as a sound sink? [18:21] zyga in any case, that isn't a denial in devmode no is it? [18:21] I...believe so [18:21] says ALLOWED [18:21] let me check [18:22] sergiusens: that config file is probably just not there [18:22] aatchison: you need libpulse or similar in your snap [18:22] ahh, stage-packages? [18:22] aatchison: yes [18:23] awesome, ok [18:23] I'll pop that in there [18:23] aatchison: and you need o use the pulseaudio plug on that application [18:23] like so?: plugs: [pulseaudio] [18:23] under apps: [18:24] aatchison: uner the app that needs it [18:24] aatchison: pastebin the snapcraft yaml somewhere [18:24] k, I think I have that bit right [18:24] k [18:24] sergiusens: we need something like jsbin for snapcraft.yaml's [18:24] sergiusens, qmake look okay, then? [18:24] sergiusens: let people paste editable yaml [18:24] sergiusens: and others to edit that and share [18:26] http://paste.ubuntu.com/17814586/ [18:26] There it is, didn't add lib pulse yet [18:27] ok, I am here as well aatchison :) [18:27] zyga http://linkode.org/ seems to be down, but that is what you want [18:27] wahoo! [18:27] I was already lurking here :) [18:27] hehe [18:28] I'm swapping pulse sinks with pavucontrol while mimic is running, seems fine [18:28] I'll add that lib [18:29] > Papers, please! [18:29] aatchison, I installed it, which command to run it? mycroft-core.cli-client? [18:30] mycroft-core.mimic -t "hello" will run mimic [18:30] kyrofa did the --skip-install tests all work ok? [18:30] .messagebus start, .skills-client start , .speech-client start or .cli-client start [18:30] aatchison: so alsa is a nogo, we could add an alsa interface but the problem is that alsa is harder and more limited and also, exclusive, so you'd kill all sound on the host [18:30] sergiusens, still running, I'll ping you. But the code looks okay? [18:30] ahh, ok [18:31] trying mimic results in: failed to create user data directory. errmsg: Permission denied [18:31] I'm trying with the pulse lib installed [18:31] oh, you have to use the workaround for encryped home dires [18:31] kyrofa yeah, all good [18:31] Awesome [18:31] https://bugs.launchpad.net/snappy/+bug/1574556 [18:31] Launchpad bug 1574556 in ubuntu-core-launcher (Ubuntu Xenial) "apparmor denials reported for encryped HOME" [Medium,Triaged] [18:31] indeed, my home is encrypted [18:34] aatchison: now it does a core dump because it cannot access /usr/share/alsa/alsa.conf [18:34] ya [18:34] try the mycroft stuff :D [18:35] if I could at least get the thing to run with cli.... [18:35] that is the alsa issue, that was mentioned just now? [18:35] yeah [18:35] I'm asking if there is a pulse only flag for mimic [18:36] added: stage-packages: [libpulse0] , no dices [18:36] aatchison, I get a permission denied on the python dist-packages but is is still referring to the snapcraft parts directory... [18:38] hrm [18:38] yeah, I had that happen before [18:38] I'm not sure why [18:40] aatchison: do you remember how you fixed it? :) [18:40] sergiusens, elopio what on earth is this? http://pastebin.ubuntu.com/17815416/ [18:41] Also, sorry about the lack of line breaks. /me looks at elopio [18:41] Oh there it is: "Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved" [18:42] um, no.. i had that problem before I reinstalled my OS, now I don't have it anymore [18:42] Dangit... now I have to start that suite all over again?! [18:42] I pushed a new commit to the git [18:43] kyrofa: run just yours. [18:43] --filter [18:43] snapping the core [18:43] and the line breaks were solved in jenkins. I'm not sure I can do anything for the terminal. /me tries... [18:44] kyrofa network error or our test just broke and we need to update deps, not related to your stuff [18:44] elopio kyrofa echo interpret escape chars [18:44] sergiusens, elopio both qt examples run fine [18:44] ship it! [18:45] kyrofa: please file a bug for that maven one so I don't forget to debug it. [18:45] Yay! sergiusens sound okay? [18:46] kyrofa elopio echo -e http://pastebin.ubuntu.com/17815693/ [18:46] sergiusens, ah! Nice [18:46] kyrofa yeah, should be good; elopio find the `echo -e` equivalent for `print` in python [18:47] ok, compiling mimic with the --with-audio=pulseaudio flag, different results:D [18:47] Shipped [18:47] kyrofa: but wait, when you see the tests running they print newlines, right? [18:48] elopio, as they're running, yes. But not for errors [18:48] elopio kyrofa standup, come on! [18:48] sergiusens: omw. [18:48] Haha, sorry, got distracted pressing the button [18:49] Hey wait a minute... sergiusens isn't even here [18:49] kyrofa :-D [18:49] Jerk [18:51] aarchison, mmm to be sure I installed all updates and rebooted... no luck... [18:52] zyga http://linkode.org/ is up again [18:52] anybody else here, that would know why it tries to find a python lib from the parts directory where it got built? [18:53] dang [18:55] Let me set up a fresh 16.04 VM then [18:56] this is my dev machine, that got upgraded from 14.04, so it might have some old cruft in the way [18:57] that's actually the story of my last machine [18:58] o *snap I think I might have build it with pulse only support, about to push a new commit [18:59] lol, o snap :) [18:59] hehe [19:00] it's so close, I've seen it nearly run lol [19:00] next ... serial port stuff :P [19:02] mimic with pulse worked! [19:02] one dwon [19:04] ah, cool! [19:04] installing the vm, haven't been much help yet :) [19:05] hehe [19:05] well, since it takes so much time to find out that some bits are broken, if it builds at all, the more people building the better! [19:06] I updated the mycroft-core branch to use the correct cli entry point, if that will fly, we have mycroft ala cli [19:07] aatchison: but from the version numbering it seems this was still using 0.6.x instead of 0.7 [19:10] ahh, yeah, it's actually not building from a release anymore [19:10] I had to modify mycroft-core [19:10] so, it's on the branch feature/snapcraft [19:11] ah, I see [19:11] so no popey yet? [19:11] actually, it can have that [19:11] The mimic folks are working on a release with the precompiled voice [19:12] L) did you hear the latest Ubuntu UK podcast? [19:12] so we don't have to cludge in this giant, slow flitevox file anymore [19:12] snapcrafting again [19:15] ok, I effed it up [19:15] clean the pull! [19:15] you making a mycroft snap? [19:15] made another commit. I had my entry point all wring [19:16] yuuup:P [19:16] sweet [19:16] i had a go at that [19:16] not straightforward [19:16] yeah, kinda complex [19:16] I just got mimic working though! [19:17] so, at the very least we can snap that up and your voice can live in snapspace [19:19] aatchison, do I need to fully rebuild it? (it is still building the first run...) [19:20] snapcraft clean [19:20] that will clean all the way to the pull stage [19:20] snpacraft clean -s build if you only want to clean to the build stage, etc [19:22] ok, running snapcraft (again) [19:23] it's running! no mimic voice for some reason, but hey [19:24] ah, can't wait [19:30] sweet [19:31] elopio why does this https://github.com/ubuntu-core/snapcraft/pull/590 not have examples in it, did you disable them? [19:31] elopio and 'waiting for status' for a while [19:32] sergiusens: jenkins is still not up, I'm testing it. [19:32] it shows autopkgtest because we have it configured in the github settings as required. [19:33] ok, anything special that I might have to do to enable network connectivity? [19:33] aatchison: did mimic work for you? I get an xcb_connection_has_error, shm_open() failed: permisson denied [19:33] did you try sudo snap install --devmode ? [19:33] ah, nope [19:35] ok, that helps, I got an hello from mimic [19:36] aha! plugs , network [19:37] aatchison network fr client side things or network-bind for servery ones [19:37] so glad to be at the "it's running at least" stage [19:38] kyrofa question about https://github.com/ubuntu-core/snapcraft/pull/580/files [19:38] client side to reach the net [19:38] kyrofa seems the primed_set is not really used for anything now, is it? [19:38] but, actually we will need server side too [19:38] sergiusens, true, it doesn't need to exist, but I thought the need might arise to actually track them so I made it [19:39] sergiusens, not necessary though [19:39] kyrofa ok, was really confused on how primed_dependencies made things work [19:39] Hahaha, just the extra "if" is what solves the problem [19:39] kyrofa but it was actually the elif :-P [19:39] Yeah... if it's misleading I'll remove it [19:39] kyrofa it is fine [19:39] aatchison: ok, I can start the messagebus and cli-client, but it doesn't seem to be doing anything [19:40] sergiusens, okay [19:40] make sure you start the skills too [19:40] bus -> skills -> client [19:40] ah, I thought the cli-clinet did that as well [19:41] aatchison: speechclient fails [19:41] yeah, it's looking for pocketsphinx still [19:42] elopio http://162.213.35.179:8081/ghprbhook/ (issue_comment and pull_request) has a "is timing out" message on github [19:42] sergiusens: yes, jenkins is not up yet :D [19:42] but cli is giving me a message that device isn't paired, but gives no code. Wondering if it can reach the server [19:43] give me a few minutes. I got one green examples execution. Waiting for the autopkgtest one before enabling. [19:43] aatchison: yeah, I also get that, would that also prevent it from going into listening mode? [19:43] it should still be able to detect the wakeword locally, it needs pocketshpinx though [19:43] it should also be able to operate with cli only [19:45] and how would I then interact with it? [19:51] Is there a good solution to running a snap, but not have it think it's running as root? Something I'm working on detects that and helpfully exits telling me I shouldn't run it as root [19:52] I don't see anything in the snapcraft schema that allows this to be specified, but then I also wondered about whether it would even have access to $SNAP_DATA and things like that [19:52] plars, I'm afraid not. Many projects do that unfortunately, for reasons that are not valid within a snap [19:52] plars, however, in my experience (two projects, apache and php-fpm) there are ways to say "please do as I ask" [19:53] plars, indeed, SNAP_DATA is owned by root [19:54] kyrofa: a --just-do-it-dont-warn-me flag? :) I'll check, thanks! [19:54] wligtenberg, you should be able to just type into the cli whatever question you like [19:55] eg. 2 + 2 [19:55] eg. what's the weather [19:55] plars, yeah, something like --let-me-shoot-myself-in-the-foot-already [19:55] but until it pairs, it will just ask you to pair [19:55] aatchison: ok, that issue with no access to python libs, was also because I hadn't used dev-mode when installing. That does mean (if I understand it correctly) that it actually does a weird thing, because it tries to access the python lib from where it is built... [19:55] plars, for php-fpm it was -R [19:55] ahh, maybe that's the del [19:55] aatchison: indeed it asks me to pair :) [19:56] I'll try that [19:56] yeah, I have to check the server to see if it's actually trying to connect [19:56] aatchison: that's the del? [19:56] at least now I can work on my normal machine, instead of a vm [19:57] *deal [19:57] ah, ok :) [19:57] Hello [19:57] hello! [19:58] hi [20:00] I'm having trouble understanding how the snapcraft.yaml files are formatted and all the examples for the snapcraft.yaml files use make or autotools without passing any arguments. So my question is how would a snapcraft.yaml file look like using make with a target. e.g. on bash I would type "make release" [20:00] wouldn't dev-mode also give it access to networking? I thought it would basically remove isolation [20:01] well, it's not hitting the server for sure, that I ca nsee [20:01] hmm [20:01] monsterjamp, does `make` not use the `release` target? [20:01] monsterjamp, regardless, you can use the `make-parameters` option [20:01] monsterjamp, see `snapcraft help make` for more information [20:02] monsterjamp, but in most cases, it's just make -> make install, so that's what snapcraft does out of the box [20:03] I see, I haven't tried to make a snap yet, I was just following the "tour" and the tour seemed to avoid my question. [20:03] monsterjamp, ah ha. Well there you go! [20:03] :D [20:03] monsterjamp, similarly, cmake and autotools have `configflags` [20:04] monsterjamp, you can run `snapcraft help ` to learn more about any of them [20:04] I see, thanks for the help. I'm gonna try to make a snap and see how it goes. [20:05] monsterjamp, any time! Let us know if you have any questions :) [20:05] feel free to poke us if you have questions [20:06] popey, quick question. installing with --dev-mode removes all isolation, correct? [20:06] you can also do "confinement: devmode" in the yaml [20:06] My gift to the world (mainly sergiusens): http://pastebin.ubuntu.com/17820191/ [20:07] but i dont think it removes all isolation,no [20:07] Also I noticed that installing snaps doesn't need sudo, is that intentional? [20:07] ok, so would we still have networking isolation? [20:07] mycroft has issues calling home :) [20:08] kyrofa, hahaha [20:08] aatchison, I have a recursion problem somewhere :P [20:08] sure looks pretty though [20:09] hum, I thought that it was slow building the snaps, when it's actually slow executing snap remove :/ [20:11] wligtenberg, devmode snaps still get installed in /snap/ and thus are isolated in that manner, but it doesn't require interfaces anymore [20:11] wligtenberg, so it's completely unconfined [20:11] kyrofa, so no limitations to network access then? [20:11] wligtenberg, indeed [20:12] ok, aatchison, so no confinement issue then... [20:12] hmm [20:12] I added the network and network-bind plugs, and they are interfacing I can see [20:13] wligtenberg, aatchison but you still have the fact that you're in an isolated container, with your dependencies bundled [20:13] isolated = dependencies bundled in that case, I guess [20:17] sergiusens, figured out my problem [20:23] wligtenberg, I added the home plug, so mycroft can create those folders at least [20:23] good idea, I have to go now, but I will look at it later. You can always ping me on slack if you want me to check something [20:25] cool:) thanks for helping me check this out! [20:59] kyrofa do tell [20:59] * sergiusens i going type slowly as he has popcorn grease on his other hand [21:05] elopio snapcraft/tests/test_yaml.py in the define PR, what gives? [21:06] sergiusens: sorry, I need more information. What is your question? [21:10] So snapcraft makes the snap and I can install it but when I try to run my program via bash it returns "Bad system call" [21:11] snapcraft.yaml: http://paste.ubuntu.com/17823434/ makefile: http://paste.ubuntu.com/17823441/ [21:11] sergiusens: oh, I see. For some reason in #590 you removed the subversion lines: https://github.com/ubuntu-core/snapcraft/pull/590/files#diff-8dac611ed32f1d2128779826f0337076L207 [21:13] elopio is it ok to readd it in this one? [21:14] sergiusens: sure, why not. [21:14] elopio this was me trying to work from the tablet and settling with vimdiff [21:15] elopio also confusing is merging versus rebasing, the panes swap :-P [21:17] sergiusens: no harm done. [21:18] sergiusens: speaking of confusing, I'm making a mess with this store integration test. It will only be able to run from an ubuntu-core branch, so when we land PRs. And I in order to test it, I need to propose two PRs. Ignore me for now. [21:19] monsterjamp: the Debugging section here might help: https://developer.ubuntu.com/en/snappy/guides/security/ [21:35] I think I'm gonna make a really program and see if I can make a proper snap of it [21:39] elopio I guess this needs an update branch to at least trigger adt https://github.com/ubuntu-core/snapcraft/pull/600 [21:40] sergiusens: it sucks that we can't run update in other people's branches. [21:40] I guess that would be too much power. But I would trust you to use it for good :) [21:47] elopio well I am more for just using the main project when its a team thing [21:48] elopio just like I'd push to ~snappy-dev on launchpad for the team to be able to take over if required [21:51] elopio example tests failed now... so soon, so fast [21:51] * sergiusens connects to the vpn [21:52] elopio I haven't seen the openstack "too many security groups" error in a while! [21:53] maybe I didn't recover the cleanup job properly. [21:58] Well I was able to get a simple snap to build/run [22:00] damn, yes, that's not doable in lgw01. I will need more bash superpowers to parse the output there. [22:11] I can't get my other project to work though [22:11] When I run it via bash it still says "Bad system call [22:17] I really wish there was a good offline makefile example they had [22:18] Why does every example need a remote :/ [22:37] People on ##linux are saying I'm getting "Bad system call" since the snap I'm making uses a different glibc version than what's supported by my kernel [23:03] So I figured it out, I completely missed the part where you have to add interfaces for the snaps to work [23:08] monsterjamp might want to install your snap with --devmode to play around a bit [23:09] What does devmode allow me to do? [23:09] Is it the same as using snappy-debug? [23:16] monsterjamp it runs without confinement [23:16] Oh, now I understand what confinement is [23:16] elopio seems master is no broken :-/ I'll crank up some fixes (adt) [23:28] elopio https://github.com/ubuntu-core/snapcraft/pull/604 === bazhang_ is now known as bazhang