[02:45] anyone here? [02:45] I have a problem when using snapcraft [02:45] https://pastebin.ubuntu.com/23656750/ [02:46] It seem the source problem. Could anyone help me with that. [04:14] Hello everyone... I just downloaded go and the snapd code and I am running this command [04:14] go build github.com/snapcore/snapd/... [04:14] it finishes in less than a min and doesn't print out any log. and no error message. but it doesn't create anything either. [04:16] any pointers as to what I might be doing wrong. I am new to go and snapd. === chihchun_afk is now known as chihchun [04:42] [20:14] Hello everyone... I just downloaded go and the snapd code and I am running this command [20:14] go build github.com/snapcore/snapd/... [20:14] it finishes in less than a min and doesn't print out any log. and no error message. but it doesn't create anything either. [20:16] any pointers as to what I might be doing wrong. I am new to go and snapd. [04:42] PR snapcraft#1009 opened: Implement push pre-check [05:56] ogra_: hey, I have a series 16 all snaps vm using the provided images. what is the correct way to setup a swap file? I created the file, did swapon and all that is fine, but fstab is overwritten on boot [06:29] http://pastebin.ubuntu.com/23657170/ [09:45] PR snapd#2505 closed: many: behave more consistently when pointed to staging and possibly the fake store [10:21] fgimenez, ping [10:26] fgimenez, some tasks failed yestarday on db [10:26] https://pastebin.canonical.com/173929/ [10:26] have you seen any of this? [10:31] vigo, hey, you should execute the suite from the release/2.20.1 branch, there's also a fix for the random reboot that haven't landed yet https://github.com/snapcore/snapd/pull/2516/files, could you please rerun applying that patch from the release branch? [10:31] PR snapd#2516: tests: cancel the scheduled reboot on ubuntu-core-upgrade-no-gc and restore state === JanC_ is now known as JanC [11:05] Hello! Is there any way to access a unix socket created by an external process (like postgresql) from a SNAP? [11:51] jdstrand, that would need either some extra code in initramfs (which creates the fstab) or a dedictaed systemd unit that calls swapon etc [11:51] (i think i'd actually opt for the latter) === chihchun is now known as chihchun_afk [12:11] Kaleo: hi! Do you know where the desktop-launch helper is coming from? [12:25] mardy: iirc it comes from either the desktop-qt5 or desktop-gtk3 parts, depending on which you use [12:27] Elleo: I'm browing through https://github.com/ubuntu/snapcraft-desktop-helpers, but I cannot find it [12:29] Elleo: ah, got it, it's generated by a makefile :-) [12:29] mardy: it looks like the launcher-specific file gets installed as it [12:29] Elleo: like here: https://github.com/ubuntu/snapcraft-desktop-helpers/blob/master/gtk/Makefile [12:30] yeah :) [12:57] ogra_: where do I file bugs for the pi2 kernel snap? [13:48] ogra_: ack, thanks. I think I'll make a devmode snap for now and think about this over the holiday [13:48] * jdstrand -> back to enjoying holiday :) [13:59] elopio, ping [14:03] sergiusens, kyrofa do you see this bug at https://bugs.launchpad.net/snapcraft/+bug/1650946.. Now I am trying to build a classic app on 16.04 [14:03] Bug #1650946: unhelpful error when building a classic snap: classic confinement requires the core_dynamic_linker to be set [14:07] could somebody have a look at https://bugs.launchpad.net/snappy/+bug/1650671 and tell me if there is any info missing? It would be great if content interface could be fixed [14:07] Bug #1650671: Content sharing from snap common is broken === chihchun_afk is now known as chihchun [14:41] guys am having issues with nwjs app while snaping it [14:41] log says adjust program to create files and directories in /dev/shm/snap.$SNAP_NAME.* [14:42] how can i do this please :( [14:42] zyga: help [14:42] mhall119: hi bro [14:43] i also having pulseaudio in my plugs and my app cant produce audio [14:52] ogra_: fyi, https://code.launchpad.net/~jdstrand/+git/swaps [14:52] PR snapd#2517 closed: tests: add hello-classic test [14:52] ogra_: I know that isn't what you had in mind, but I have a swap file on my vm now ;) [14:57] how to set $XDG_RUNTIME_DIR in snap?? [14:58] https://bugs.launchpad.net/snap-confine/+bug/1620442 [14:58] Bug #1620442: snap fails because XDG_RUNTIME_DIR is set to /run/user/1000 [14:59] jdstrand, hah, cool, thats a way cleaner solution :) [15:01] (not to far from my second suggestion either ... i didnt think about snapping it ... ) [15:04] ogra_: export: XDG_RUNTIME_DIR:/dev/shm/snap.simple-gulp.*: bad variable name [15:05] snapd is still affected by this bug [15:05] bull_, uh, what does /dev/shm have to do with XDG ? [15:05] thats surely not right [15:05] ogra_: idont know [15:05] this is what am getting man [15:05] well, why do you ry to set that var to it ? [15:05] *try [15:06] cause https://bugs.launchpad.net/snap-confine/+bug/1620442/comments/7 [15:06] Bug #1620442: snap fails because XDG_RUNTIME_DIR is set to /run/user/1000 [15:06] check this out man [15:06] XDG_RUNTIME_DIR needs to point to a user owned dir under /run ... /dev/shm is a memory sharing device ... the two are completely unrelated [15:06] (device vs chaching dir for apps) [15:07] sho what you suggest me to do ? [15:07] my app not russing cause of this isue [15:07] fix your app to write to a subdir of /dev/shm, not to /dev/shm directly [15:07] (i think the apparmor message even says so) [15:07] its based on nwjs man i cant fix that :( [15:07] totally not related to any XDG vars [15:07] you need to fix your app [15:07] ogra_: yes it is [15:07] seems it has /dev/shm hardcoded somewhere [15:08] no man [15:08] it is a simple nwjs app [15:08] it surely does [15:08] either your app or whatever interpreter it uses then [15:08] so am not telling chromium engine to write anything it is configured by them [15:08] the team [15:09] well, read up about the browser interface if you use a browser [15:09] again,. totally unrelated to any xdg stuff [15:09] yes browser interface is there [15:09] read that bug man [15:09] that is reproduced by my condition so its a bug :( [15:10] your problem is about /dev/shm [15:10] read the bug ;) [15:10] not related at all [15:10] the bug is about dirs under /run [15:10] how to configure hard coded chromium stuff :D [15:10] no idea [15:11] lol [15:11] am fkked [15:11] after making apps they fails at end while packaging :D [15:11] i'd read up about the browser interface, about how it handles /dev/shm and about the browser sandboxing [15:11] and now i'm back on vacation [15:12] * ogra_ goes back to his soldering iron and multimeter ... [15:12] you on vacations? [15:12] everyone is :( [15:12] yes [15:12] most employees are [15:12] till ? [15:12] new year at least [15:13] i made same app with qwebengine and failed at last while snapping it :D so i ported to nwjs and same here :( [15:13] ogra_: enjoy :D [15:13] anyway, that bug is unrelated to your prob (i'm sure there is one about /dev/shm and chromium sandboxes too though [15:13] ) [15:13] where r u from ? [15:13] germany [15:13] it is not related to bug :D [15:13] :D [15:13] m from india [15:14] man [15:14] can how can we - adjust program to create files and directories in /dev/shm/snap.$SNAP_NAME.* [15:15] is /dev/shm/* is allowed to be written by snaps ?? [15:15] ogra_: :( [15:16] am going for dinner tyl [15:17] bull_: only if you use the snappy subfolder === chihchun is now known as chihchun_afk [15:23] PR snapcraft#1010 opened: Add 'desktop' and 'icon' entries for apps (LP: #1588359) [15:29] kalikiana_: ?? [15:47] hi ogra_ [15:47] ogra_: hi, is the 410c's gadget project on github https://github.com/snapcore/dragonboard-gadget the one current image use? I remember old gadget contained meta/snap.yaml file then ubuntu-image use it to find local gadget file. Now how to generate it if no meta/snap.yaml? [15:47] PR snapcraft#1011 opened: travis: use docker run -w option to set working dir [15:48] bull_: You asked if you can write to /dev/shm - if you read the error message again you'll see that it answers your question [15:48] kalikiana_: i says permission denied [15:48] it [15:49] how to adjust program to create files and directories in /dev/shm/snap.$SNAP_NAME.* [15:49] AppArmor suggest this [15:49] AppArmor thinks snaps can write in /dev/shm/* [15:50] kalikiana_: ? [15:51] bull_: Yes, exactly [15:51] You can write to the subfolder [15:52] But if you try to write somewhere else, say /dev/shm/foobar it won't work [15:52] kalikiana_ i did this https://pastebin.ubuntu.com/23659442/ [15:52] but it wont affect [15:53] kalikiana how to set that path that is the ain problem man [15:53] kalikiana_: firefox team also reported this error :D [15:59] kalikiana_: https://lists.ubuntu.com/archives/snappy-devel/2016-May/001800.html [16:02] PR snapcraft#1012 opened: travis.yaml: use docker exec to split build phases [16:06] ogra_: https://bugs.launchpad.net/snapcraft/+bug/1577514 [16:06] Bug #1577514: Support preloading to make snaps feel at home [16:06] ogra_: nwjs is based on chromium too [16:26] Does anyone recognize this error? I'm wondering if I missed a kernel patch. I'm on ubuntu core with a custom kernel: [16:26] cannot bind-mount the mount namespace file /proc/2236/ns/mnt -> hello-world.mnt. errmsg: Permission denied [16:26] support process for mount namespace capture exited abnormally [16:27] zyga: :( === rcj` is now known as rcj === rcj is now known as Guest61336 === Guest61336 is now known as rcj [16:49] could somebody have a look at https://bugs.launchpad.net/snappy/+bug/1650671 and tell me if there is any info missing? It would be great if content interface could be fixed [16:49] Bug #1650671: Content sharing from snap common is broken [17:18] PR snapd#2518 opened: many: put a marker in the User-Agent sent by snapd/snap when under testing [17:58] Hi, I was wondering if I am allowed to create a snap package of software I did not write === ben_r_ is now known as ben_r [18:23] PR snapd#2519 opened: tests: skip packaging dir generation for non-git based autopkgtest runs [18:36] PR snapcraft#1000 closed: Updated godeps plugin to use get_pull_properties() [18:36] hernajua, nothing is stopping you. It's possible for upstream to request the name, though [19:03] is snapcraft expected to build with multiple cores for kernels? [19:05] ahh, I missed it, it passes -j1 only for the config step but switches to more cores after that [19:07] mfeatherston, indeed [19:07] mfeatherston, pure death otherwise :P [19:43] I am looking for help on how to search all snapcraft.yaml files examples on github with a unique parts section. For instance I would like to search for how others have added subdirectories of git repositores. [19:44] I found something like this before one the canonical pages but I cant seem to find it now [19:54] Diff Question - Is there a way to have a file copied to the "users" home directory, when a snap is installed? For instance - when you install a snap a README.md file is copied to "/home//" [20:10] grapestomper, I'm not sure what you're asking. subdirectories of git repositories? [20:11] grapestomper, you mean e.g. your Makefile is located in a subdirectory? [20:12] hi kyrofa - in my main git folder I have two sub folders were code that I want to compile lives. The folder structure is only for sanity puposes, but its where the code is [20:13] grapestomper, is it two separate projects, then? [20:13] jdstrand, hy [20:13] hi [20:13] jdstrand, I am getting not allowed by 'deny-connection/slot-attributes' in base declaration declaration-snap-v2_slots_deny-connection (kpi-dbus-signals, dbus) [20:13] :) yes - I could be using git wrong [20:14] jdstrand, trying to submmit the snap [20:14] jdstrand, any idea? [20:15] kyrofa - I use subfolders to seperate projects. Maybe its not a good idea? [20:15] grapestomper, so you have a git repository containing two independent projects? Or does one depend on the other? [20:16] kyrofa - two independant projects [20:17] grapestomper, do you only want one in the snap, then? [20:17] kyrofa - yes [20:17] grapestomper, oh, well then, that's easy. Use the `source-subdir` option [20:18] ok - found that in the docs. I was looking for an example of that being used - have you seen one? [20:18] an example that is [20:20] grapestomper, I'm working on one as we speak, actually [20:20] Not an example, but using it rather [20:21] grapestomper, it's pretty simple: just a relative path from the root of the source [20:21] And then snapcraft will run make (or whatever) from there [20:33] quit [21:27] PR snapcraft#1001 closed: plugins: update catkin plugin to use get_pull_properties() === JanC is now known as Guest67153 === JanC_ is now known as JanC [21:44] kyrofa - thanks [21:44] I will give it go