[00:21] Hey tsimonq2 [00:21] monsterjamp: hey, what's your progress? :O [00:21] *:) [00:23] Well I passed all the checks, I'm not sure where to go from here. I guess I have to wait till one of the collaborators notices my pr? [00:25] monsterjamp: let me do a full review quick here, so I can see if I can spot anything they would :) [00:26] monsterjamp: have you signed the Canonical CLA? [00:26] Yeah but my launchpad username is different than my github one. [00:27] monsterjamp: can you indicate so in your PR description? [00:28] Alright [00:30] monsterjamp: can you link it here? [00:31] My launchpad account? [00:32] tsimonq2 https://launchpad.net/~filjoa [00:35] monsterjamp: no your PR [00:36] Oh :P [00:36] https://github.com/snapcore/snapcraft/pull/664 [00:36] PR snapcraft#664: New plugin: Bash [00:38] Do most of the devs use Launchpad over GitHub? [00:38] well it depends [00:38] ...you aren't part of the Canonical CLA team in Launchpad? [00:39] I thought I signed it :/ [00:39] One sec [01:21] tsimonq2 sorry for the long wait, I couldn't get passwords and keys program to work. [01:22] But I finally got the CLA signed [01:22] I think [01:43] does anyone know how to assign a hardware to a snap app? I tried to build the snap at https://github.com/snapcore/snapcraft/tree/master/demos/webcam-webui, however, the camera seems not opened, and I cannot capture any pics. thanks [01:52] liuxg: "snap interfaces" and "snap connect" [01:55] qengho, how can I connect to the camera then? I used the command to connect the plug and slots. But I do not know how to connect to a camera [02:29] liuxg: You connected the app to the "camera" interface? [02:34] qengho, oh, yeah, thanks. I did not notice the camera interface. I will have a try [02:39] qengho, so, it is something like something like: sudo snap connect foobar:camera ubuntu-core:camera, right? [02:41] qengho, for the webcam-webui case, it is like something like: sudo snap connect webcam-webui:camera ubuntu-core:camera, right? [02:43] liuxg: Probably. All the pieces are in "snap interfaces" output. [02:44] qengho, yeah, previously, I did not see the "camera" interface there. thanks for your help! === JanC is now known as Guest1334 === JanC_ is now known as JanC [05:47] PR snapd#1559 closed: network-observe: add device read support [07:23] Bug #1603879 opened: Requesting additions to optical-drive interface for cdparanoia. [08:19] dholbach, ping [08:19] liuxg, pong [08:19] dholbach, how can I report a bug against the sample demo at https://github.com/snapcore/snapcraft/tree/master/demos/webcam-webui? [08:20] https://bugs.launchpad.net/snapcraft/+filebug [08:20] dholbach, the problem for the demo is that it misses the "camera" plug in the snapcraft.yaml [08:20] if that fixes it, you could send a pull request for it :) [08:21] dholbach, I think the tutorials for the docs both in the developer website and also the one in the documenthttps://github.com/snapcore/snapcraft/blob/master/docs/your-first-snap.md [08:21] ok [08:21] dholbach, I need to fork it first, right? [08:21] either that or just file a bug [08:22] dholbach, OK. I will file a bug first. [08:22] cool [08:23] any idea on this one [08:23] Uploading champ_0.0.1~git_amd64.snap [====================================] 100% [08:23] Received 403: 'Developer profile is missing short namespace.' [08:25] dholbach, anyway, I have created a bug at https://bugs.launchpad.net/snapcraft/+bug/1603895 [08:25] Bug #1603895: Missing "camera" plug in the webcam-webui sample app [08:25] dz0ny, do you need to head to https://myapps.developer.ubuntu.com/dev/click-apps/register-name/ maybe? [08:25] thanks liuxg [08:25] dholbach, you are welcome. [08:40] ln: failed to create symbolic link [08:40] sorry, I didn't want to paste that === hikiko is now known as hikiko|bbiab [09:00] dholbach: thx :) === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === olli_ is now known as olli [09:43] Hi all, does anyone has an idea why the qownnotes snap doesn't use the native Qt theming even though the binary is called with `desktop-launch` and uses `desktop/qt5`? https://git.launchpad.net/~pbek/qownnotes-snap/tree/snapcraft.yaml [09:44] -has +have [09:44] dholbach: maybe you? :) [09:44] didrocks, ^ do you know? is this something pstolowski maybe figured out? [10:40] Any good projects for a first snap? [11:38] camako: https://uappexplorer.com/app/qownnotes.pbek ;) [12:30] davidcalle, nice work on the snappy report [12:32] snapport [12:33] Hi. I've been running my snap on RPI without issues. But now I tried installing it classic image and getting this assertion. GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed; getpwuid_r(): failed due to unknown user id (0) [12:33] any ideas why this can be happening? [12:35] hey guys I am trying to install a new version of my snap app, but I got this error: error: cannot install snap file: snap "ubuntu-calendar-app" has changes in progress [12:36] I tried abort the changes with: sudo snap abort 32 [12:36] it is saying the changes was aborted: 32 Abort 2016-07-18T12:23:40Z - Install "ubuntu-calendar-app" snap from file "ubuntu-calendar-app_0.1_amd64.snap" [12:36] but I am still not able to install the app [12:37] zyga, ^ do you know what renatu can do? === hikiko is now known as hikiko|ln [13:34] PR snapd#1560 opened: Drop warning about 2.0 API being different - we're already 2.0! [13:39] PR snapd#1561 opened: many: remove integration-test coverage metrics [13:43] PR snapcraft#665 opened: Update broken links to https://snapcraft.io === hikiko|ln is now known as hikiko [13:55] erk, I just ctrl-c'd the wrong terminal and interupted an installing snap and when I try install again it says there are changes in progress. What do I do to fix it? [13:56] dholbach, sure [13:56] balloons, what did you do and what's the error message? [13:56] so whenever I do anything with snap, I get this error: sudo snap try prime/ [13:57] sorry, unless I use sudio I get: snap try prime/ error: access denied (snap login --help) [13:57] willcooke, it might be worth recording ("snap changes", etc.) the current state and let mvo, zyga and pedronis know [13:57] it's a bit confusing and the help didn't really clarify things. I assume this is working as expected, but from the user side is confusing [13:58] willcooke, in the worst case, you'd need to use: https://github.com/zyga/devtools/blob/master/reset-state [13:58] thanks dholbach [13:58] balloons, what are you trying to do? [13:58] dholbach, I made a snap, and now I want to iterate on it [13:58] balloons, afaik you shouldn't have to use "sudo" for "snappy try" [13:58] balloons, are any files owned by root now? [13:58] dholbach, I installed it and had to use sudo or it gave me the error [13:59] so if I shouldn't have to do that, then that's a bug I guess [13:59] dholbach, well I can check. However, after installing, I couldn't find my new binary [13:59] can you remove the one that's already installed? [13:59] (which is why I tried out 'snap try') [13:59] does "snap list" say? [13:59] does "snap list" list it? [13:59] and it's worth using "snap login" :) [14:00] willcooke, snapd is actually two things: a client and a server [14:00] snap list does list the one I installed with 'try' [14:00] willcooke, ctrl+c'ing the client currently only cancels the displaying of the install-- not the install itself (which happens server-side) [14:00] willcooke, this is a bug [14:00] willcooke, if you run `snap changes` you'll see the installation still happening [14:01] kyrofa, ah! cool Oki, so it says... [14:01] 105 Done 2016-07-18T13:53:57Z 2016-07-18T13:55:33Z Install "libreoffice" snap from "beta" channel [14:01] so that's probably good news [14:01] and indeed it is! It runs! [14:01] willcooke, you can wait for it to finish, or you can abort it with `snap abort ` [14:02] kyrofa, we're all good. thanks [14:02] balloons, can you remove it, then do snap login and then snap try without sudo? [14:02] willcooke, no problem, just wanted to make sure you had the full picture [14:02] and maybe check if some of your files are now owned by root :) [14:02] dholbach, I was under the impression I didn't need an account to use snappy. What would I login as? [14:03] popey, are you in a session right now? [14:03] balloons, you don't have to, but it's nice to use it with the ubuntu store (just like the phone) [14:03] it's just normal sso [14:04] dholbach, I'm assuming it will "fix" my issue, but it seems like there is a bug then if I can't do this without logging in? [14:04] let me try to log out and use 'snap try' just like that [14:05] I find it very convenient, so I never tried [14:05] (and I'm not hacking on snapd, so I don't know specifics :-)) [14:05] ok, so logging out, I have to use "sudo snap try prime/" [14:06] and it works just fine [14:06] dholbach, ok. So is that "expected" behavoir? [14:06] sounds like I should just open a bug and see what the feedback is [14:06] PR snapd#1562 opened: many: cleanup/update rest.md; improve auth errors [14:08] I think I'd rather send a mail to the list [14:08] especially if you don't know if it's a bug [14:08] let me see if I can find anything in the docs about this [14:09] "snap login --help" says http://paste.ubuntu.com/19901483/ [14:10] so yeah, use "sudo" if you really don't want to use "login" [14:10] if "try" then still doesn't work, then that's a bug (if the prime/ directory of your snap is not broken) [14:11] Bug #1604016 opened: Snap requires sudo if not logged in [14:11] ... [14:12] dholbach, I did see snap login --help, but I didn't find the help to be very clear [14:12] (though obviously I did manage to figure it out and using sudo aligns well with the traditional apt experience) [14:13] ok, I think the bug is fair with regard to expecting a clearer error message [14:13] I just finished the 'Your first snap' on the Ubuntu website, how to I actually run the snap, I tried the commands and there not working... [14:14] balloons, does the snap work when you "try" it? [14:14] dholbach, ty. Feel free to mark won't fix, etc. I may be the only one who missed the boat on it :-) [14:14] Cavan, which command fails? [14:14] balloons, no, sorry - I think the bug is quite fair :) [14:16] dholbach, snap try prime does stuff, then prints a display showing the output of snap list with just my snap listed. That said, I think it's the snap. I have binaries in prime/bin, but there don't seem to be any executed [14:16] I may be doing something wrong, followed all the steps and completed in but cant figure out how to run it. 'command: bin/webcam-webui' Is the only command in the.yaml [14:16] balloons, does the snap contain a service or an app? [14:16] balloons, can you pastebin the snapcraft.yaml? [14:17] Cavan, it's supposed to run a service [14:18] dholbach, http://paste.ubuntu.com/19902241/. This is another attempt at snapping juju. snapcraft handled it well enough it seems. hat snapcraft.yaml file is from like April :-) [14:18] Cavan, can you try to add 'camera' to the plugs definition? [14:18] balloons, can you just run ./prime/bin/juju --help? [14:19] Cavan: if you have fresh install of snapd you have to reboot device [14:19] dholbach, yes I can. Binary seems fine [14:19] it needs to setup some discovery stuff for your profile :) [14:19] PR snapcraft#666 opened: Allow / in parts [14:20] balloons, if you have the juju Ubuntu package installed, it will trump whatever snap provides it ("which juju" should confirm) [14:20] if I am creating a snap for a project that uses a custom build script, do I have to create a script plugin or is there an existing plugin that will work? [14:20] sergiusens, ^ nice PR # :-P [14:20] dholbach, I think its already in the plug definitions, I can link you the website if you like? dz0ny, reboot my pc? [14:21] ratliff, yes, a custom plugin sounds sensible (https://developer.ubuntu.com/en/snappy/build-apps/plugins/) [14:21] dholbach, blargh. /snap/bin/juju, not $SNAP/bin/juju [14:21] makes more sense [14:21] mhm, or just logout&login [14:22] renatu, dholbach: sorry :/ [14:22] Cavan, https://bugs.launchpad.net/developer-ubuntu-com/+bug/1600122 was filed earlier and I hadn't had time to look at it yet [14:22] Bug #1600122: Cannot successfully build the webcam-webui example on 16.04 [14:23] zyga, rebooting the machine did the trick :D [14:23] renatu, nice :-) [14:24] thanks, dholbach! next question: if I have a build config file (silently answers questions that the custom build script asks), does it exist in the directory next to snapcraft.yaml or should I store it elsewhere? [14:24] dholbach, I'm not receiving any errors, I just cant figure out how to run the service after the snap is complete [14:24] ratliff, where does your build script expect it? [14:24] Cavan, ok, let me try it too [14:25] Cavan, if you install it and do "ps afxvw | grep cam" - what do you see? [14:25] in the same directory as the build script. top level directory after the tarball is expanded [14:26] ratliff, ok, in that case just put it in the same dir [14:27] dholbach, ps afxvw | grep cam 26675 pts/1 S+ 0:00 0 200 21099 960 0.0 | \_ grep --color=auto cam 26665 ? Ss 0:00 0 0 4508 796 0.0 /bin/sh /snap/test-snap/x2/bin/webcam-webui [14:27] ok, so the webui is running [14:27] do you mean copy it in after the tarball is expanded? [14:28] dholbach, is there anyway to view it, like an actual UI or something? [14:28] dholbach, thanks for your help! When I'm in devmode, should I expect any differences between the binary in prime, and my snap binary? [14:28] jdstrand, I'm having a snappy-debug issue: http://pastebin.ubuntu.com/19903287/ [14:29] Cavan, looking at it right now - give me a minute [14:29] dholbach, (I ask because clearly I'm seeing failures that only happen running the snapped version) [14:29] balloons, some, but I don't know specifics [14:29] dholbach, brillant. So I'll work on solving them then. ty [14:29] balloons, you can use snappy-debug.security (from the store) to see failures logged [14:29] jdstrand is still supposed to be on vacation today [14:30] ^^ kyrofa [14:30] ratliff, ah, thanks for the heads up [14:31] balloons, I think Jamie once wrote a mail to explain how it works and what exactly is different, but I can't find it right now - it'd be great to add that answer to http://askubuntu.com/questions/783945/what-is-devmode-for-snaps [14:32] is there a way to host a private snappy repo that the `snap` tool can interact with yet? [14:33] dpm: hey, do you want to meet and talk about day wrap up summay? [14:33] summary* [14:34] kyrofa, does the webcam-webui work for you? [14:36] dholbach, snappy debug showed me the app armor denials, which correspond to the issue I see. Thanks [14:36] balloons, cool [14:37] PR snapd#1563 opened: Hardware observe [14:43] SamYaple: I haven't tried it yet, but this looks fresh: https://github.com/noise/snapstore [14:45] Croepha: so thats not official, but a RE of the apis. Worth following [14:46] dholback, any luck or should I just move to a different project for now? [14:46] dholbach* [14:47] ratliff, yep, that sounds good [14:47] Cavan, you could have a look at the other examples in https://github.com/ubuntu/snappy-playpen or https://github.com/snapcore/snapcraft/tree/master/demos [14:48] Cavan, they should give you a good idea of what's all possible [14:48] and ideas for your own project :) [14:48] dholbach, cool thanks [14:48] :-) [15:00] i'm trying to make a snap package from a single executable binary (the output of a game engine), however I can't seem to get it to work. I can make the snap package, however when I install it and run the command to execute the program, it segfaults [15:00] renatu, Hey I heard that you met this error while building the addressbook http://paste.ubuntu.com/19906424/ [15:00] renatu, do you have a workaround? === chihchun is now known as chihchun_afk [15:02] thurston, can you install 'snappy-debug' from the store (snap install snappy-debug) and run 'snappy-debug.security scanlog' and then run the snap again and see what happens? [15:02] thurston: you will probably need bunch of dri,x11 libs in package too [15:02] thurston, I could imagine that it's an apparmor/seccomp denial [15:02] or what dz0ny said... missing deps(?) [15:02] snappy debug? i'll check it out [15:02] it's good stuff :) [15:04] okay i have snappy-debug, how to use it? [15:05] can't even figure out what the man page is [15:05] "snappy-debug.security scanlog" [15:05] dholbach: on that note, how would you enable access to specific libraries on host, like rpi video drivers in /opt/vcore ? [15:06] run that in one terminal, and run your app in another [15:06] dz0ny, I have no idea - I'd probably ask on the snapcraft list :-/ [15:07] OKAY [15:07] looks like an apparmor problem [15:07] Log: apparmor="DENIED" operation="connect" profile="snap.rpgdiceroller.rpgdiceroller" pid=24743 comm="rpgdiceroller" family="unix" sock_type="stream" protocol=0 requested_mask="send receive connect" denied_mask="send connect" addr=none peer_addr="@/tmp/.X11-unix/X1" peer="unconfined" [15:08] thurston, add the x11 plug and rebuild the snap === chihchun_afk is now known as chihchun [15:10] dholbach, thoughts on Log: apparmor="DENIED" operation="bind" profile="snap.juju.juju" pid=11972 comm="juju" family="unix" sock_type="stream" protocol=0 requested_mask="bind" denied_mask="bind" addr="@/var/lib/juju/mutex-/store-lock"? It seems like seccomp allows me to bind, but the /var/lib/juju is a no-no. How can I play ith this? I looked at playing with the profile rules directly, but that won't help the snap [15:10] alright, I've tried to read on how to add plugins, but haven't successfully done it yet... do i copy from my local libraries? [15:10] balloons, no idea - I'd suggest asking on the list or see if juju can be configured to look for data elsewhere? [15:11] thurston, not plugins, plugs [15:11] thurston, in the "apps:" definition [15:12] k, checking that out [15:12] cool [15:14] how do i reference x11? plugs: x11 doesn't work [15:14] dholbach, I'm trying to build the calculator to test some autopilot stuff and get http://paste.ubuntu.com/19906424/ and the diff is http://paste.ubuntu.com/19906861/ [15:14] dholbach, this is with the snapcraft.yaml from trunk [15:14] dholbach, do you know what it is? I'm building on yakkety [15:15] got it, nevermind [15:17] asac GOARCH=$arch GOARM=7 CGO_ENABLED=1 CC=${plat_abi}-gcc go build -ldflags "-extld=${plat_abi}-gcc" [15:18] asac plat_abi=arm-linux-gnueabihf [15:18] jibel, try this http://paste.ubuntu.com/19908318/ [15:18] jibel, is not working for gtk but I think it works for qt5 [15:20] k, i got rid of the apparmor issue, and now it just segfaults with no debug output [15:23] renatu, it is not working [15:26] Is there a way to force-remove a snap? I am trying to remove the calculator app but am getting : [15:26] 2016-07-18T10:25:10-05:00 ERROR cannot remove snap file "ubuntu-calculator-app", will retry: [stop snap-ubuntu\x2dcalculator\x2dapp-5.mount] failed with exit status 1: Job for snap-ubuntu\x2dcalculator\x2dapp-5.mount failed. See "systemctl status "snap-ubuntu\\x2dcalculator\\x2dapp-5.mount"" and "journalctl -xe" for details. [15:26] [-] Remove snap "ubuntu-calculator-app" from the system [15:27] jibel, in a call, will get back to you in a bit [15:30] dholbach, I'm seeing some of the snapd state issues again when using install / try: http://paste.ubuntu.com/19909550/ [15:38] balloons, can you please send a mail to the snapcraft list? [15:38] I'm about to wrap up my day and need to finish something else [15:38] dholbach, sure thing. No worries [15:38] cool [15:39] jibel, try to apply something like this: https://github.com/ubuntu/snappy-playpen/pull/178/files [15:39] PR ubuntu/snappy-playpen#178: fix build by working around #1600238 [15:39] lfaraone, according to popey Heidelberg sprint coordination stuff is fine in here ;-) [15:39] kk :P === chihchun is now known as chihchun_afk [15:58] what is the purpose of autotools related install-via: and what options does it support? [16:04] all right - I call it a day - see you all tomorrow! [16:18] who handles updates of ubuntu-core? I was wondering if/when that would be updated [16:19] some of the snap tests that we run in checkbox hit a problem with the version of snap installed inside the existing ubuntu-core snap (normally wouldn't be an issue I suspect but for us it is). If I force it to use a newer version of 'snap' then it works, but it's a bit hacky [16:19] if we had a more recently built version of the ubuntu-core snap thouh, I think it would just work [16:36] plars, have you tried the one on edge? [16:37] kyrofa: seems to be the same version, unless I'm doing it wrong: [16:37] https://www.irccloud.com/pastebin/847trhlp/ [16:38] plars, ah, okay. Ask mvo, then [16:38] ack, thanks === Michaela is now known as Mikaela [18:11] I'm trying to package an app that requires apparmor read access to /dev/sda1, as well as cap_sys_rawio. This isn't currently provided by any of the default interfaces. Is this something that could potentially be added? [18:12] I'm not really sure that it fits with any of the existing interfaces, though (maybe 'system-observe', based purely on name, anyway) [18:21] tsimonq2 I guess it just takes a while for the CLA to be approved, but I just got an email that says I'm in the Canonical Contributor Agreement team on Launchpad. [19:05] PR snapd#1564 opened: snap/squashfs: fix test not to hardcode snap size [19:19] Bug #1604123 opened: speed-test snap error TypeError: Cannot read property 'settings' of null [19:28] Bug #1604123 changed: speed-test snap error TypeError: Cannot read property 'settings' of null [19:52] well cool monsterjamp [19:53] kyrofa: ping [20:12] plainbox-test-tool in the demos section of https://github.com/snapcore/snapcraft errors out with "Issue while loading plugin: unknown plugin: plainbox-provider" after I issue the snapcraft command [20:57] cwayne: ^^ (look at ratliff's comment please) [21:30] are you guys going to release snap-confine again today or should i upload 1.0.38 to debian? :) [22:19] ratliff: zyga: which version of snapcraft were you running? it hasn't been included in a release yet afaik