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