/srv/irclogs.ubuntu.com/2016/11/09/#snappy.txt

=== JanC is now known as Guest19389
=== JanC_ is now known as JanC
mwhudsonslangasek: do you have any idea what is going on here? https://launchpad.net/~canonical-foundations/+snap/snappy-first-boot/+build/949500:21
slangasekmwhudson: not offhand.  Is the livecd-rootfs package in our ppa up-to-date?00:22
slangasek(along with other packages there, generally)00:22
mwhudsonslangasek: i just deleted all the packages in our ppa :)00:22
mwhudsonwell xenial ones anyway00:22
slangasekso the only other 'manifest' ref I see in the log is: + cp assets/dpkg.list /build/snappy-first-boot/parts/livebuild/build/livecd.ubuntu-core.device.manifest00:23
mwhudsonah i think it's getting livecd-rootfs from the primary archive now00:23
mwhudsoni guess i need to copy it over from ppa:snappy-dev/image00:23
mwhudsonslangasek: oh wait00:50
mwhudsonslangasek: so it's hard coding the snap name in lp in there?00:50
slangasekis it?  I don't know00:51
mwhudsonyeah i think so00:53
mwhudsonlook at the line before the failing line00:53
mwhudsonmoving something to /build/snappy-first-boot/...00:53
overflyerhello all00:55
overflyermy raspi2 dont boot with ubuntu-core-16-pi2.img00:56
overflyeronly red led is on00:56
overflyerany idea?00:56
overflyercmdline.txt:00:58
overflyerdwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty0 elevator=deadline00:58
overflyeri think cmdline is wrong. can anyone help?01:00
overflyerhello all my raspi2 dont boot with ubuntu-core-16-pi2.img  only red led is on  any idea? cmdline.txt:01:10
overflyerdwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty0 elevator=deadline i think cmdline is wrong. can anyone help?01:10
mwhudsonyeah, that was it01:11
mwhudsonoverflyer: sorry, don't know, you could try emailing the devices list01:11
mupPR snapcraft#893 opened: Add a script to retry autopktests <Created by elopio> <https://github.com/snapcore/snapcraft/pull/893>01:58
mwhudsonslangasek: is http://people.canonical.com/~vorlon/official-models/ still the best place to get model assertions from?02:30
=== chihchun_afk is now known as chihchun
RicPossibly dumb question but is there a way put the core and a few snaps into an image that is easy to install on embedded devices.02:39
boadieIs there a way put the core and a few snaps into an image that is easy to install on many embedded devices?02:50
mwhudsonhm my dragonboard image doesn't boot :(03:02
liuxghas anyone successfully followed the blog at http://www.zygoon.pl/2016/06/making-your-first-contribution-to-snapd.html to build the snapd? I succeeded it once. now, I am having this error "can't load package: package snap.amd64: cannot find package "snap.amd64" in any of". the detailed info is at http://paste.ubuntu.com/23449276/03:21
liuxgI removed "snap.amd64" in my "devtools" dir, and I cannot get it back any more. I thought it was a compiled file from building the snapd.03:23
elfgohogra_: just to be sure, this what you meant by flashing? https://youtu.be/LDN7QQ1-2c0?t=1m22s03:40
elfgohDidnt seem to work for me. I am using Beaglebone black industrial Rev C03:42
mupBug #1640386 opened: $SNAP_DATA and $HOME are not the same <Snappy:New> <https://launchpad.net/bugs/1640386>05:58
Mirvnessita: three weeks ago I heard it's something that is being fixed in store (or store checker tools, not sure) trunk, but not yet deployed. and later I got that you are a good one to ask about store topics.06:25
zygao/06:56
mupBug #1619258 changed: netplan should allow NICs to be disconnected and not stall the boot <Snappy:Invalid> <nplan (Ubuntu):Invalid> <https://launchpad.net/bugs/1619258>07:05
foxmaskbonjello07:08
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachhey hey08:09
didrockshey dholbach!08:23
dholbachsalut didrocks08:27
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
liuxgzyga, ping10:41
liuxgzyga, I followed your instructions at http://www.zygoon.pl/2016/06/making-your-first-contribution-to-snapd.html to build the snapd at https://github.com/zyga/snapd/tree/hello-iface. The very first time, the build was succeessful. However, i did not see the "reboot" interface. Then I removed the "snap.amd64" file in the "devtools" directory. After that, I get the error like http://paste.ubuntu.com/23450405/. How can I get the "snap.amd64" file back? thanks10:45
Mirvnessita: the problem we have with that is anyway that ubuntu-app-platform (now in store) needs manual review for each upload, because of the warning about the "content:" field in the content interface definition, which is however required for the snap to function10:51
=== hikiko is now known as hikiko|ln
renato__Mirv,hey just tested the new package with unity8. Not running yet. Probably we need to export some env variables12:14
renato__Mirv, probably we need didrocks help12:15
didrocks1renato__: try tweaking the launcher and export MIR_CLIENT_PLATFORM_PATH=$SNAP/ubuntu-app-platform/usr/lib/$ARCH/mir/client-platform (if this is shipped by the new content snap)12:21
didrocks1this was the only thing to add Mir support12:21
renato__let me try12:21
renato__didrocks1, Mirv, http://paste.ubuntu.com/23450827/, do you know where I can find Mir logs?12:51
didrocks1I would say you don't access to the socket12:53
didrocks1but kgunn would be the one to ping about it12:53
=== didrocks1 is now known as didrocks
BjornThi. i'm getting (quite frequently) intermittent errors downloading the ubuntu-core snap while installing a local snap: http://pastebin.ubuntu.com/23450862/13:05
BjornTany ideas on what's wrong here? sometimes it does work, but mostly it doesn't13:05
BjornTactually, it seems like the CDN is broken. i'm trying in canonistack, and that host name maps to these ips: http://pastebin.ubuntu.com/23450880/13:09
BjornTif i add an entry in /etc/hosts to map the host name to 95.172.71.38 it works13:10
BjornTev_: ^^^^13:12
Mirvrenato__: right, ok so the QPA is now there at least13:25
Mirvthe new snap is not yet in the store because each upload needs manual review at the moment, but it seems you got it from LP, which is good13:26
renato__Mirv, yes. I am trying to understand what is causing the app to fail to launch on unity8. Are you test app working?13:26
ev_BjornT: thank you, I’ve passed that on13:59
ev_and pointed them here13:59
Mirvrenato__: I think we need to check with the U8 team indeed what are the expectations14:27
Mirvrenato__: are you testing Unity8 on zesty or xenial overlay?14:28
MirvI've that separate zesty machine I could try too14:28
renato__Mirv, xenial14:28
renato__Mirv, it was working with the old qt5/gtk-launcher. I am trying to find what is missing14:29
sergiusensBjornT ev we are seeing this in our testing too fwiw, thanks for looking into it14:30
qenghoDo configure hooks need anything from snapcraft other than copying the hook/configure file and the optional YAML to expand the security permissions?14:32
Mirvrenato__: ah, ok, then it must be something relatively small (I hope)14:37
qenghoI have a configure hook I expect to run on "snap set". It doesn't.  """- Run configure hook for snapname (cannot snap-exec: cannot find hook "configure" in "snapname")"""14:37
qenghoI peeked with strace. snapd lstat()s the configure hook file (ret 0), but then exits (val 1).14:40
qenghoFWIW, is executable. 075514:41
renato__Mirv, yes, probably is one missing env var :D14:42
renato__guys how I can solve this:15:03
renato__- Download snap "ubuntu-core" (423) from channel "stable" (received an unexpected http response code (500) when trying to download https://068ed04f23.site.internapcdn.net/download-snap/b8X2psL1ryVrPt5WEmpYiqfr5emixTd7_423.snap?t=2016-11-10T14:59:42Z&h=f609260aa36b4327500712f9dfdeb8a059cb9b35)15:03
renato__I removed my snapd and re-installed it, and now I can not install any app15:03
renato__ok snap login did the trick15:09
didrocksqengho: quite puzzled, it does work for me (on an ubuntu core machine)15:13
didrocksqengho: did you try it there? it seems desktop ubuntu-core snapd doesn't have the same version, that could impact15:13
mupPR snapcraft#894 opened: store: send snapcraft version in a header <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/894>15:13
qenghodidrocks: I have only tried on snapd-on-classic Z.15:16
didrocksqengho: try in a vm, do you mind keeping me posted?15:16
didrocksI definitively got the configure hook working here yesterday on it15:17
faenilguys, it seems /snap/bin is not in $PATH (environment: Zesty) even though there's a script that does that in profile.d, it seems like it's not used15:18
faenilknown issue? or should I report a bug?15:18
qenghodidrocks: grep "hook" /snap/${snapname}/meta/snap.yaml ?15:18
qenghofaenil: what shell?15:18
faenilboth unity7 and unity815:19
qenghoMaybe, echo $SHELL ?15:19
faenilthen snap run <app> works in unity7, but not in unity (returns QXcbConnection error, it's not using Mir)15:19
faenilqengho: maybe?15:19
faenilnot in unity8*15:19
didrocksqengho: wdym? no, there is nothing to refer in snap.yaml15:20
qenghodidrocks: Thanks.15:20
didrocksqengho:  dropping the file as meta/hooks/configure is enough15:20
qenghodidrocks: I was wondering if your yaml had something else. Thanks.15:20
didrocksno, just meta/hooks/configure, shebang (bash script), executable15:20
faenilqengho: that was a statement, not a question :D both under u7 and u8 PATH does not contain /snap/bin15:21
sergiusensdidrocks if you need specific interfaces for your hook you need to define them in meta15:21
faenil(some bad english there, sorry)15:21
didrockssergiusens: right, but here, I guess qengho just want first to have his configure script running :)15:21
didrockslike basic 1o115:21
sergiusensah, well I might take on this tomorrow or this evening as kyle is out this week15:21
didrockslet's see first if qengho reproduces his issue on ubuntu core15:22
qenghofaenil: That profile.d part is the perview of ksh or bash or zsh or csh or tcsh or ipython ... I'm asking which shell you use.15:22
didrockslet me try my snap on desktop 16.04 at the same time15:22
faenilqengho: ah you mean terminal shell..zsh on unity7, vty on u815:23
didrockssergiusens: qengho: doesn't work with snapd on 16.04 FYI (didn't try the version in -proposed yet)15:23
didrocksunsure if the issue you have in Zesty is similar15:23
didrocksas it's a newer snapd15:23
faenilqengho: vty, still zsh it is15:24
qenghofaenil: Will you please check if zsh reads from /etc/profile under your circumstances?15:25
faenilqengho: I will have a look. it's not my laptop and I don't use zsh myself, but let's see15:25
faenil(it's the team laptop)15:25
faenilalthough http://askubuntu.com/a/476435 suggests /etc/profile won't work with zsh15:26
faenilalso https://bugzilla.redhat.com/show_bug.cgi?id=8845715:28
qenghofaenil: that seems like a real bug. Pleasae advise in a bug report where snapd should also put its PATH alterationsfor ZSH users.15:29
faenilqengho: I have no idea, I'm not a zsh user :D someone in the team is, I'll ask around15:29
faenil.zshrc is a good bet, surely15:29
qenghofaenil: you are until you run "chsh"? :D15:29
faenilzsh is not running on my laptop :D this is a shared laptop15:30
faenilbut sure, I'll report a bug ;)15:30
qenghofaenil: thank you.15:30
faenilqengho: should it be filed against snapd?15:30
renato__kgunn, hey, I am having problems to launch a snappy app on unity8:http://paste.ubuntu.com/23450827/, could you help me with that?15:34
=== matteo` is now known as matteo
faenilqengho: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/164051415:38
mupBug #1640514: /snap/bin is not added to the PATH when using zsh <snapd (Ubuntu):New> <https://launchpad.net/bugs/1640514>15:38
didrocksfaenil: you should add the upstream "snappy" project for upstream to consider it15:41
faenildidrocks: done15:41
didrocksthx!15:43
mupBug #1640514 opened: /snap/bin is not added to the PATH when using zsh <Snappy:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1640514>15:44
roadmrjdstrand: are you around?15:50
jdstrandroadmr: hi! I am15:53
mupBug #1640386 changed: $SNAP_DATA and $HOME are not the same <Snappy:Fix Released> <https://launchpad.net/bugs/1640386>15:53
roadmrjdstrand: I'm testing r796 on staging, for the --plugs/--slots thing. I wanted your help figuring out an error...15:54
jdstrandroadmr: ok15:54
roadmrjdstrand: but I figured it out myself :) looks like our click-review invocation fumbles the order of parameters: https://pastebin.canonical.com/170282/15:55
roadmrjdstrand: still I'd appreciate sanity-check on my theory15:55
jdstrandroadmr: yes. overrides must be last after the snap with how argparse is configured15:59
roadmrjdstrand: ok, no problem, we can easily accommodate that in our code. Thanks :D15:59
jdstrandcool, np15:59
noise][renato__: and anyone else that had a problem with ubuntu-core snap (r423 from stable for amd64), the problem is resolved and downloads should be working again. Sorry for the inconvenience.16:01
faenilogra_: have you read the bug report I linked?16:12
faenil(the one on redhat portaL)16:12
faenilbbl16:12
mupPR snapcraft#888 closed: Always respect go-buildtags <Created by stgraber> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/888>16:25
faenilogra_: the zsh bug about "zsh does not source /etc/profile" was marked NOTABUG16:35
faenilso I don't think that's going to happen ;)16:35
faenilthe feature was there, and was removed on purpose16:36
faenilso if you want to support running snaps from zsh, it seems changing zsh behaviour is not an option :/16:36
ogra_faenil, well, it points to other bugs that were closed with pointing to adding that change in ~/.zshrc16:41
faenilyes16:41
ogra_(or rather to /etc/skel/.zshrc )16:41
ogra_did you check if our package ships that file and if it has these changes ?16:42
ogra_if so, it is actually a matter of the user to update his config in the homedir accordingly16:42
ogra_there is no way that is a snappy bug ... snappy uses the agreed shell standard of using /etc/profile.d ...16:43
faenilogra_: sure, I agree with you16:43
niemeyerogra_, faenil: We can easily patch the stock zsh profile in Ubuntu to make sure the proper path is included, I'd guess?16:46
ogra_that was what i thought ...16:46
ogra_but it would mean an ubuntu specific delta16:46
ogra_(though perhaps we could get it into debian ... not sure if they'd accept that)16:47
faenilniemeyer: that would be ubuntu specif though :/16:48
faenilspecific*16:48
niemeyerfaenil: Indeed, but it's not uncommon for tooling to have distribution-specific path handling16:49
niemeyerfaenil: The alternative would be to upstream into the zsh source code itself16:49
faenilogra_: we do not seem to ship .zshrc16:50
niemeyerfaenil: Might be worth attempting to push this upstream16:50
faenilniemeyer: +116:50
niemeyerfaenil: +1 as well.. who's going to work on that? :)16:51
faenilnot sure, someone whose job task include working on snapd? :) or someone who has enough spare time to add that on top16:52
niemeyerfaenil: We need help with that sort of thing, as we can't keep our eyes on every single software that might interact with snaps16:55
niemeyerThe right file to tweak is /etc/zsh/zshenv16:56
faenilniemeyer: I know, I know..we're in the same company :P each busy on his own bits :D16:56
ogra_sswell, whichever team maintains zsh should do it ...16:57
ogra_:)16:57
* ogra_ glances in foundations direction ...16:58
faenilhaha :)16:58
SuperJonotronhow can you access the  user invoking a snappy binary, normal methods such as $SUDO_USER and whoami don't seem to work17:15
qenghoSuperJonotron: You can't. And you can't do anything with it anyway. Don't "sudo".17:21
n0c_how do I use docker with snap?18:39
n0c_I did `snap install docker`18:39
n0c_but, how do I start the daemon?18:39
lazyPowersudo service snap.docker.dockerd start18:40
lazyPowern0c_ ^18:40
n0c_thanks! where would I have learned about that?18:41
lazyPowerthe confined docker snap is still pretty new. lool - any hints for n0c_ on where they can follow along at home?18:41
looln0c_m lazyPower: https://lists.ubuntu.com/archives/snapcraft/2016-October/001382.html is the best compilation, the gdoc might not be fully up-to-date but I could fix any issues there18:42
looln0c_: this should soon work out of the box, but a bug prevents it right now18:43
lazyPowerlool - does uapp explorer not have support for listing things like README's? I would think having a canonicalized wiki style place for this information would be better than a gdoc.18:43
lazyPowerjust my 2 cents though18:43
loollazyPower: yeah good point, link frmo description would be good18:43
lazyPowerin terms of discoerability, a google doc is the equivalent of not having any information out there, as they dont get indexed by google.18:43
jdstrandtyhicks: I decided to take a look at bug #1592022 and think I found the solution. Can you review my comments in trello for sanity? (you should have an email now)18:44
lazyPowerwe ran into this ourselves when we were doing all of our annotation in gdocs, so we just moved to GH + MD and called it a day18:44
mupBug #1592022: 32 bit applications on 64 bit system fail due to seccomp <snapd-interface> <Snappy:Confirmed> <https://launchpad.net/bugs/1592022>18:44
loolSure, the point is I can update it to keep it up-to-date, it's not meant to be permanent, eventually it will go away18:44
jdstrandtyhicks: it seems completely trivial to fix18:44
* lool => dinner &18:44
lazyPowerthanks lool, :)  <318:44
=== chihchun is now known as chihchun_afk
mupPR snapcraft#876 closed: repo: allow for architecture-specific stage-packages <Created by stgraber> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/876>18:49
jdstrandoh interesting-- that ^ snapcraft PR would've helped in my seccomp investigation18:50
=== JanC_ is now known as JanC
jdstrandpopey: do you still have the wine snap around?18:52
sergiusensjdstrand there for next time I guess ;-)18:53
jdstrand:)18:53
* jdstrand -> lunch18:53
noise][FYI, we are still troubleshooting an issue with downloads of ubuntu-core r423 (stable, amd64)18:53
popeyjdstrand: I have _a_ wine snap, yes.19:00
popeyjdstrand: the one I currently have is built with --enable-win64.19:00
popeyjdstrand: http://people.canonical.com/~alan/wine_1.6-git_amd64.snap  snapcraft.yaml -> http://paste.ubuntu.com/23452189/  'wine' launcher -> http://paste.ubuntu.com/23452191/19:08
=== thomi_ is now known as thomi
mupPR snapcraft#894 closed: store: send snapcraft version in a header <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/894>19:46
mupPR snapcraft#895 opened: Release changelog for 2.22 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/895>19:55
jdstrandpopey: I don't know what --enable-win64 does. does that mean you can't run win32 on amd64 or does that enable 64bit in addition to 32bit?20:13
jdstrandI guess I can just build from the yaml20:13
jdstrandah "The problem is that by itself, that build will only run applications compiled for 64-bit Windows"20:14
popeyjdstrand: yeah20:30
noise][Update: issue with downloads of ubuntu-core r423 (stable, amd64) has been resolved20:51
mupBug #1595813 changed: implement upower interface <snapd-interface> <verification-done> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1595813>21:31
mwhudsonhey22:06
mwhudsonsnap create-user leaves a \r at the end of authorized_keys :)22:06
skillmancould anyone help me with first time setup for ubuntu core?22:54
jdstrandsergiusens: hey, are there limitations to stage-packages? if I stage 'wine1.6' then it barfs. I have to edit _get() from repo.py to:23:19
jdstrandexcept SystemError:23:19
jdstrand    logger.debug("ERROR: could not mark '%s' to install")23:19
jdstrandsergiusens: but it actually continues and marks it ok23:19
jdstrandsergiusens: actually, it didn't seem to mark it ok. I staged wine1.6, wine1.6-amd64 and wine1.6-i386:i386 and it didn't pull wine1.6 (it did pull the other two23:29
jdstrandpopey: hey, can you build without --enable-win64? I can't get it to build here and can't get snapcraft to stage-packages what is in the archive so I'm stuck23:57

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