/srv/irclogs.ubuntu.com/2016/12/20/#snappy.txt

Joe_Donganyone here?02:45
Joe_DongI have a problem when using snapcraft02:45
Joe_Donghttps://pastebin.ubuntu.com/23656750/02:45
Joe_DongIt seem the source problem. Could anyone help me with that.02:46
nmahendruHello everyone... I just downloaded go and the snapd code and I am running this command04:14
nmahendrugo build github.com/snapcore/snapd/...04:14
nmahendruit 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
nmahendruany 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
mupPR snapcraft#1009 opened: Implement push pre-check <Created by squidsoup> <https://github.com/snapcore/snapcraft/pull/1009>04:42
jdstrandogra_: 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 boot05:56
Joe_Donghttp://pastebin.ubuntu.com/23657170/06:29
mupPR 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
vigofgimenez, ping10:21
vigofgimenez, some tasks failed yestarday on db10:26
vigohttps://pastebin.canonical.com/173929/10:26
vigohave you seen any of this?10:26
fgimenezvigo, 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
mupPR 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
teoincontattoHello! 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 etc11:51
ogra_(i think i'd actually opt for the latter)11:51
=== chihchun is now known as chihchun_afk
mardyKaleo: hi! Do you know where the desktop-launch helper is coming from?12:11
Elleomardy: iirc it comes from either the desktop-qt5 or desktop-gtk3 parts, depending on which you use12:25
mardyElleo: I'm browing through https://github.com/ubuntu/snapcraft-desktop-helpers, but I cannot find it12:27
mardyElleo: ah, got it, it's generated by a makefile :-)12:29
Elleomardy: it looks like the launcher-specific file gets installed as it12:29
mardyElleo: like here: https://github.com/ubuntu/snapcraft-desktop-helpers/blob/master/gtk/Makefile12:29
Elleoyeah :)12:30
morphisogra_: where do I file bugs for the pi2 kernel snap?12:57
jdstrandogra_: ack, thanks. I think I'll make a devmode snap for now and think about this over the holiday13:48
* jdstrand -> back to enjoying holiday :)13:48
liuxgelopio, ping13:59
liuxgsergiusens, 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.0414:03
mupBug #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
jacekncould 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 fixed14:07
mupBug #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 it14: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: help14:42
bull_mhall119: hi bro14:42
bull_i also having pulseaudio in my plugs and my app cant produce audio14:43
jdstrandogra_: fyi, https://code.launchpad.net/~jdstrand/+git/swaps14:52
mupPR snapd#2517 closed: tests: add hello-classic test <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2517>14:52
jdstrandogra_: 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/162044214:58
mupBug #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 name15:04
bull_snapd is still affected by this bug15:05
ogra_bull_, uh, what does /dev/shm have to do with XDG ?15:05
ogra_thats surely not right15:05
bull_ogra_: idont know15:05
bull_this is what am getting man15:05
ogra_well, why do you ry to set that var to it ?15:05
ogra_*try15:05
bull_cause https://bugs.launchpad.net/snap-confine/+bug/1620442/comments/715:06
mupBug #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 man15: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 unrelated15: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 isue15:07
ogra_fix your app to write to a subdir of /dev/shm, not to /dev/shm directly15: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 vars15:07
ogra_you need to fix your app15:07
bull_ogra_:  yes it is15:07
ogra_seems it has /dev/shm hardcoded somewhere15:07
bull_no man15:08
bull_it is a simple nwjs app15:08
ogra_it surely does15:08
ogra_either your app or whatever interpreter it uses then15:08
bull_so am not telling chromium engine to write anything it is configured by them15:08
bull_the team15:08
ogra_well, read up about the browser interface if you use a browser15:09
ogra_again,. totally unrelated to any xdg stuff15:09
bull_yes browser interface is there15:09
bull_read that bug man15:09
bull_that is reproduced by my condition so its a bug :(15:09
ogra_your problem is about /dev/shm15:10
ogra_read the bug ;)15:10
ogra_not related at all15:10
ogra_the bug is about dirs under /run15:10
bull_how to configure hard coded chromium stuff :D15:10
ogra_no idea15:10
bull_lol15:11
bull_am fkked15:11
bull_after making apps they fails at end while packaging :D15:11
ogra_i'd read up about the browser interface, about how it handles /dev/shm and about the browser sandboxing15:11
ogra_and now i'm back on vacation15:11
* ogra_ goes back to his soldering iron and multimeter ...15:12
bull_you on vacations?15:12
bull_everyone is :(15:12
ogra_yes15:12
ogra_most employees are15:12
bull_till ?15:12
ogra_new year at least15: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 :D15:13
ogra_anyway, that bug is unrelated to your prob (i'm sure there is one about /dev/shm and chromium sandboxes too though15:13
ogra_)15:13
bull_where r u from ?15:13
ogra_germany15:13
bull_it is not related to bug :D15:13
bull_:D15:13
bull_m from india15:13
bull_man15: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 tyl15:16
kalikiana_bull_: only if you use the snappy subfolder15:17
=== chihchun is now known as chihchun_afk
mupPR 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
shuduoogra_: 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
mupPR 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 question15:48
bull_kalikiana_: i says permission denied15:48
bull_it15:48
bull_how to adjust program to create files and directories in /dev/shm/snap.$SNAP_NAME.*15:49
bull_AppArmor  suggest this15:49
bull_AppArmor  thinks snaps can write in /dev/shm/*15:49
bull_kalikiana_: ?15:50
kalikiana_bull_: Yes, exactly15:51
kalikiana_You can write to the subfolder15:51
kalikiana_But if you try to write somewhere else, say /dev/shm/foobar it won't work15:52
bull_kalikiana_  i did this https://pastebin.ubuntu.com/23659442/15:52
bull_but it wont affect15:52
bull_kalikiana how to set that path that is the ain problem man15:53
bull_kalikiana_: firefox team also reported this error :D15:53
bull_kalikiana_: https://lists.ubuntu.com/archives/snappy-devel/2016-May/001800.html15:59
mupPR 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/157751416:06
mupBug #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 too16:06
mfeatherstonDoes anyone recognize this error?  I'm wondering if I missed a kernel patch.  I'm on ubuntu core with a custom kernel:16:26
mfeatherstoncannot bind-mount the mount namespace file /proc/2236/ns/mnt -> hello-world.mnt. errmsg: Permission denied16:26
mfeatherstonsupport process for mount namespace capture exited abnormally16:26
bull_zyga: :(16:27
=== rcj` is now known as rcj
=== rcj is now known as Guest61336
=== Guest61336 is now known as rcj
jacekncould 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 fixed16:49
mupBug #1650671: Content sharing from snap common is broken <Snappy:New> <https://launchpad.net/bugs/1650671>16:49
mupPR 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
hernajuaHi, I was wondering if I am allowed to create a snap package of software I did not write17:58
=== ben_r_ is now known as ben_r
mupPR 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
mupPR 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
kyrofahernajua, nothing is stopping you. It's possible for upstream to request the name, though18:36
mfeatherstonis snapcraft expected to build with multiple cores for kernels?19:03
mfeatherstonahh, I missed it, it passes -j1 only for the config step but switches to more cores after that19:05
kyrofamfeatherston, indeed19:07
kyrofamfeatherston, pure death otherwise :P19:07
grapestomperI 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
grapestomperI found something like this before one the canonical pages but I cant seem to find it now19:44
grapestomperDiff 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
kyrofagrapestomper, I'm not sure what you're asking. subdirectories of git repositories?20:10
kyrofagrapestomper, you mean e.g. your Makefile is located in a subdirectory?20:11
grapestomperhi 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 is20:12
kyrofagrapestomper, is it two separate projects, then?20:13
cachiojdstrand, hy20:13
cachiohi20:13
cachiojdstrand, 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 wrong20:13
cachiojdstrand, trying to submmit the snap20:14
cachiojdstrand, any idea?20:14
grapestomperkyrofa - I use subfolders to seperate projects. Maybe its not a good idea?20:15
kyrofagrapestomper, so you have a git repository containing two independent projects? Or does one depend on the other?20:15
grapestomperkyrofa - two independant projects20:16
kyrofagrapestomper, do you only want one in the snap, then?20:17
grapestomperkyrofa - yes20:17
kyrofagrapestomper, oh, well then, that's easy. Use the `source-subdir` option20:17
grapestomperok - found that in the docs. I was looking for an example of that being used - have you seen one?20:18
grapestomperan example that is20:18
kyrofagrapestomper, I'm working on one as we speak, actually20:20
kyrofaNot an example, but using it rather20:20
kyrofagrapestomper, it's pretty simple: just a relative path from the root of the source20:21
kyrofaAnd then snapcraft will run make (or whatever) from there20:21
hernajuaquit20:33
mupPR 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
grapestomperkyrofa - thanks21:44
grapestomperI will give it  go21:44

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!