/srv/irclogs.ubuntu.com/2016/04/01/#snappy.txt

netphreakEvening, guys!00:31
netphreakAny news on the Snappy RaspberryPi 3 support00:42
netphreak?00:42
manik_netphreak: https://lists.ubuntu.com/archives/snappy-devel/2016-March/001639.html00:48
manik_chiluk: we officially support plan to support the 96boards' dragonboard 410c for aarch6400:49
netphreakGreat news :)00:59
netphreakI suppose bluetooth and wifi is supported?00:59
maniknetphreak: i haven't played with it myself, no h/w01:00
manikplease check with ogra tmrw and confirm01:00
netphreakok..01:00
=== chihchun_afk is now known as chihchun
beiriannyddhello from snappy/docker04:52
beiriannyddweird thing, I had problems building on snappy, so I exported the home volume to another docker container and built in that and everything worked04:52
beiriannyddpermissions being squashed?04:53
dholbachgood morning06:47
mvipmorning, didrocks :)08:58
mvipwas working on other things yesterday08:58
mvipor asac maybe you know as well -- what's the deal with PPA builds for snaps?09:18
mvipI've spoken to a few guys and they said that we should look into that for building our snaps, but I cannot seem to find any docs about that (i.e. building ARM snaps)09:18
asacmvip: yes09:29
asaci think that service is available in beta09:29
asaclet me check09:30
asaclet me try something09:32
asacmvip: https://code.launchpad.net/~asac if you go to your code page (not asac)09:33
asacdo you see something about snap packages on the rigth?09:33
mvipasac so hmm we haven't pushed any code there yet, so i'd have to first create a package. Give me a few09:34
mvipbut yes, i see a 'snap package' link09:35
asacmvip: i just creawted a test package: https://code.launchpad.net/~asac/+snap/tomcat-webapp-demo09:35
asacso just push sopmething with snapcraft.yaml there09:35
asacyou can also use git if you dont like bzr09:35
mvipah thank god ;)09:35
asacthen there is a link "request a snap package"09:35
asacyou hit that09:36
asacand after you can navigate to that snap package and hit "request a build"09:36
asacwhere you can select amd64 and i386 right now09:36
asacat least thats the experience i get09:36
mvipwill this be integrated in the app store?09:37
asacah i can also request arm09:37
asacyou hav to configure processor09:37
asacathen you have more acrchitecture09:37
asacmvip: for sure at some point :)09:37
mvip;)09:37
asacfor now you have to upload yourself and sign it for 16 i guess09:37
mvipcool alright let me play around with this for a bit09:37
mvipah right, there's a signing process too09:38
asacbut natural evolution of this is to allow you to directly opush to edge channel in store or so09:38
mvipexactly09:38
asacright. but surely this can be delgated to maybe  a builder key or something09:38
mvipyeah let me play with this for a bit and bug you more later ;)09:38
didrocksasac: mvip: hey! yeah, it's not in beta anymore, just need to push a bzr branch09:39
mvipdidrocks alright i just installed bzr on my box ;)09:40
mvipgoing to test with some snappy sample code09:40
asacdidrocks: where is the announce mail?09:41
* asac tried to find it but the search DEITY wasnt on his side09:41
didrocksasac: I don't think cjwatson made a public one09:41
asacoh ok09:41
didrocksI just read it written on IRC and some ML :)09:41
asacdidrocks: maybe  you wanna blocg about  it and update ML with the blog?09:41
asacyeah well, i thought i saw an annoucne somewhere too09:41
asacbut couldnt find09:41
asac*shrug*09:41
asacwonder what happens if you build a snap for powerpc09:42
asac:)09:42
asacwonde why the tomcat example failed though09:42
asacerr where are the logs>?09:43
asacdidrocks: https://code.launchpad.net/~asac/+snap/tomcat-webapp-demo/+build/44909:43
mvipdidrocks OT, but here's a bash script that you can use for the updated marketing page for flashing out the disk image. https://gist.github.com/vpetersson/6346d67c8466ed513c3adb716a054cdd09:43
didrocksasac: yeah, that would be great if some of us can blog about it, but already not enough time to do what I need to do…09:43
mvipit's a bit rough still but with some polish it could streamline the flashing a fair amount09:43
didrocksmvip: oh nice, thaks! Yeah, I'll have a look09:43
didrocks(this is on Mac, right? I see diskutils being used)09:44
mvipdidrocks i can put it in a github repo if you want09:44
mvipdidrocks yeah, but should be relatively easy to make it conditional to Linux too09:44
didrocksmvip: just a note, bs=32M09:44
didrocksthat's better than 1Meg nowdays :)09:44
mvipdidrocks haha yeah09:44
mvipdidrocks let me throw it up in a github repo09:45
didrocksok ;)09:45
asacogra_: did yo guys find a real fix for the sudoers thing yesterday?09:46
ogra_asac, sure, for both bugs ... a) dont loop mount sudoers with a readonly file ... b) mount /dev/pts in the container09:51
asacogra_: did you land the fix?09:52
ogra_land ?09:52
asacyes, is it fixed now>09:52
asac?09:52
ogra_i have no idea where either of them would have to land09:52
asacso wee dont want to fix it?09:52
ogra_thats an mvo thing09:53
ogra_jamie wanted to talk to him09:53
mvipdidrocks: https://github.com/vpetersson/sdflasher09:53
* ogra_ sighs09:55
ogra_there must be a million of such scripts out there ... and every year someone writes a new one :P09:56
ogra_i should re-vive ubuntu-imagewriter ;)09:57
didrocksmvip: PR your way :)09:57
mvipogra_ i'm sure, but are any of them platform independent (OS X + Linux) and supports multiple formats of image files? :)09:58
ogra_didrocks, make a note that widows users need windows 10 for bash scripts ;)09:58
mvipogra_ haha09:58
mvipdidrocks awesome09:58
ogra_mvip, https://help.ubuntu.com/community/Installation/FromImgFiles09:59
didrocksogra_: good one :p09:59
ogra_add the script there too if you want to officially promote it09:59
ogra_thats where all other pages link to (for user documentation at least)10:00
ogra_hmm, and the imagewriter bit should be removed10:00
mvipogra_ might as well add it there, yeah. Thanks10:01
ogra_(would also be nice if you could make that script consistent .... thats half bash and half POSIX shell )10:03
mvipogra_: it says 'immutable page' for me10:04
ogra_logged in ?10:04
mvipogra_ yup10:04
mvipogra_: yeah, this was just a hackish script i had laying around that has grown over time. Need to clean it up a bit more10:04
ogra_just drop the [[]] from your if/elsif ....10:05
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
mvipasac i was able to build a snap using the PPA. Yay! :)10:44
mvipasac it's very slow however.10:54
mvipasac been waiting for 15 min now for building the 'py3-test' example and it says 23 minutes remaining.10:54
mvip(for arm build)10:54
mviphmm now i got 'Failed to build' but no error description at all.10:57
asacmvip: yes i already flaggedt hat issue. folks say it happened during LP upgrade yesterday and said they will investigate asap11:30
asaci dont know why arm is slow... if its slow building its probably not beefy builders or even emulators11:30
asacif its just long wait before it gets build it just means long build queue11:31
asacusually temporary because someone is doing an archive rebuild or something on the bilders11:31
mvipasac got it. thanks11:33
mvipasac well at least i know how to build it now.11:33
mvipbtw, can we create a (private) projects w/ multiple contributors somehow?11:34
asacplease shoot me a mail for that question. thanks11:34
mvipasac sure thing11:35
ogra_yeah, arm builders are non-native by default for PPAs unless you explicitly ask for native11:41
ogra_(use the canonical-arm-dev PPA if you want native, i can add you to it if needed)11:42
mvipogra_ how do I ask for native ones?11:42
mvipah :)11:42
mvipogra_ yes please ('vpetersson')11:42
ogra_mvip, oops,  sorry, that PPA is canonical only11:45
* ogra_ forgot about that11:46
mvipogra_ meh. ;(11:46
ogra_sorry for that11:47
kyrofaGood morning12:53
josephtgood morning13:02
kyrofajdstrand, I have a seccomp question for you when you get in13:11
jdstrandkyrofa: go ahead13:22
kyrofajdstrand, good morning!13:23
kyrofajdstrand, simple question, I think: why do we use SCMP_ACT_KILL as opposed to SCMP_ACT_TRAP in the launcher?13:23
jdstrandniemeyer, zyga: I've been looking at our udev tagging and there are several bugs on 16.04 (that's ok, zyga's udev branch hasn't landed yet so we'll just fix them)13:24
jdstrandkyrofa: trap is racy13:24
zygajdstrand: in my branch or in the code outside of snappy?13:24
zygajdstrand: can you be more specific13:24
jdstrandzyga: everywhere :)13:24
kyrofajdstrand, ah! It was indeed a simple question then, thank you :)13:24
zygajdstrand: can you please tell me more (just enough)13:24
jdstrandzyga: on 15.04 we generate things like this:13:25
jdstrandzyga: I'm getting there, hold on :)13:25
jdstrandKERNEL=="kmsg", TAG:="snappy-assign", ENV{SNAPPY_APP}:="hello-world.canonical"13:25
jdstrandthat's fine13:25
jdstrandin the current 16.04 code, we do something like:13:25
jdstrandKERNEL=="kmsg", TAG:="snappy-assign", ENV{SNAPPY_APP}:="hello-world.echo"13:26
jdstrandKERNEL=="kmsg", TAG:="snappy-assign", ENV{SNAPPY_APP}:="hello-world.env"13:26
jdstrandKERNEL=="kmsg", TAG:="snappy-assign", ENV{SNAPPY_APP}:="hello-world.evil"13:26
jdstrand...13:26
zygajdstrand: and those overwrite?13:26
jdstrandthe idea was I'm assuming to allow each individual app access to the device13:26
zygajdstrand: (I mentioned that yesterday)13:26
jdstrandyes, := overwrites. only one of those will work13:27
zygajdstrand: anyway, the other meeting is about to start, if you want we can jump there and we can continue this in a second13:27
jdstrandok13:27
kyrofajdstrand, is ERRNO also racy?13:27
jdstrandkyrofa: no. I suggested errno as EPERM and was told that we prefer kill13:28
zygajdstrand: can we merge those so that we just say ENV{SNAPPY_APP}="hello-world.echo,hello-world.env,hello-world.evil" ?13:28
jdstrandzyga: well, there seems to be some bugs on property match13:28
jdstrandI'm not sure yet13:28
zygajdstrand: I see13:28
kyrofajdstrand, oh, that's too bad!13:28
zygajdstrand: thanks for mentioning this13:28
zygajdstrand: it's not used by any interface yet13:28
jdstrandno13:29
zygajdstrand: but it will be required for various hw-assign-like scenarios13:29
jdstrandI knew the review was coming and it is related to my 'remove needle detection from launcher' bug13:29
jdstrandzyga: of course13:29
jdstrandzyga: I wanted to talk to pitti about it, but still investigating13:29
jdstrandI actually have a method that works13:30
zygajdstrand: let's join the hangout13:30
jdstrandzyga: is per app device assignment a requirement?13:30
jdstrandzyga: link?13:30
zygajdstrand: did you get it, I'm not nickserv-registered13:31
zygajdstrand: also sent on telegram13:31
jdstrandI got it. I joined what you pasted13:31
zygamorphis: hey, can we discuss the work you are doing here?14:13
=== chihchun is now known as chihchun_afk
elopiosergiusens: can I change the mqtt parts in the wiki to use https?17:07
elopiothat won't break anything, afaics17:07
sergiusenselopio, sure17:40
kyrofaIs it possible to change the keyboard layout in snappy?18:15
kyrofaI assume dpkg-reconfigure isn't going to work18:17
sergiusenselopio, can you explain this http://162.213.35.179:8080/job/github-snapcraft-autopkgtest-cloud/350/console ?18:25
sergiusenskyrofa, it was possible in the past, not sure snappy config ubuntu-core still exposes it18:25
kyrofasergiusens, alright thanks, doesn't look like it18:47
=== JanC_ is now known as JanC
=== RobertMueller is now known as Robert-MA

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