/srv/irclogs.ubuntu.com/2017/09/25/#snappy.txt

=== JoshStrobl is now known as JoshStrobl|zzz
=== JoshStrobl|zzz is now known as JoshStrobl
zyga-ubuntuo/10:24
=== JoshStrobl is now known as JoshStrobl|Work
=== ShalokShalom_ is now known as ShalokShalom
sSs_hi12:24
sSs_is here the best place to ask about build.snapcraft.io?12:25
zyga-ubuntusSs_: hey12:45
zyga-ubuntusSs_: I think you should ask at forum.snapcraft.io12:45
zyga-ubuntu:)12:45
sSs_thanks!12:45
zyga-ubuntujdstrand: hey12:59
zyga-ubuntujdstrand: are you at the rally?12:59
popeyzyga-ubuntu: he is13:00
mupPR snapd#3958 opened: many: add support for /home on NFS <Created by zyga> <https://github.com/snapcore/snapd/pull/3958>13:00
* mwhudson waves at zyga-ubuntu13:02
mwhudsonsadly13:02
zyga-ubuntumwhudson: hey13:04
zyga-ubuntu:-(13:04
zyga-ubuntuyeah13:04
zyga-ubuntupopey: say hi to him :)13:05
__chip__o/13:23
mupBug #1681547 changed: Gnome3 on Ubuntu 17.04 doesn't find snap desktop files <wayland> <Snappy:Fix Released> <https://launchpad.net/bugs/1681547>13:37
ogra_zyga-ubuntu, you just need http://bit.ly/2yDzMdg13:51
mwhudsoncan someone point me to the seeding code?14:02
smallfoot-Can you guys make a template for GNOME Builder that includes files to build a snap?14:04
zyga-ubuntuogra_: hehe14:05
zyga-ubuntuogra_: and someone to drive me around :)14:05
zyga-ubuntusmallfoot-: that's an interesting idea14:06
mwhudsonalso is there some way to make seeding extremely verbose?14:06
ogra_zyga-ubuntu, well, thats old ... nowadays you'd have a flying drone driven by ubuntu core ;)14:06
zyga-ubuntusmallfoot-: can you please post this proposal to forum.snapcraft.io so that it doesn't get lost?14:06
zyga-ubuntuogra_: wait, there's a core refresh14:06
zyga-ubuntuxxxxx14:06
ogra_lol14:06
zyga-ubuntuogra_: I see my dragonboard power usage spike whenever it reboots on core rebuild14:06
ogra_rebuild ? you mean refresh ?14:07
zyga-ubuntuwell, rebuild that triggers refresh14:07
zyga-ubuntuyes14:07
ogra_all our default kernels boot with the performance cpufreq governor (to speed up booting) and use a script to switch to ondemand 60sec after the boot14:08
ogra_theoretically you shoulld see such a spike on every boot ... not typically related to the refresh itself14:08
zyga-ubunturight, but it doesn't reboot otherwise :)14:08
zyga-ubuntuit runs 24/714:08
ogra_yeah14:08
zyga-ubuntuogra_: btw, did you see my lab?14:09
ogra_but it is just a coincidence14:09
ogra_i saw the pics from a while ago14:09
ogra_are there new ones ?14:09
smallfoot-zyga-ubuntu, I don't have any forum account on snapcraft.io14:09
zyga-ubuntuno, nothing new. I plan to add 4 more boards but I have no time to set them up14:09
zyga-ubuntuI need a small rack to keep this tidy14:09
ogra_well, now that you are idling at home and everyone esle is in NYC you should have some time ;)14:10
zyga-ubuntuogra_: I'm not at home today14:13
zyga-ubuntuogra_: but I can ssh home :)14:14
ogra_heh14:14
zyga-ubuntuogra_: I mainly don't have a rack14:14
zyga-ubuntuogra_: I had some errands to do in the morning, taxes and VAT paperwork14:14
ogra_home is where the authorized_keys is !14:14
zyga-ubuntuogra_: hahaha :)14:14
zyga-ubuntuyeah14:14
ogra_i would love to give you my 2x1x1m server cabinet ... but i guess delivery would be really expensive14:15
ogra_(trying to get rid of it since ages)14:15
zyga-ubuntuhmmm14:16
zyga-ubuntuhow heavy is it?14:16
zyga-ubuntuI have space for that14:16
zyga-ubuntubut I'd rather have small desk rack as I have separate office network and no wiring to where I could keep the rack14:17
zyga-ubuntu(the big rack)14:17
ogra_its a big metal cabinet with glass front and back doors probably somewhere between 50-100kg14:17
zyga-ubuntunice, why do you want to let go of it?14:18
ogra_because even 20 of the boards i work with nowadays fit on a shelf ...14:18
ogra_it just takes space, i dont really have any big 19" server HW in use anymore14:19
mwhudsonpedronis: are you looking at irc? :)14:19
zyga-ubuntuogra_: can you send me a pic sometime (telegram is fine)14:19
ogra_yeah, remind me next week when i'm home14:20
zyga-ubuntuthank you!14:20
smallfoot-Why does 'snapcraft init' put the yaml file in snap/ instead of build-aux/snap/ ?14:21
smallfoot-Now it pollutes the root, instead of be like build-aux/snap/ and build-aux/meson/14:22
mupPR snapd#3957 closed: cmd,dirs: treat "liri" the same way as "arch" <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3957>14:22
kyrofajdstrand, I assume you're at the rally?14:36
mupPR snapd#3959 opened: hooks: rename refresh to after-refresh <Created by stolowski> <https://github.com/snapcore/snapd/pull/3959>14:42
mupPR snapd#3956 closed: snap-confine: bind mount /usr/lib/snapd relative to snap-confine <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3956>14:58
cachiopstolowski, https://paste.ubuntu.com/25615089/15:02
kyrofazyga-ubuntu, are you here?15:07
kyrofa(on IRC, I mean)15:07
naccsergiusens: is the env stuff from c#1 in LP: #1600035 done? A comment from ~1 year ago says "we are also going to allow..." without any date15:07
mupBug #1600035: no way to differentiate between build-time and run-time env vars in plugins <Snapcraft:Triaged by kyrofa> <https://launchpad.net/bugs/1600035>15:07
nacckyrofa: or maybe you kow (about environment: / build-environment: in the yaml). That would I think basically drop my custom wrappers and plugin altogether15:12
kyrofanacc, environment is there, yeah, should get rid of a lot of wrappers15:13
kyrofanacc, build-env, I don't think so15:13
kyrofanacc, environment is a key on each app you declare15:13
kyrofa(like plugs)15:13
kyrofaThere _might_ be a global one... I can't remember15:13
zyga-ubuntukyrofa: hey15:14
zyga-ubuntukyrofa: yes15:14
nacckyrofa: oh ok, it's not here: https://snapcraft.io/docs/build-snaps/syntax15:14
kyrofaHey zyga-ubuntu! I see the kernel-module-control interface... any chance you could give me a quick synopsis of what that does?15:14
nacckyrofa: that's still better than what I have, so that's fine :)15:15
zyga-ubuntukyrofa: yes, sure15:15
kyrofanacc, hmm, indeed. This will help: https://stackoverflow.com/questions/42991501/snapcraft-custom-ld-library-path15:15
zyga-ubuntukyrofa: that interface allows the snap to insert/remove kernel modules15:15
kyrofanacc, would you mind logging a bug for the missing docs, please? Against snapcraft15:16
zyga-ubuntukyrofa: by itself, not with snapd acting at the middle man15:16
zyga-ubuntukyrofa: so you can modprobe essentially15:16
kyrofazyga-ubuntu, modules contained within an app snap?15:16
zyga-ubuntukyrofa: tip: snap interface kernel-module-contorl15:16
mupPR snapd#3960 opened: travis: switch to container based test runs <Created by mvo5> <https://github.com/snapcore/snapd/pull/3960>15:16
zyga-ubuntukyrofa: well, any, you can wget modules or stuff15:16
kyrofazyga-ubuntu, dude, awesome. Is that privileged?15:16
zyga-ubuntukyrofa: it's just the permission to perform the kernel operation15:16
zyga-ubuntukyrofa: totally15:16
zyga-ubuntukyrofa: it requires an assertion to connect15:16
zyga-ubuntukyrofa: canonical-livepatch uses it15:16
nacckyrofa: yep will do after a mtg15:18
* zyga-ubuntu will EOD soon15:19
zyga-ubuntuany last calls from the Ubuntu rally?15:19
zyga-ubuntumvo: what is the motivation for https://github.com/snapcore/snapd/pull/3960/files ?15:20
mupPR #3960: travis: switch to container based test runs <Created by mvo5> <https://github.com/snapcore/snapd/pull/3960>15:20
zyga-ubuntumvo: is it just faster15:20
mvozyga-ubuntu: correct15:20
mvozyga-ubuntu: also more "machines" available15:20
mvozyga-ubuntu: its a bit of an experiment right now15:20
zyga-ubuntuaha, thank you for the explanation15:20
zyga-ubuntuhehe, "machines" :-)15:20
mvozyga-ubuntu: your welcome, we are currently trying to find out if this is true15:21
mvozyga-ubuntu: right now there is quite a bit of lack between pushing a PR and the first time travis asssigns a worker15:22
zyga-ubuntuyep15:22
zyga-ubuntu"lag" I assume15:23
zyga-ubuntuwe're using the KVM based machines and those just cost them more15:23
* zyga-ubuntu EODs15:29
zyga-ubuntuhave a great rally everyone!15:29
naccsergiusens: what is the 'correct "program loader"'? and how is that determined?15:31
jdstrandkyrofa: yep, I'm here. zyga asked too if you see him15:34
mupPR snapd#3959 closed: hooks: rename refresh to after-refresh <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3959>15:59
ogra_ppisati, http://paste.ubuntu.com/25615430/ is the attempt to fix AlbertA and bschaefer's SD corruption ...16:02
apolsergiusens: https://paste.kde.org/prox9diqs16:17
sergiusensstgraber mind parsing what that means ^... this is on arch16:21
stgraberapol: you need the linux-userns kernel16:29
stgraberapol: the default Arch kernel doesn't have user namespaces so only privileged containers can be used until you switch to the linux-userns kernel16:29
stgraberapol: you can create privileged containers with -c security.privileged=true16:29
apolright...16:31
apolI'll try with  -c security.privileged=true16:32
naccsergiusens: is there black voodoo going on that allows generated wrappers (in classic snaps) to have #!/bin/sh in them?16:36
kwmonroeis it possible to mount a rw slot (write: $SNAP_DATA) from a ro plug (target: $SNAP/foo)? with core 16-2.27.6, i get permission denied: http://paste.ubuntu.com/25615637/16:37
=== ShalokShalom_ is now known as ShalokShalom
sergiusensnacc check snapcraft.internal.meta, but we don't generate wrappers for classic17:47
nacc... sure you do :)17:47
nacchttp://paste.ubuntu.com/25615968/17:48
naccI don't konw *why* you do17:48
nacchttp://paste.ubuntu.com/25615970/17:48
sergiusensnacc to allow you to specify `command: some-command -w $SNAP_USER_DATA`17:51
sergiusensnacc so, environment variables17:51
naccsergiusens: right, so you *do* make wrappers :)17:52
sergiusensnacc yeah, we do; that dropped my mind17:52
sergiusensbut...17:52
naccsergiusens: yep, i imagine it's some voodoo so that /bin/sh isn't used from the host FS17:52
sergiusensnacc your thoughts on  https://github.com/snapcore/snapcraft/pull/1420 would be appreciated17:53
mupPR snapcraft#1420: add new "no-wrapper" property to apps <Created by mvo5> <https://github.com/snapcore/snapcraft/pull/1420>17:53
naccsergiusens: i'll take a look :)17:53
sergiusensnacc for classic the voodoo is incomplete though, we would need to change it to `#!/snap/core/current/bin/sh`17:54
naccsergiusens: i know little of the internals, but can give feedback17:54
naccsergiusens: yep, that's what i'm havig to do in my scripts, or they segfault :)17:54
sergiusensnacc if you want to create a PR with that fix to use the correctly shebanged sh in the wrapper I would appreciate that ;-)17:55
sergiusensif not I'll take care of it17:55
naccsergiusens: heh, i'll put it on my backlog :)17:55
sergiusensnacc if you can't get to it, just tell me and I'll take care of it17:56
naccsergiusens: it's probably not going to bubble to the top of my queue anytime soon, so it's probably better for you to do17:57
cachiomvo, when you have a minute https://github.com/snapcore/spread-cron/pull/4618:11
mupPR spread-cron#46: Add configure files as part of the sync <Created by sergiocazzolato> <https://github.com/snapcore/spread-cron/pull/46>18:11
mvocachio: sure, coming in a minute18:11
ppisatiogra_: http://people.canonical.com/~ppisati/linux-image-4.4.0-1075-raspi2_4.4.0-1075.83~ograsdquirks_armhf.deb18:15
* ogra_ hugs ppisati ... 18:15
mupPR snapd#3961 opened: git: make the .gitingore file a bit more targeted <Created by mvo5> <https://github.com/snapcore/snapd/pull/3961>18:26
jdstrandnessita: hi! I just noticed that https://dashboard.snapcraft.io/dev/snaps/6058/rev/661/ is 'stuck'. the automated review passed, but it didn't get approved and there are a bunch of revisions after it pending review18:27
jdstrandnessita: (and it's showing up in https://dashboard.snapcraft.io/dev/snaps/reviewer/ubuntu/)18:28
roadmrjdstrand: hm, similar to what just happened with hugo, which I just unblocked18:29
roadmrjdstrand: ah! 6058 *is* hugo :)18:29
roadmrjdstrand: 661 is now ready to release? so is 662...18:31
roadmrjdstrand: revision 620 was pending resolution, so all subsequent uploads got held. I unblocked 620 and the queue is being processed...18:31
roadmralmost there, there are 714 revisions, it's up to 702 and working18:33
roadmrelopio1, jdstrand : all outstanding hugo uploads are reviewed, passed and ready to release18:38
ogra_pstolowski, i need the output of: grep . /sys/class/mmc_host/mmc0/mmc0:*/* 2>/dev/null18:48
pstolowskiogra_, http://pastebin.ubuntu.com/25616270/18:49
ogra_perfect !18:49
navygunsI was trying the tutorial found at snapcraft.io and followed it exactly but keep getting this error when running the snapcraft command: "Issues while validating snapcraft.yaml: found character '\t' that cannot start any token on line 14 of snap/snapcraft.yaml". I cannot find the "\t" character anywhere in the .yaml file. Anyone else run into this issue?19:00
naccnavyguns: it's a tab character19:01
navygunsThanks. I'll check.19:02
naccnavyguns: my guess would be mixing tabs and spaces, possibly?19:03
navygunsYes, that was it. Now i'm getting  a "mapping here on line 2" which contains Version: '2.10"19:07
navygunsWell, got rid of those errors.  Executing snapcraft now produces a bunch of python3 code errors and then quits. Running on Mint 18.2 Cinnamon.19:12
elopio1thank you. I've notified them in the bug. And thanks jdstrand for looking at it too.19:21
naccnavyguns: 'code errors'? Can you pastebin the command and output?19:23
willdeberryquit19:24
navygunshttps://pastebin.com/WprAeU7Q19:26
naccnavyguns: it would appear that mint's snapcraft doesn't work?19:28
naccnavyguns: dunno, that error implies no subclass is being used19:29
navygunsThanks for looking. I'm going to have to deal with it later. Work calls.19:31
kwmonroeheyo jdstrand: i can't figure out a hook that i can call to setup a content plug subdirectory early enough to beat the interface auto-connect.  does such a thing exist?  (install, prepare-plug-foo don't seem to work).  when you get some time, can you advise on https://bugs.launchpad.net/snapd/+bug/171937019:36
mupBug #1719370: snaps with content plug fail to install with auto-connect <snapd:New> <https://launchpad.net/bugs/1719370>19:36
kwmonroei have a couple workarounds:  1) install the plug snap first, then the slot snap, or 2) work out something using the home interface.  ideally though, i'd like to keep these bits in a $SNAP_x directory vs every users' $HOME.19:38
mupPR snapd#3961 closed: git: make the .gitingore file a bit more targeted <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3961>20:18
mupPR snapd#3962 opened: tests: Increase SNAPD_CONFIGURE_HOOK_TIMEOUT to 3 minutes to install real snaps <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3962>20:31
gouchihi20:34
gouchito use https://build.snapcraft.io20:34
gouchithe snapcraft.yaml needs to be in the root or snap directory only ?20:34
gouchiit can't look other directory ?20:35
naccgouchi: where else would you like it to live? snap sources often have toplevel snap/20:36
gouchisome software may organize their source differently with sub directory20:37
gouchifor instance pkg/deb, pkg/rpm , pkg/snap ...20:37
gouchinot necessarily in snap/20:38
gouchiit will be great if you can specify custom path to snapcraft.yaml for the building process20:45
kwmonroe+1 gouchi.. fwiw, i'm writing snaps for apache bigtop which keeps their packaging bits in ./pkgs/src/[deb|rpm].  my workaround for now is to maintain intermediate repos for use by the snap builders (1 snap per repo, each with ./snap/snapcraft.yaml).  i plan to manually sync those with upstream periodically, but if the builders supported a user-specified snapcraft.yaml location, that'd be awesome!20:48
naccgouchi: it depends, i guess20:51
naccas kwmonroe said, it's trivial to create just a basically empty repo with snap/ inn it20:51
naccthat fetches the 'upstream' source via git20:51
nacc(in the yaml)20:51
gouchiyes20:52
nacckwmonroe: why do you need to sync yours with upstream?20:53
nacckwmonroe: that is, why isn't the upstream a part in your yaml20:53
kwmonroenacc: the upstream is a part of my yaml (https://github.com/juju-solutions/snap-hadoop/blob/master/snap/snapcraft.yaml#L100) just like you said -- fetching upstream in one of my parts.  but since bigtop houses rpm and deb control files, it'd be nice to stick ./snap up there too.20:55
kwmonroeto clarify, the nice part would be if a snap builder (snapcraft or lp) would let me specify the snapcraft.yaml location in the repo when i register it to build.20:55
nacckwmonroe: oh i see, so they could do some testing? and for the latter, so you don't need the intermediary20:56
kwmonroeyup20:56
nacc(and for the former, to match their other stuff)20:56
naccgot it20:56
kwmonroefwiw nacc, projects like bigtop house 30ish other projects (https://github.com/apache/bigtop/tree/master/bigtop-packages/src/deb), so if i wanted to have a snap for each of those, i'd be maintaining 30is intermediate repos.20:59
nacckwmonroe: true enough21:00
mupPR snapcraft#1570 opened: Don't fail over empty or faulty lines <Created by aleixpol> <https://github.com/snapcore/snapcraft/pull/1570>21:11
mupPR snapcraft#1571 opened: Make sure we don't try to include an empty set <Created by aleixpol> <https://github.com/snapcore/snapcraft/pull/1571>21:14
apolkyrofa: https://github.com/snapcore/snapcraft/pull/1571 https://github.com/snapcore/snapcraft/pull/157021:14
mupPR snapcraft#1571: Make sure we don't try to include an empty set <Created by aleixpol> <https://github.com/snapcore/snapcraft/pull/1571>21:14
mupPR snapcraft#1570: Don't fail over empty or faulty lines <Created by aleixpol> <https://github.com/snapcore/snapcraft/pull/1570>21:14
mupPR snapd#3963 opened: cmd/snap-confine: add support for per-user mounts <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/3963>21:48
sergiusensflexiondotorg `export SNAPCRAFT_CONTAINER_BUILDS=1`21:54
apolsergiusens: thanks21:56
mupPR snapcraft#1572 opened: catkin plugin: allow ROS_MASTER_URI change <Created by cratliff> <https://github.com/snapcore/snapcraft/pull/1572>22:05

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