[00:03] mariogrip: You might be able to. snapcraft is gaining the functionality, though not many plugins support it yet. The python plugin probably does the right thing (if no compiling!), but doesn't signal that it's right. [00:03] mariogrip: How involved do you want to get? [00:07] mariogrip: If not compiling, you can hack into the python2.py a new function. def set_target_machine(self, machine): pass [00:08] That probably makes recent snapcraft work for you. [00:08] qengho: I tried architectures: [amd64, armhf] but when I try to install it on my rpi2 it fails to install [00:08] missing /tmp/* folder somehow [00:08] mariogrip: was that with "--target-arch armhf" ? [00:10] qengho: no I added architectures: [amd64, armhf] to snapcraft.yaml file and it made myapp_0.1_multi.snap [00:12] myapp_0.1_multi.snap failed to install: open /tmp/read-file088244561/unpack/meta/package.yaml: no such file or directory [00:13] mariogrip: Oh. Hrm. Sorry -- that is a bit of a mystery to me. I thought you were creating a specific arch snap from a different arch. [00:23] qengho: oh, I first thought i had to do that, since it outputted just amd64.snap when I ran it the first time [00:28] mariogrip: My suggestion above might not work, but I think it has a decent chance. "snapcraft --help" and add that function to the python2 plugin. [00:28] that function is "set_target_machine". [00:28] ^^^^^^ [00:30] qengho: I'll give it a try [00:30] mariogrip: My suggestion also implies removing the "architectures:" line from snapcraft.yaml . [00:30] ...I think. [00:31] mariogrip: I'm not an expert in this. [00:34] qengho: no difference, still says octoprint_0.1_multi.snap failed to install: open /tmp/read-file015824556/unpack/meta/package.yaml: no such file or directory when i try to install it :( but thanks anyway :) [00:35] mariogrip: that "multi.snap" part sounds suspicious, like you didn't change snapcraft.yaml, and did you use --target-arch ? [00:36] no, it was just an old copypaste i had, it says _amd64 [00:36] I did not use --target-arch [00:37] :\ [00:37] I haven't tried it on amd64. so it might be broken there also [00:38] the command snappy does not exist after an update for some reason [00:38] on my host [00:38] mariogrip: if your filename isn't "myapp_0.1_armhf.snap", then it's not going to work on an armhf machine, I bet. [00:38] mariogrip: "snappy" name is dead. Use "snap". [00:39] Bed time! Zzzz. [00:39] oh, i use snappy on my rpi... that might be why [00:40] the "new" snap uses xz tarballs.... [00:41] The new new snap doesn't use tarballs at all. [00:42] that's might be why snappy install does not work with my app... [00:43] it worked with snap [00:43] mariogrip: Are you using 16.04 images? [00:43] yes [00:43] then, how do i make snap packages for snappy install [00:44] Your snapcraft should be v2. It should make squashfs images. They should install with "snap" (not snappy) on 16.04 snappy images. [00:45] mariogrip: A lof of that^ is new as of the last 6 weeks or so. [00:45] how do i build v1 packages? [00:46] I don't know. I think you need the kind of snapcraft and snappy that was in 15.10. [00:46] I don't think a v1 package would be good for very long. It was a kind of rough draft. [00:47] ah, ok. ill see if i find newer rpi images that has snap insted of snappy [00:47] qengho: thanks for your help :) [00:49] mariogrip: Welcome! I'm sorry it wasn't obvious. When your snapcraft v2 is making files with "armhf" in the name, you should be able to install those on rpi machines that have a "snap" command. That's what I think. Good luck. === chihchun is now known as chihchun_afk [03:26] good evening, anybody home? === slangase` is now known as slangasek === chihchun_afk is now known as chihchun [06:03] hi, guys! [06:22] good morning === chihchun is now known as chihchun_afk [06:44] Good morning! Sorry to bother irc with this, but can anybody help me with this: https://lists.ubuntu.com/archives/snappy-devel/2016-April/001729.html ? === chihchun_afk is now known as chihchun [07:50] Morning o/ [08:01] morning. [08:02] i try to use u-d-f all-snaps version from ~people/mvo but it can't found gadget snap today. may i know what's wrong? [08:03] good morning [08:37] shuduo: there is a store bug currently that prevents u-d-f from working, sorry for that [08:38] shuduo: we are working on a fix or workaround currently [08:38] good morning [08:40] mvo, may i know if there is an ETA for fix? we have some customers are evaluating 1604 image [08:41] shuduo: we aim for a fix/workaround by the end of today (so ~12h or so) [08:42] shuduo: unfortunately its not entriely trivial to fix [08:42] mvo good to know. thanks! [08:44] mvo: good luck [08:55] o/ [08:56] * asac wonders if the 4.4 kernel got ever rolled to stable channel for pi2 or if its a bug that i dont get that update === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [09:42] Trying to run snaps today results in "unable to bind /snap/ubuntu-core/current//lib32 to /lib32. errmsg: No such file or directory" [10:02] ogra_: I just did snap install ubuntu-clock-app should I now see it somewhere on the system? [10:05] shuduo: I pushed a new u-d-f with a workaround for the store issue. note that you will need to build "edge" images with that and e.g. firstboot is not fully working yet [10:06] mvo: okay. let me try it [10:13] davmor2, afaik it shold install a.desktop file so you should find it in a dash search [10:13] ogra_: nope [10:14] asac, 16.04 never had an actual stable release [10:14] you want the edge channel, that has 4.4 since months [10:16] mvo: unfortunately new u-d-f does not work too. I ran it few times. once it report TLS timoeout. rest outputs same msg [10:17] shuduo: what commandline do you use? [10:17] sudo ../ubuntu-device-flash core rolling --channel edge --gadget canonical-pi2.canonical --kernel canonical-pi2-linux.canonical --os ubuntu-core.canonical --verbose --developer-mode --enable-ssh -o rp2-test.img [10:18] shuduo: please drop the ".canonical" from the snaps and try again [10:19] and you dont need --enable-ssh anymore [10:20] (it is always enabled atm) [10:20] mvo: it is working now. so no more .canonical in future? then I need update such information to others [10:20] yes, there are a lot docs that need updating now :( [10:21] shuduo: yes [10:23] mvo, will you update another version in next few days? then I can update all-working version to customer later since today is Friday. :) [10:24] shuduo: I am working on the fix right now, maybe in some minutes [10:24] mvo good [10:26] mvo, on that note, should we perhaps do a snapshot of all snaps to stable so we have at least an alpha quality image by release ? [10:27] (i think we released one chunk to stable a few months ago which keeps people like asac stuck on old versions [10:27] ) [10:29] ogra_: yes, I think we should do that plus new alpha images [10:29] mvo, i see there is still a snapd issue ... so after that landed ? [10:29] ogra_: which one? [10:29] ogra_: oh, the store bug [10:29] ogra_: yes [10:30] ogra_: that needs to land [10:30] mvo, no, the migration [10:30] http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#snapd [10:31] shuduo: please try again [10:31] mvo: okay [10:31] ogra_: yeah, this is a issue because the autopkgtest environment does not allow access to the store === chihchun is now known as chihchun_afk [10:32] mvo, right, i was just thinking we want the latest snapd in the images :) [10:32] bfore pushing any buttons [10:32] yes [10:36] ppisati, any chance that we see https://launchpad.net/ubuntu/+source/linux-meta-snapdragon/4.4.0.1009.1 land before the weekend ? there are livecd-rootfs changes that need to happen alongside to not forcefully pull from the PPA [10:38] mariogrip: Sounds to me like you might be better served by getting Launchpad to build the snap for you, since it supports all the combinations you're looking for. [10:40] ogra_: it's more of an archive thing [10:40] you mean some AA reviewing it ? [10:40] ogra_: try to hassle an AA guy [10:41] ogra_: it looks like it's in proposed [10:41] yes [10:41] since a while already [10:41] ogra_: so it needs to be copied [10:41] i just want to get rid of the hack in livecd-rootfs before release :) [10:41] yeah, i understand [10:42] ogra_: as soon as rtg / infinity show up, try to hassle them [10:42] ! [10:42] ? [10:44] ppisati, hmm bug 1567379 is referred to by the excuses page ... and there is still a Canonical Kernel Team task that is only Confirmed [10:44] bug 1567379 in Kernel Development Workflow "linux-snapdragon: 4.4.0-1011.11 -proposed tracker" [Medium,In progress] https://launchpad.net/bugs/1567379 [10:44] mvo: i download again but seems it's same as previous one. md5sum is 4d582e995383d5a83f58e2e4a166ae19. can you let me know if it's that one? [10:56] shuduo: I pushed an updated version of the os snap that fixes the network failure I had in the previous image build [10:58] mvo: may i know if it's for RPi2 only or also solved problem in x86? [10:58] shuduo: sorry, only amd64, let me fix rpi2 [11:00] mvo: okay. [11:01] shuduo: try now [11:01] shuduo: please [11:02] * mvo gets lunch [11:02] mvo: still edge? will stable be fixed soon? [11:04] shuduo, see above ... we'll do an alpha release to stable before release day [11:04] (release is next week, so within the next 7 days) [11:04] ogra_: okay. thanks. [11:06] note though that there are still tons of changes pending for the next months (currently networking wont be configured because the config interface is completely gone til a re-implementation is ready) [11:07] so the alpha you will get in stable might behave worse whan the months outdated stable image you would get today [11:07] s/whan/than/ [11:16] davidcalle, looks like clock app can't connect to network manager or geoclue [11:16] but that's about it [11:16] mvo, nice work! [11:17] mvo: \o/ [11:24] dholbach: so kodi now produces a ton of apparmor denials. [11:24] which is different [11:24] davidcalle: also, thanks for telling me about apparmor notify [11:45] and it didn't before? [11:49] no, it would black screen and libgl error [11:49] i added the opengl plug and now it fails with apparmor, I pastebinned into the snap this sheet for the record [11:50] (I class this as progess) 😃 [11:58] ARGH ! [11:58] where is sergio [11:59] ogra_: hiding from you [11:59] yeah :( [12:00] ogra_: what's up? [12:00] snapcraft 2.8 breaks image builds on s390x [12:00] http://paste.ubuntu.com/15848428/ === shuduo is now known as shuduo-afk [12:14] Good morning [12:15] morning kyrofa [12:15] kyrofa, do you know if sergio is out today ? [12:16] ogra_, I don't believe so, but he may be sleeping in a little-- it's been a long week! [12:16] yeah [12:16] sadly he broke snapcraft on s390x :( [12:16] (which makes images fail) [12:16] 2.8? [12:16] yeah [12:16] Trying to install cross-compilers? [12:17] the issue looks liek it is trivially missing the arch name [12:17] http://paste.ubuntu.com/15848428/ [12:17] KeyError: 's390x' [12:18] ogra_, ah, easy fix. And good timing, we're about to crank out 2.8.1 (2.8 sadly broke on several archs) [12:19] heh, image builds only broke on that one arch ... all others are happily building along [12:19] ogra_, hmm... that's interesting. My run on arm busted trying to install cross compilers that didn't exist [12:19] are they a hard dependency ? [12:20] ogra_, no, it was a bug [12:20] i only run "apt-get install -y snapcraft" in the builds [12:20] ogra_, ah, no it's determined at runtime [12:20] and then call "snapcraft snap snap" [12:20] (for a pre-created dir structure) [12:20] so that doesnt hit me then :) [12:20] Oh, that's probably it then [12:20] You already have the dir [12:21] yeah [12:21] Lucky ;) [12:21] for os snap thats easier to do :) [12:21] ogra_, mind making a bug fo rme? I'll make sure this is in 2.8.1 [12:21] ok [12:22] Morning sergiusens :) [12:24] kyrofa, bug 1570835 [12:24] bug 1570835 in Snapcraft "snapcraft 2.8 fails on s390x" [Undecided,New] https://launchpad.net/bugs/1570835 [12:24] Thanks ogra_! [12:24] And sorry about that [12:24] no worries [12:24] (i doubt that arch has many users :P ) [12:25] ogra_, mvo i ran the new amd64 image in virt-manager. i can see snappy command exist but just snap. is it a new change? then how to use classic dimension? === shuduo-afk is now known as shuduo [12:26] shuduo, yes, the snappy command is effectively gone (there are more bits that just vanished with this change for the moment ... they will come back in the next weeks) [12:27] to use the classic dimension "sudo snap enable-classic" should still work [12:27] stgraber, that reminds me, where do we stand with arm64 support for snappy classic ? [12:28] ogra_: snap tell me enable-classic is unknown command... [12:29] error: Unknown command `enable-classic'. Please specify one command of: ack, connect, disconnect, find, install, interfaces, known, list, login, purge, refresh or remove [12:29] oh ? that usedf to work for me two days ago ... perhaps it has also been dropped then [12:29] you are on the edge channel, right ? [12:29] ogra_: yes [12:29] (stable is pretty much useless atm) [12:32] jdstrand: I got devel mode to work :) [12:32] zyga: yay! did you use @complain for seccomp? [12:33] jdstrand: chceking :) [12:33] jdstrand: I ran hello-world.evil :) [12:33] jdstrand: yes, first line of seccomp is @complain [12:33] jdstrand: then the normal profile follows [12:33] jdstrand: I guess we have a winner :D [12:34] I ask cause I did an upload for ubuntu-core-launcher to support @complain (currently a synonym for @unrestricted until we can work out how to make seccomp actually complain) [12:34] this way you don't have to change snappy [12:34] jdstrand: yep, I saw the changelog [12:34] cool [12:34] ogra_: so snappy and classic will come back in next week*S*. that means all customers evaluation be blocked in next weeks. :( [12:34] jdstrand: I think this will be a good release WRT security and interfaces [12:35] jdstrand: I'll try to spare a moment on the bluez interface when this lands [12:35] oh, it made it into the archive [12:35] nice [12:35] jdstrand: but I still have a few TODOs [12:35] jdstrand: do you know if anything that is in the store that didn't work before is public? [12:36] jdstrand: can I install something (without sideloading) that would show this to work? [12:36] jdstrand: (for x11 stuff, hello-world.evil works already) [12:36] zyga: 'this' meaning bluez? [12:36] what are we talking about? [12:36] jdstrand: no, I mean devel mode still [12:36] jdstrand: I;d like to see x apps working, with devel mode [12:37] I don't think anything in the store would work [12:37] because they are all using old-security [12:37] actually [12:37] that may work [12:37] since old-security gives you default confinement without unity7 [12:37] zyga: ubuntu-calculator-app? [12:37] shuduo, well, the "snappy 1.0" release is still a bit away and all fiocus has been moved to snappy on server/desktop installs for the 16.04 release ... [12:37] ohh [12:38] good idea [12:38] though that will work with confinement AFAIR [12:38] it shouldn't [12:38] unless you brought back old-security [12:38] the last I looked the uploads used security-template to get them to work [12:38] ah, right [12:38] I faked it to have unity7 [12:38] :D [12:38] last Friday [12:39] ah [12:39] but that's gone now [12:39] ogra_: yes, i understand. but we have few customer want to demo pre-release snappy early [12:39] i definitely still have snap enable-classic here on an install from the 11th [12:40] ubuntu@localhost:~$ snap [12:40] error: Please specify one command of: ack, connect, destroy-classic, disconnect, enable-classic, find, install, interfaces, known, list, login, purge, refresh, remove or shell [12:40] ogra_: i just use latest u-d-f to generate fresh new image from edge channel [12:41] yeah, must have been dropped within the last few days [12:41] ubuntu-core 16.04+20160415.05-01 [12:43] i dont really see that mentioned in any of the changelogs though [12:45] ogra_: that's fine. i will communicate with customer a little more about "we are working on make snappy back" :) [12:49] ogra_: 9025e4b56b425ee11bc37216ff8551ce17101135 seems to be the commit that removed enable-classic. [12:49] josepht, hmm, no changelog entry in the package === shuduo is now known as shuduo-afk [12:59] popey: what app did you try with opengl? [13:02] jdstrand: kodi [13:02] jdstrand: and Love [13:05] jdstrand: basically copied your unity7/opengl plug entries for those two (and pushed) [13:06] popey: great. I updated the notes for kodi just now [13:07] popey: can you paste the apparmor denial (if any) for love in the pastebin in the spreadsheet? [13:08] jdstrand: done [13:08] also tried mame, which the mame.ini I can fix, not sure about the fontconfig [13:09] that's what I was afraid of [13:10] popey: I updated the love Notes [13:10] Isn't there a newer rpi2 image tham mvo's 4-February? [13:10] jdstrand: against what? apparmor? [13:10] popey: I don't know how to solve /var/cache/fontconfig either. I think we need a desktop person to comment [13:10] qengho, just build one yourself :) [13:11] Ah, ogra, you have a pi3 image! That's better. [13:11] popey: cause allowing 'w'rite access to a directory that the user can't write to is wrong (/var/cache/fontconfig/ unix perms won't allow writing to it) [13:11] popey: no, against snapd [13:12] Hmm, build one myself. Okay! [13:12] the interface needs to be updated [13:12] popey: ((almost) all apparmor policy is in snapd now) [13:13] qengho, sudo ../ubuntu-device-flash core rolling --channel edge --os ubuntu-core --kernel canonical-pi2-linux --gadget canonical-pi2 -o test.img [13:14] (with the latest u-d-f from mvo's all-snaps dir [13:14] ) [13:14] hey jdstrand, good morning [13:14] mvo: oh yes, you had something for me to look at [13:14] mvo: hi! [13:15] ogra_: with todays upload we should be able to do new images (once that upload is in the archive and we have os snaps from it) [13:15] jdstrand: yeah, no rush, its probably a sru at this point [13:15] mvo, is enable-classic gone completely now ? [13:15] ogra_: just disabled for now, will come back RSN [13:15] (thats rather bad for developers i guess) [13:15] ok [13:16] yes, sorry, scarifices had to be made [13:16] heh [13:16] * ogra_ wishes they had been made a month or two ago :P ) [13:16] * mvo hugs ogra_ [13:16] * ogra_ hugs mvo [13:19] jdstrand: [13:19] gah, jdstrand https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1570860 [13:19] Launchpad bug 1570860 in snapd (Ubuntu) "Love2D needs udev access" [Undecided,New] [13:21] jdstrand: ubuntu-calculator-app works [13:26] zyga: works in developer and does not without developer? [13:26] jdstrand: developer mode [13:26] nice [13:28] niemeyer, zyga: fyi, bug #1570860. while we can talk about the bug itself, I wanted to nail down the process for updating/adding interfaces. should there be a bug tag (eg, snapd-interfaces?). If a tag, we should all three of us subscribe to it [13:28] bug 1570860 in snapd (Ubuntu) "Love2D needs udev access" [Undecided,New] https://launchpad.net/bugs/1570860 [13:28] mvo, is SNAP_ARCH stable in the wrappers? And available on the desktop? [13:33] jdstrand: do we do anything with the device cgroup when we see @complain ? [13:33] jdstrand: as in, not jail the process from real devices? [13:36] zyga: no. @complain is a seccomp only thing like '(complain)' is an apparmor thing [13:36] kyrofa: yes, its fine, we do not plan to change the environment vars at this point, if its not in the deprecated sections its golden [13:36] jdstrand: right, so developer mode will be incomplete [13:36] jdstrand: for lots of stuff :/ [13:36] jdstrand: I just tried it and a sample game doesn't start [13:36] jdstrand: what could we do to make that work still? [13:37] zyga: each security subsystem will need to do its own complain thing. a simple way to do it with udev is to comment out the rules in /etc/udev/rules.d/... for the app in complain mode [13:37] jdstrand: I don't understand how that would work, can you give me an example/ [13:37] jdstrand: as in, how can I put *all* devices into a cgroup/ [13:37] jdstrand: so that effectively, the app can always open anything in /dev [13:37] don't do that [13:38] remove the cgroup handling [13:38] jdstrand: wait, there is no cgroup handling right now [13:38] jdstrand: we don't make a default udev rule [13:38] remember, cgroups are only used if there is a udev assignment for the app in /etc/udev/rules.d [13:38] AAAH [13:38] zyga: right [13:38] okay [13:38] hmm, that's worrying then :) [13:38] so, complain mode is simply comment those rules [13:38] because the app still doesn't work [13:38] but at least I will see why [13:38] thanks for explaining thta! [13:39] np [13:39] Thanks mvo :) [13:39] is there an image with ubuntu-core-launcher 1.0.25.1? [13:39] mvo: maybe that is a question for you ^ [13:40] zyga: are there denials? how is the app complaining? [13:40] jdstrand: the latest ubuntu-core snap should have it, let me double check. you can build the image yourself or I can upload one [13:40] jdstrand: the app just doesn't start [13:40] jdstrand: it's an opengl/openal game [13:40] jdstrand: as for syslog... [13:40] one sec [13:40] jdstrand: hm, not yet, let me build one [13:41] zyga: in addition to syslog, application output [13:41] jdstrand: no app output [13:41] jdstrand: I'd have to trace it to see [13:41] jdstrand: one sec [13:41] zyga: is there a seccomp kill? [13:42] perhaps you don't have seccomp 1.0.25.1 [13:42] err [13:42] ubuntu-core-launcher 1.0.25.1 [13:42] * jdstrand is wildly guessing [13:42] jdstrand: http://pastebin.ubuntu.com/15849375/ [13:42] zyga: what game? [13:42] jdstrand: FEZ [13:42] jdstrand: I have a snap if you want to see it in private [13:43] yes, that would be good. between that and mvo's image, I can help [13:45] zyga: opengl? you are not on an nvivia system, are you? [13:45] mvo: I am [13:45] mvo: ah, I need something fresher (core?) [13:45] also, I noticed that the opengl interface doesn't have a test case [13:45] zyga: nvidia (with nvidia proprietary drive) [13:46] zyga: do you happen to have a snapcraft.yaml for it? [13:46] mvo: with free drivers [13:46] zyga: ok, that should work, let me try that [13:46] davidcalle: yes but it depends on having access to FEZ binary from humble bundle [13:46] * zyga should find a smaller example [13:47] zyga: yeah, I imagine, but it will be a great desktop example for dev.ubuntu.com, please share :) (I don't need the bin - I have it) [13:47] davidcalle: sure [13:47] davidcalle: I plan to snap about a dozen games I have [13:47] jdstrand: I have not looked at the tests in detail but when I looked last I found them to be duplicating what was already tested in the commonInterface code, i.e. nothing new was tested but maybe that has changed from when I looked last [13:48] zyga: :) [13:48] davidcalle: http://paste.ubuntu.com/15849436/ [13:48] davidcalle: there's also a setup/ directory with [13:48] oh [13:48] i wonder if we generate desktop files [13:49] zyga: we supposedly do, haven't seen one, though [13:49] yep [13:49] I don't see one either [13:49] * zyga looks at what is needed [13:49] davidcalle: I'll share it when I have something really working :) [13:49] zyga: sure :) [13:49] mvo: I think that might be a discussion point for interface development [13:50] mvo: I think that we could drop most of the tests for commonInterface-using interfaces [13:50] jdstrand: yeah, happy to talk about it when the releas e is out [13:51] zyga: that was my feeling too, but its not important at this point :) [13:51] yep [13:51] just wanted to explain why I did not add new ones for this particular code [13:53] zyga: hm, the opengl using snap, could you push that somewhere? [13:53] zyga: so that I can try to reproduce the issue you see? [13:54] mvo: I use git to manage i, do you have a place I can stick a 350MB git repo? [13:54] a private launchpad git repo perhaps [13:54] zyga: hmmm, let me think for a sec [13:54] could be useful for storing games for development [13:54] this just for work *cough* [13:54] ;-) [13:55] zyga: might be worth snappifying open source ones first [13:56] rather than going for ones that are hard for others to contribute to [13:56] dholbach: could someone upload a new ubuntu-clock-app with the unity7,opengl interfaces ? that would be great [13:56] jdstrand: Having a tag sounds good [13:56] dholbach: and same for the calculator [13:57] popey: this was just a personal snap, I agree that using an open source one would be better but this one was useful for me and I had the game around; I'm not aware of any open source games actually (except openttd which is heavy on plugins) [13:57] I've been snappifying a few [13:57] mvo: calculator now works with --devmode :) [13:57] tuxracer :) [13:57] zyga: in fact I find it preferable to hit things that have bigger impact, like frameworks [13:57] or emulators [13:57] because they add multiple games all at once. [13:57] e.g. MAME and Love2D are the ones I looked at. [13:58] along with Minetest [14:01] popey: I totally agree :) [14:01] should my app have read access to $SNAP? [14:01] because I put an ini file in there, but the app can't seem to see it. no apparmor denials [14:01] I think snapcraft has a bug somewhere [14:01] http://paste.ubuntu.com/15849583/ [14:01] this is find . from the snap/ directory [14:02] what is $HOME/.../lib and lib64 doing there? [14:02] any snapcraft hackers around ^^^ [14:03] zyga: nice [14:03] niemeyer, zyga: I added 'snapd-interface' to the bug. I just went to https://bugs.launchpad.net/ubuntu/+subscriptions and added a subscription to subscribe to the snapd-interface tag [14:03] * jdstrand does the same for https://bugs.launchpad.net/snappy/+subscriptions [14:04] jdstrand: how do I do that? [14:04] jdstrand: I don't see anything reltated to tags there [14:04] jdstrand: ah, I see [14:04] :) [14:04] zyga: select 'are added or changed in any way', then select 'bug must match this filter' [14:05] jdstrand: yep, I got that now [14:05] neat [14:05] I've been using launchapd since day one and I never sawthat [14:05] yeah, it wasn't there on day one :) [14:05] I forget when it came along, but I jumped on it when it did [14:06] snapcraft also generated this wrapper: [14:06] export LD_LIBRARY_PATH="$SNAP$SNAP/fez/lib:$SNAP$SNAP/fez/lib64:$LD_LIBRARY_PATH" [14:06] note the $SNAP$SNAP [14:06] 2nd snapcraft bug, the game may not launch simply because of those things [14:09] davidcalle: got 5 mins to cast an eye on my mamedeb snap (latest snappy-playpen)? Dunno what I'm doing wrong here [14:09] /snap/mame/0/bin/launcher: 14: exec: /snap/mame/0/usr/games/mame -v -inipath /snap/mame/0: not found [14:14] jdstrand, zyga: started to confine network-manager now, but also getting [14:14] Apr 15 14:09:02 localhost.localdomain ubuntu-core-launcher[1180]: appname snap.network-manager.NetworkManager not allowed [14:14] popey: looking [14:14] jdstrand, zyga: suspect there is something wrong with the name but don't see what [14:15] hmm [14:15] can I see your snap yaml? [14:15] morphis: you cannot use dashes? [14:15] dashes have always been allowed [14:16] morphis: ah, no [14:16] jdstrand: sure [14:16] I use dashes. Confirmed they work. [14:16] morphis: all-lowr-case [14:16] morphis: use network-manager [14:16] morphis: and perhaps cli as 2nd ap [14:16] zyga, looks like whatever you snapped has an ldd linking to that lib, so snapcraft copied it in for you [14:16] morphis: this will give you network-manager (just like that) as the main app and network-manager.cli as a 2nd app [14:16] zyga, jdstrand: https://paste.ubuntu.com/15849745/ [14:17] kyrofa: via rpath? [14:17] kyrofa: thanks, that's neat, just unexpected :) [14:17] zyga, the strip step crawls ldd [14:17] for every elf [14:17] const char *whitelist_re = "^[a-z0-9][a-z0-9+._-]+$"; [14:17] we aren't allowing caps [14:17] I see [14:17] but if I remember well that worked before [14:17] "x----------------" is okay? [14:18] so the calculate of the appname must have changed [14:18] it may have [14:18] qengho: no, AFAIR it won't be allowed by snappy itself [14:18] zyga, yeah in most cases if you're using library-only stage-packages you can get rid of them and just use the -dev as a build-package and it'll be taken care of [14:18] kyrofa: this is a prebuilt game [14:18] kyrofa: I'm just packaging the binary bits as they are [14:18] jdstrand: thanks [14:19] zyga: is that wildcat, proof of concept, or Official™? [14:19] qengho: ? [14:19] zyga, mind pastebining ldd of whatever is linking to fez/lib/libmono? [14:19] zyga: that F game. Just curious. [14:20] qengho: ah, just a private snap for local testing [14:20] qengho: faster then downloading snaps all the time [14:20] morphis: so, right now use lower case [14:20] docs/meta.md is silent on the issue of if caps should be allowed [14:20] (for 'command') [14:20] kyrofa: http://paste.ubuntu.com/15849806/ [14:20] jdstrand: ok [14:21] kyrofa: looking at the elf file now... [14:21] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/lib64] [14:21] hah [14:21] zyga, yeah, is that an rpath with origin? [14:21] Ah [14:21] so $ORIGIN is fooling snapcraft [14:21] :D [14:21] Indeed it is [14:21] Please log that bug [14:21] * zyga loves quirky elf features [14:21] Though I'm curious how we're going to deal with that... [14:22] kyrofa: there are more things like ORIGIN :) [14:22] kyrofa: I'd readelf the header myself [14:22] zyga, yeah we may have to [14:22] popey: when building the launcher part: No such file or directory: '/home/david/Desktop/snappy-playpen/mame/mamedeb/parts/launcher/build/mame.ini' [14:22] kyrofa: or assume that $ORIGIN expands to $(cwd) and undo the translation [14:22] anyway, I need to focus on my last branch for snappy today that's not started : [14:22] kyrofa: on github or lp? [14:22] zyga, LP please [14:23] popey: do you have a mame.ini you need to bzr add? [14:23] so, validateField is not correct for command [14:23] zyga, https://bugs.launchpad.net/snapcraft [14:23] davidcalle: ahh, balls i need to add that to bzr [14:23] one moment [14:23] popey: no bin/launcher either [14:23] zyga: are dashes allowed in interface names? [14:23] morphis: yes [14:23] ok [14:24] davidcalle: it's launcher, it gets copied to bin/launcher [14:24] it is there [14:24] Oh right :) [14:24] davidcalle: pushed mame.ini [14:25] ack [14:25] davidcalle: note the app works fine if you run it manually, outside of confinement with "/snap/mame/0/usr/games/mame -v -inipath /snap/mame/0" [14:26] kyrofa: https://bugs.launchpad.net/snapcraft/+bug/1570895 [14:26] Launchpad bug 1570895 in Snapcraft "Rpath with $ORIGIN fools snapcraft library bundling mechanism" [Undecided,New] [14:26] Thanks zyga :) [14:27] kyrofa: my pleasure :) [14:27] I'd like to snap my collection of GOG games [14:27] I think that would be a nice demo for some people [14:31] ogra_, if I were cross-compiling an s390x kernel what would I use as the ARCH? Just s390x? [14:42] Where's the bugtracker for myapps site? [14:42] popey: same error hee, your launcher lgtm :( [14:43] Oh, nevermind. [14:43] davidcalle: odd, isn't it? [14:48] kyrofa, i guess so [14:49] ogra_, how about the triplet on that system? [14:50] i have no clue :) [14:50] ask xnox perhaps [14:50] ogra_, heh. I've never even heard of this arch :P [14:50] its a big black cabinet ;) [14:50] Hahaha [14:50] morphis (fyi mvo): bug #1570914 [14:50] bug 1570914 in snapd (Ubuntu) "inconsistent apps/key validation" [Undecided,New] https://launchpad.net/bugs/1570914 [14:51] kyrofa, $ dpkg-architecture -as390x [14:52] xnox, perfect thank you :) [14:52] kyrofa, also note the https://wiki.debian.org/ArchitectureSpecificsMemo [14:53] xnox, favorited [15:07] ogra_, any chance you're in a position to try out a snapcraft branch? [15:07] ogra_, or is it all automated? [15:08] i have no idea how you guys land snapcraft usually :) [15:08] if there is a PPA build, we can copy it into the image PPA to do a test build [15:08] (of an image) [15:08] ogra_, we just land to xenial universe nowadays [15:09] well, the image PPA is my onlöy way to inject something into the build [15:10] ogra_, can I download whatever you're trying to snap? [15:10] Oh but it's running on a different arch, scratch that [15:10] right [15:10] it runs natively on x390s [15:11] to test it we need to upload a newer snapcraft to the PPA and run an image build [15:12] * kyrofa wishes he had ssh access to one machine of every arch we support [15:22] beuno: can someone pull r630 to the store for bug #1570914 [15:22] bug 1570914 in ubuntu-core-launcher (Ubuntu) "inconsistent apps/key validation" [High,Confirmed] https://launchpad.net/bugs/1570914 [15:22] beuno: any time before release is fine [15:27] Hey guys I'm looking for manik [15:27] has anyone seen him [15:27] roadmr, ^^^ [15:27] let's see [15:28] beuno, jdstrand : sure, I'll get that rolling. It being a Friday, is it OK if this hits prod on e.g. Monday? [15:28] roadmr, yeah, of course [15:29] ogra_`, mind taking a look at https://github.com/ubuntu-core/snapcraft/pull/461 when you're able? Just to make sure those values look sane [15:29] ok, working on it [15:31] kyrofa, hmm, dont you still want the gcc- prefix there ? === kgunn is now known as Guest72262 [15:31] ogra_`, for the prefix? Isn't is the prefix _before_ "gcc" ? [15:31] (also, isnt it powerpc64el ?) [15:31] err [15:32] le [15:33] i see gcc-powerpc-linux-gnu gcc-powerpc64le-linux-gnu (on wily though) [15:34] ogra_`, yeah I get these from gcc-powerpc64-linux-gnu on xenial... but you're right, there are others as well [15:34] Hmm... [15:34] apt-cache search linux-gnu|grep ^gcc-[a-z] [15:35] ogra_`, yeah you're right [15:35] ogra_`, I need the el/le whatever one [15:35] yeah [15:35] Good catch! [15:35] :) [15:35] The rest look okay? [15:35] is there more than the one line ? [15:36] ogra_`, mainly the s390x entry [15:36] oh ... wasnt on the discussion page [15:36] ogra_`, here: https://github.com/ubuntu-core/snapcraft/pull/461/files#diff-4ce66781f48931ad7dc4792aaf9cbf9aR58 [15:37] thanks jdstrand! are you on a fix for this already or shall I have a look? [15:37] ogra_`, now that I know the ppc stuff is totally broken I'll extract into another bug [15:37] kyrofa, the s390x part looks ok to me [15:38] ogra_`, okay very good, thank you! === Trevinho_ is now known as Trevinho [15:48] jdstrand: the latest os snap in edge has the right ubuntu-core-launcher now [15:48] jdstrand: 1.0.25.1 [15:54] mvo: woohoo! thanks :) [15:55] mvo: fyi, I just uploaded 1.0.26 for bug #1570914 [15:55] bug 1570914 in snapd (Ubuntu) "inconsistent apps/key validation" [High,Confirmed] https://launchpad.net/bugs/1570914 [15:56] jdstrand: \o/ [15:56] mvo: there needs to be an input validation change in snapd that I wasn't planning on doing now (feel free to pick it up). see the bug for details [15:56] I think with the review tools change it would be ok to pick up in sru [15:57] so if you are working on urgent stuff, I suggest doing that instead [15:57] yes, I think so too [15:57] cool [16:20] mvo: curious, when is udf in the archive going to be updated for all snaps? [16:20] when was snappy ubuntu core released [16:20] ? [16:22] technocaveman, snappy ubuntu core 15.04 was released back with 15.04, but the newest version is based on 16.04 so it's technically not yet released [16:23] ok thanks i just needed to know for an assignment in which i mention it ! [16:24] jdstrand: once the kernel/gadget yaml is finalized, so via an sru [16:25] jdstrand, in time for 18.04 ;) [16:28] jdstrand: thanks for filing that bug [16:30] mvo, we shlould perhaps also disable the system-image stuff ... else people will use the udf from the archive and wonder why they have so broken images :) [16:30] (though that can as well happen right after release) [16:31] jdstrand: recvfrom is not in network? [16:32] hmm, it is [16:32] hmm [16:32] jdstrand: kwi 15 18:32:35 zyga-thinkpad-w510 kernel: audit: type=1326 audit(1460737955.225:449): auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=25760 comm="TerrariaServer." exe="/snap/terraria-server/0/TerrariaServer.bin.x86" sig=31 arch=40000003 syscall=45 compat=1 ip=0xf7786f19 code=0x0 [16:33] jdstrand: is that recvfrom or are my eyes fooling me? [16:33] ogra_`: the one from older archives you mean? good idea. xenial is fully disabled I think [16:34] mvo, yeah, we should delete the whole rolling subdir on the server though [16:34] +1 [16:35] the last 16.04 images there are from jan 12 :) [16:59] zyga: recvfrom is in x11, bluez, firewall-control, network-bind, unity7 and network [16:59] jdstrand: yep, I've checked [16:59] zyga: scmp_sys_resolver 45 [16:59] recvfrom [16:59] jdstrand: hmm [16:59] this is on amd64? [17:00] seems something didn't connect? [17:00] jdstrand: no, it connected, it was in the generated profile [17:01] jdstrand: anyway, ignore this [17:01] jdstrand: we'll tweak this later [17:04] morphis: np [17:04] jdstrand: working my way now through getting the network-manager snap back working, will come with some questions next week :-) [17:05] great :) [17:07] mvo: fyi, I just tried ubuntu-device-flash core --size=8 --enable-ssh --channel=edge --output=snappy-20160415-bbb.img --gadget canonical-bbb --kernel canonical-bbb-linux --os ubuntu-core stable. is that supposed to work? [17:09] * jdstrand wonders what --size should be with bbb and rpi2 images [17:09] ubuntu-device-flash core --size=8 --enable-ssh --channel=edge --output=snappy-20160415-pi2.img --gadget canonical-pi2 --kernel canonical-pi2-linux --os ubuntu-core stable didn't work either [17:10] I feel like I'm looking in the right part of the store... [17:10] oh maybe those need .canonical? [17:11] oh, no, I used 'stable' by mistake [17:11] nm [17:12] actually, --gadget canonical-bbb --kernel canonical-bbb-linux doesn't work [17:13] are we going to get an official rpi3 image soon? [17:14] popey: ogra said "maybe" [17:14] mvo: both canonical-bbb and canonical-bbb-linux are in the store but seems they aren't published (they show yellow instead of green in the Progress column) === ogra_` is now known as ogra_ [17:14] popey, well, images are still a post 16.04 thing since gadget and kernel will be completely re-designed [17:15] i might update it next week though [17:15] (the one we have) [17:24] awesome. [17:24] look forward to updating my pis === rbasak_ is now known as rbasak [18:12] ogra_, you still around? [18:13] yep [18:14] * ogra_ is upgrading his laptop to xenial ... i might unconditionally disconnect from my ircproxy :) [18:15] ogra_, I want to test out the kernel plugin. Any chance you know of a tree already setup for building kernel snaps that I can clone? [18:15] only the 96boards one that is used in the example [18:15] ogra_, yeah that's the only one I know of as well [18:16] but theoretically any kernel tree should work, no ? [18:17] Theoretically, yes [18:17] I'll go download the firmware for the 96boards one, since it's a known working one [18:17] yeah [18:24] bah, crap [18:24] no more xchat in xenial ! [18:24] * ogra_ has to live with the uglyness of xchat-gnome :(((( [18:25] ogra_, nooooo [18:26] crap ... [18:26] ogra_, any idea why? [18:26] i think it is dead upstream and nobody ported it to a recent gtk version [18:26] Ah, too bad [18:26] ogra_: try hexchat, it's an xchat fork [18:26] this gnome thing has really to much white around it for my taste [18:27] mdeslaur, will it just read my old config ? [18:27] ogra_: I'm not sure, perhaps just need to rename the directory [18:27] * mdeslaur uses xchat-gnome [18:33] * ogra_ hugs mdeslaur [18:33] copying some files around and i have my old colorscheme in hexchat [18:33] nice [18:34] hexchat? [18:35] ogra_: have you tried snapping it? [18:35] heh, no [18:36] hmm, a bit irritating that it actually adds real transparency ... xchat only had a fake mode [18:36] suddenly there are icons :P [18:37] (the few on my desktop) === mjl_ is now known as mjl [19:28] jdstrand: yes, we have no canonical-bbb, just a beagleblack.mvo [19:34] mvo: huh, I saw something called canonical-bbb in the store [19:42] jdstrand, not published [19:42] it idles around there along with a bunch of other zombies [19:43] (under the shared store account) [19:43] sadly there is no remove button in the UI ... [19:48] I see [19:48] ogra_: is there a bbb kernel snap? [19:49] jdstrand, the generic armhf one [19:49] grmpf ... so virtulbox doesnt run anymore [19:49] cool, I'll update our docs [19:50] dunno what the exact name is now [19:50] http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/xenial-preinstalled-core-armhf.kernel.snap would be the input file for it [20:07] jdstrand: yes, I uploaded it without knowing that we do not want it with this publisher [20:07] jdstrand: and yeah, I wish there was a remove button === rbasak_ is now known as rbasak [20:21] It seems the snappy-debug snap needs to be updated: ubuntu@localhost:~$ sudo snap install snappy-debug [20:21] [-] Mount snap "snappy-debug" [20:21] error: cannot perform the following tasks: [20:21] - Mount snap "snappy-debug" (info failed for /tmp/snappy-debug383863688: open /tmp/read-file693482311/unpack/meta/snap.yaml: no such file or directory) [20:50] ogra_, mvo: ok (sorry, just trying to update the security team's documentation): this generated an image (didn't try to boot yet): ../udf/ubuntu-device-flash core --size=8 --enable-ssh --channel=edge --output=snappy-20160415-bbb.img --gadget beagleblack --kernel ./xenial-preinstalled-core-armhf.kernel.snap --os ubuntu-core rolling [20:50] ogra_, mvo: great! I was wondering if ./xenial-preinstalled-core-armhf.kernel.snap is in the store? [20:52] jdstrand: there is linux-armhf(.mvo ) in the store [20:52] jdstrand: that should work, not sure how recent it is though, I'm a bit behing with the image maintenance [20:52] mvo: sure, that's fine [20:52] mvo: do we expect linux-armhf to be regularly updated once things settle down? [20:52] mvo, do i need to generate a different snap.yaml so you can use the cdimage snap ? [20:53] ogra_: probably, it does not have to be linux-armhf.mvo, it could be anyone… [20:53] mvo: you should be able to at least unplublish it, right? [20:54] jdstrand: a good question [20:54] jdstrand: I think so, but having something group maintained would be much better [20:54] josepht: yes, I can unpublish it [20:55] mvo: iirc, that is something of a community kernel. it seems that if there was automation that took security updates to the Ubuntu generic kernel and autosnapped these linux-foo kernels, that could be pretty painless for you and useful for people [20:56] jdstrand, that is what the cdimage snaps are for [20:56] there is just no autoupload yet [20:57] ogra_: ah, sounds like it is all in hand then :) [20:57] nice :) [20:57] jdstrand: yeah, exactly, its just a manual upload at this point [20:57] we are getting out of the me documenting things and into I'd like to use my bbb territory here :) [20:58] elopio sid he has an easy jenkins way of uploading ... still need to talk to him about that [20:58] ok, well, it is late where you are-- don't let me distract you [20:58] have a nice rest of the evening and weekend ogra_ and mvo :) [20:58] thanks, you too ! [20:58] jdstrand: thanks, you too! [20:58] * mvo hugs jdstrand [20:58] * jdstrand hugs mvo and snaps ogra_ in the process [20:59] :) [21:00] :) [21:01] oh heh [21:01] snags* [21:01] clearly I have been doing a lot of snappin' lately :) [21:02] we all have :) [21:06] mvo, hey, is snap install supposed to create a .desktop in /var/lib/snappy/desktop? it doesn't do it it seems but I don't know if that regressed or if that should only be done when using the UI [21:06] seb128: its in /var/lib/snapd/desktop nowdays [21:06] seb128: which means we need to update our XDG bit, dang. thanks [21:06] mvo, XDG_DATA_DIRS has the wrong value then [21:06] right [21:07] yw!: [21:07] mvo, also it doesn't seem to work, I installed "ubuntu-calculator-app" and don't have any .desktop in there [21:07] seb128: fix on the way [21:08] the dir exists but is empty [21:08] seb128: I suspect the calculator is not shipping an desktop file [21:08] mvo, it does [21:09] seb128: try sudo snap install cap-test [21:09] seb128: the desktop file needs to be in meta/gui/ [21:10] seb128: https://github.com/ubuntu-core/snappy/blob/master/docs/meta.md#dekstop-files [21:10] mvo, find says it has /snap/ubuntu-calculator-app/2/usr/share/applications/ubuntu-calculator-app.desktop [21:10] seb128: https://github.com/ubuntu-core/snappy/pull/1003 [21:10] mvo, I see [21:10] seb128: yes, wrong location, sorry [21:11] seb128: we can fix this in the desktop-examples branch probably before the release [21:11] seb128: cap-test is a good example, small, simple and should fully work [21:11] (just not very sexy) [21:11] mvo, yeah, indeed works [21:11] oh well, that was not pointless [21:11] we found the wrong XDG env [21:11] mvo, thanks for fixing! [21:12] seb128: yeah, absolutely, thanks a ton for this [21:12] * mvo hugs seb128 [21:12] yw :-) [21:12] * seb128 hugs mvo back [21:45] seb128, mvo, the calculator app does not ship a desktop file via snapcraft. I didn't get to put it under meta/gui. What it is incidentally shipping is the desktop file built as part of the upstream build, but that's as you've noticed in the wrong place [21:45] dpm, right [22:08] hrm [22:09] the network-bind plug isn't autoconnecting [22:09] this might've been what zyga was seeing [22:09] and I can't seem to make snap connect do what I want [22:09] I'll followup on monday [22:47] in theory.... could SDoC work on Vivid [22:48] willcooke, define "theory", if vivid was updated to xenial? ;-) [22:49] seb128, hahaha [22:50] willcooke, I think it's pretty systemd heavy. That wasn't in vivid, was it? [22:50] yeah it's in there [22:50] right, which is my comment about updating to xenial [22:50] it's not recent enough for snappy iirc [22:51] kgunn ^ [22:51] would need never kernel/systemd [22:52] ack [22:52] newer even