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

=== chihchun_afk is now known as chihchun
dholbachgood morning07:53
om26erHi! Where can I download the latest snappy image ?07:59
JamesTaitGood morning all; happy Friday, and happy English Toffee Day! 😃  🍬09:25
=== joc_ is now known as joc
asacadduser/useradd does not work on 15.04 latest?12:07
asactells me that it cant lock passwd12:07
asacdidnt we implement this?12:08
asacogra_: ?12:08
asacoh i am not on 15.04 to start with :)12:08
asaclol12:08
=== Chipaca` is now known as Chipaca
asacmvo: when will my classic fixes land?12:10
asacreally was hoping that i could demo it next week12:11
asacor rather today to prep for that demo12:11
mvoasac: it got merged last night. you are running on an all-snap system? what arch? amd64? rpi2?12:13
asacmvo: pi2 for now12:13
asacotherwise i wouldnt need classic that badly12:13
ogra_asac, you need the extrausers option12:13
asacand yes i am on all-snap12:13
ogra_but even with that there is one bug left12:13
ogra_(see --help, i forgot the exact syntax)12:14
mvoasac: pi2 and all-snaps?12:14
asacogra_: /usr/bin/chfn: unrecognized option '--extrausers'12:14
asacthats the bug left?12:14
ogra_yeah12:15
asacmvo: ack!!12:15
ogra_you can ignore it12:15
mvoasac: ok, I will prepare a new image12:15
ogra_user addition should still process12:15
asacmvo: will i get it thropugh update?12:15
asacthanks!!!12:15
mvoasac: yes12:15
asaci can also reflash for sure12:15
asacnice12:15
mvoasac: you will need to destroy/create the classic though after you got the new version12:15
asacogra_: so you say it succeeded?12:16
* asac checks12:16
asacogra_: urright12:16
asacworks :)12:16
* asac prefers being asac tghan ubuntu12:16
asacmvo: sure... already destroyed it hoping that the fix was there12:16
ogra_asac, http://paste.ubuntu.com/14437429/ thats the script i use for setting up machines12:16
ogra_(for syntax reference)12:17
asacmvo: find it odd that we have enable-classic vs destroy ... rather think create-classic if its destroz, but afaik it all moves to a snap anyway soon?12:17
mvoasac: yeah, I need to get the details from guastvo about the exact UI but it will change12:18
asaccool12:18
asacmvo: how long you think until the new image is up?12:18
mvoasac: ~1h12:18
asacgogogogo12:19
mvoasac: sorry, there is the potential for it to be (much) faster but right now its not because we reuse a lot of the infrastructure12:19
asacmvo: 1h is better than what i was scared to hear :)12:20
asacso no worries12:20
asacmvo: how would it be much faster by not reusing infra?12:20
asacoh is that about taking lxc images as starting point and patching up?12:20
mvoasac: the process is build snappy git snapshot in the ppa, wait for it to build and publish, trigger image build on cdimage, wait for it to build and get imported, generate OS snap and upload to the store. if there was a way to do the building locally everything would be way quicker12:23
mvoasac: anyway, the ppa build is running, once that is in I will trigger the image build etc12:24
ogra_mvo, just a reminder poke about the u-d-f merge (it will really not interfere with all-snaps, all code runs after image creation)12:26
asacogra_: so i unpacked our initrd and noticed that all the bbox binaries were copies rather than symlinks to busybox binary12:27
asacis that because i used wrong cpio flags? or do we really have them all duplicated?12:28
asacmvo: gotcha12:29
ogra_asac, are you sure they are bb binaries ? ...12:44
ogra_i think the binaries you see are all native versions12:44
asacogra_: sure...  same size12:44
ogra_well, then i dont know12:45
asacall same size identical with bb?12:45
ogra_we only run update-initramfs to create the initrd ... nothing fancy12:45
asacogra_: http://paste.ubuntu.com/14437554/12:46
ogra_yeah, i belive you12:46
ogra_i'm pretty sure inside the initrd they are links12:46
ogra_did you unpack in a vfat ?12:47
asacogra_: no its on my tmpfs on my normal laptop12:58
ogra_weird12:58
asacogra_: anyway... dont worry for now... did you ever try to snap up screen?12:58
asacogra_: i used cpio -i to unpack12:58
asacif that matters12:58
ogra_heh, no, that never struck me12:58
ogra_(to snap screen)12:58
asacok let me try what happens then :)12:58
ogra_might need some device rules ...12:59
ogra_(to access ptys and ttys)12:59
asacdevice rules?13:02
asacyou mean grant permissions to non dialout group?13:02
ogra_well, permissions13:02
ogra_it will be confined, most of /dev wont be accessible without extra work ...13:03
ogra_(hw-assign, capabilities etc)13:04
asacsure13:04
kyrofaGood morning13:05
ogra_anyway ...13:05
* ogra_ goes back to do vacation stuff13:05
asacoh darn :( ... of course i ahve to wait for classic13:06
* asac sets countdown and goes for basic food13:06
ogra_heh13:06
kyrofasergiusens, good progress on the yaml changes. I do have a few questions though13:25
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
sergiusenskyrofa, we can discuss them in 15 minutes live if you wnt ;-)14:14
kyrofasergiusens, sounds good to me14:14
kyrofasergiusens, worst case, I forgot-- we can actually host our own rosdep yamls in a github fork14:56
sergiusenskyrofa, sounds good to14:56
kyrofasergiusens, because it looks like the cache is pickled :(14:57
sergiusenskyrofa, better if it is in the plugin itself though14:57
sergiusensah14:57
sergiusensdarn14:57
kyrofasergiusens, agreed, we'd need to keep it up to date which isn't ideal14:57
sergiusenskyrofa, how about patching rosdep itself?14:57
kyrofasergiusens, you mean officially, or in the plugin?14:58
sergiusenskyrofa, in the plugin; not sure about officially14:59
kyrofasergiusens, are we fighting this too much? Should the plugin just support different sources for ros releases and compare them against the ubuntu release and error out if it's not supported?14:59
sergiusenskyrofa, maybe so15:00
kyrofasergiusens, I mean, it's not ideal, but it's how they've chosen to support ubuntu15:00
sergiusenskyrofa, but jade only goes all the way to vivid :-P15:00
kyrofasergiusens, gahh15:00
* rsalveti kicks asac :P15:15
asacrsalveti: what did i do :)15:16
kyrofasergiusens, alright, I figured out a way around this, but there's sort of a greater limitation I'd like to discuss. Right now the catkin plugin has the trusty .deb repos hard-coded, as you know15:16
rsalvetiasac: are you playing with the db410c board/15:16
kyrofasergiusens, which means any rosdistro not in there will error out15:16
asacrsalveti: not personally, but others do :)15:16
asaci didnt receive one yet :)15:17
rsalvetialright :-)15:17
asacricmm and lool etc.15:17
asacogra as well15:17
kyrofasergiusens, fortunately, rosdep has a command line parameter for what version of ubuntu to use to resolve dependencies15:17
rsalvetigreat, want to make sure you guys are using the stuff we are producing (or getting the patches from it at least)15:17
kyrofasergiusens, so for now I can just say "use trusty" even if they're on vivid or xenial15:17
rsalvetiasac: how is the kid going? listening metallica already?15:18
kyrofasergiusens, I'll test that out-- perhaps that's enough for 1.0 to be releasable15:18
kyrofaWe can revisit the repos later15:18
ogra_rsalveti, i'm on vacation, i did work out a proper kernel config for our tree before my holidays, ppisati is preparing a package i can use after i return then .. i think we're fine on track15:18
rsalvetiogra_: cool, then what are you doing online? :-)15:19
ogra_stuff :)15:19
rsalveti:P15:19
asacrsalveti: no, i moved to mozart instaed :P15:20
kyrofasergiusens, since both jade and indigo are supported in trusty, and pretty much everyone is using one of those15:20
asacj.k.15:20
rsalveti:P15:21
sergiusenskyrofa, that's fine for 1.x, not so for 2.x15:21
kyrofasergiusens, how come?15:22
kyrofasergiusens, just to support newer releases, you mean?15:22
sergiusenskyrofa, we said snapcraft 2.x would only work on xenial; or better said, starting this new iteration; build on target is the way to go; we can discuss in a bit if you want; I'm in no call no so now is also good15:23
kyrofasergiusens, I'm not sure this affects that. Yeah, let's discuss (we can wait a bit though if you like)15:26
elopiomvo: for some failover tests we need to break the kernel, and for some we need to break the os. Is there a way to query for the name of a type of snap?15:37
mvoelopio: from the commandline? I think we don't have this right now, so we need to add it15:38
elopiomvo: do you want me to report a bug?15:40
mvoelopio: yes please. in the meantime you can find the name via "grub-editenv  list|grep ^snappy_os=" but its not a great workaround15:41
elopiookay, I'll make a note of that too.15:42
elopiomvo: fgimenez: so the thing here is to have a break in the fake update. Prepare the update, break the app, and then do the update.15:43
elopiofgimenez: and we'll have to change all the logic about current and other partition on the failover tests. Basically, rewrite them :) But it seems they will be a lot simpler.15:44
fgimenezelopio, that sounds good :)15:44
mvoelopio: yeah, with the new "make-fake-update" code we "just" need to inject our breaking in there15:44
mvoelopio: if you want I can create a skeleton with what I have in mind (if what I said was unclear or anything)15:45
elopiomvo: maybe. I was thinking of just calling the steps of the good fake update one by one, and add a call to the break method in the middle.15:46
elopiomvo: it sounds you have something fancier in mind.15:46
mvoelopio: just a callback with custom injections when building the new snap, but either way is fine, if you have a plan just go ahead, I'm in the middle of something else right now :/15:47
elopiomvo: okay, I was thinking of overwriting methods, like the current tests. But a callback sounds good, I can try. First I'll try something dirty just to see if I can break the reboot.15:48
mvoelopio: cool, thanks a lot for working on this, its very exciting!15:51
mvoelopio: keep me updated15:51
elopioit is indeed. Makes testing a lot easier.15:51
mvoits also much cleaner15:51
* mvo really is excited15:51
elopiomvo: https://bugs.launchpad.net/snappy/+bug/1532245 for next week :D15:57
ubottuLaunchpad bug 1532245 in Snappy "there is no way to tell which snaps are os, kernel and gadget" [Undecided,New]15:57
sergiusenskyrofa, lets have a call now?16:02
kyrofasergiusens, alright sounds good16:05
kyrofasergiusens, I'm in the standup url16:08
sergiusenskyrofa, joining then16:08
kyrofasergiusens, note that those hard coded sources will only work until the next version of ROS is released. Then we'll have to be a little smarter about it16:14
kyrofasergiusens, but that shouldn't be too bad16:14
sergiusenskyrofa, that is fine; when we get close to 16.04 releasing we can start working on a plan to support whatever ros LTS release will come out16:21
kyrofasergiusens, perfect16:22
sergiusenskyrofa, in theory there should be a K release, right?16:26
kyrofasergiusens, indeed16:26
sergiusenskyrofa, documentation suffers on the ros site as everywhere :-P16:26
kyrofasergiusens, haha, yes it does16:27
sergiusenskyrofa, ROS Kinetic Kame16:27
sergiusens16:27
sergiusensMay, 201616:27
sergiusens16:27
sergiusensTDB16:27
sergiusens16:27
sergiusensTDB16:27
sergiusens16:27
sergiusensMay, 202116:27
sergiusensoops16:27
sergiusenssupposed to be a one liner :-)16:27
sergiusenshttp://wiki.ros.org/Distributions16:27
kyrofasergiusens, what on earth is a Kame16:28
sergiusensA kame is a geomorphological feature, an irregularly shaped hill or mound composed of sand, gravel and till that accumulates in a depression on a retreating glacier, and is then deposited on the land surface with further melting of the glacier.16:28
sergiusensgoogle images shows anything but that16:29
sergiusensmust be a popular "star" name16:29
geniiSo a pile of detritus16:30
kyrofasergiusens, https://github.com/ubuntu-core/snapcraft/pull/212 . Should be a painless review16:38
* asac wonders if there is a way to convince screen to not write to /var/run/ without patching16:59
asacok SCREENDIR looks like a candidate17:01
asacjdstrand: debug.security saying "* add 'mknod' to 'syscalls' in security-override17:04
asac"17:04
asacis good guidance?17:04
ogra_asac, btw, ii thijnk i'll give up on my postfix/dovecot snap ... i really dont want to maintain users in an SQL db or some such and want to be able to use procmail ... getting that to work in a snap will be super tricky17:07
sergiusenskyrofa, I need to drop for a bit, baby issues17:14
kyrofasergiusens, hey I have those too, no worries :)17:16
jdstrandasac: it may also say to adjust the program to not use mknod17:18
jdstrandasac: on a 16.04 system to get the snap running, you can do:17:18
jdstrandservice:17:18
jdstrand  - name: foo17:18
jdstrand    caps: network-client17:19
jdstrand    security-override:17:19
jdstrand      syscalls: [ mknod ]17:19
jdstrandlots of caveats: you will likely have other things to add (eg, write-path), this would be blocked by the store, security-override is going away17:19
jdstrand(in favor of new capabilities system)17:20
jdstrandI advise adjusting the program to not use mknod17:20
kyrofaelopio, any chance you have a minute to review https://github.com/ubuntu-core/snapcraft/pull/212?17:24
asacjdstrand: ok lety me try that17:24
sergiusenskyrofa, I reviewed it, just wanted to test it on xenial :-)17:24
elopiokyrofa: oh, even better. I'll merge my xenial branch to confirm it now passes.17:25
elopiogive me a second...17:25
kyrofasergiusens, oh, okay!17:25
asacjdstrand: and click-review tools?17:25
asacis that supposed to work with squash?17:25
sergiusenselopio, that seems to be the way ;-)17:25
sergiusensknowing that it runs though is a big bonus too ;-)17:25
jdstrandasac: if you have the latest checkout, yes, it should work17:26
jdstrandasac: I don't think that the tools ppa has it though, since all snaps hasn't landed yet17:27
asacjdstrand: http://paste.ubuntu.com/14439310/17:27
jdstrandasac: snapcraft may not understand the 16.04 security-override. sergiusens, can you comment?17:28
asacok seems not :/17:28
asacjdstrand: is apparmor and seccomp still an option or not valid anymore on 16.04?17:30
kyrofajdstrand, anything 16.04 specific hasn't been released yet17:30
kyrofasergiusens, elopio also look over https://github.com/ubuntu-core/snapcraft/pull/211 when you have a chance. We've started getting PRs with no associated bugs17:32
asacjdstrand: i am running click-review from lp: trunk17:34
asactells me its not a debian package17:34
asacjdstrand: http://paste.ubuntu.com/14439370/17:35
jdstrandasac: so, security-override changed in 16.04 to be usable17:36
jdstrandthis was before Brazil17:36
jdstrandon 15.04 you do:17:36
jdstrandservices:17:36
jdstrand  - name: foo17:36
jdstrand    security-override:17:36
jdstrand      apparmor: path/to/foo.apparmor17:36
jdstrand      seccomp: path/to/foo.filter17:37
jdstrandand path/to/foo.apparmor was a click security manifest (json) and path/to/foo.filter was a list of syscalls17:37
jdstrandit was crap and bad and removed17:37
jdstrandso on 16.04 there is:17:37
jdstrandservices:17:37
jdstrand  - name: foo17:37
jdstrand    security-override:17:38
jdstrand      syscalls: [ a, b ]17:38
jdstrand      read-paths: [ /c, /d ]17:38
jdstrand      ...17:38
jdstrandsnapcraft isn't accounting for the yaml change in 16.0417:38
jdstrandbut, in Brazil, security-override will be removed (probably why snapcraft isn't updated)17:39
jdstrandasac: so in light of that, remove security-override from your yaml. if you are just debugging, add mknod to /var/lib/snappy/seccomp/profiles/... for your app17:40
jdstrandasac: if this is for the store, do that ^ until you are happy, then use 'security-policy'17:41
jdstrandwe are at a weird point for developing on snappy-- things are changing a lot and it is a bit bumpy17:41
sergiusensjdstrand, asac reason was that snapcraft used work across all versions, now it is bound to release; I haven't made that change yet17:49
elopioI'm running more than 10 sets of tests at the same time :D17:56
elopiotravis, vm, real machine, I'm going to explode.17:56
kyrofaelopio, *achievement unlocked*17:56
kyrofaI can hear you now "And they're ALL failing! What are the odds?"17:57
elopiokyrofa: I can build and install the snap. But when I run the binaries I get python not found, rosrun not found, cat not found.17:57
elopiothat's like: half of the test passed :)17:58
kyrofaelopio, argh. Which version of ubuntu core are you running?17:58
elopiokyrofa: rolling edge #310, kvm.17:58
kyrofaelopio, investigating now18:04
elopiogoal for the next week, get the examples install and execution suite automated.18:05
kyrofaelopio, yeah something must have changed pretty significantly from vivid (which is what I'm running). I'll get a rolling VM up18:11
kyrofaelopio, any chance you know why u-d-f is giving me "generic-amd64 failed to install: snappy package not found" when I try to create a rolling image?18:16
kyrofa(on xenial)18:17
elopiokyrofa: yes, use --oem generic-amd64/stable18:17
=== joc is now known as joc|away
sergiusenskyrofa, elopio we really want to make sure 15.04 works for 1.x though18:18
kyrofaelopio, hmm... that gives me other errors ("generic-amd64/stable failed to install: exit status 2"). What incantation are you using?18:18
kyrofasergiusens, 15.04 works fine in my tests18:18
elopiosergiusens: I'm testing that with my left hand :)18:18
kyrofaelopio, hahaha18:18
elopiokyrofa: sudo ubuntu-device-flash core rolling --channel edge --oem generic-amd64/stable --developer-mode -o ubuntu-snappy-rolling-edge-amd64-generic.img18:18
kyrofaelopio, huh, yeah "exit status 2."18:19
kyrofaelopio, maybe I'll try on wily instead18:19
elopiokyrofa: I'm with u-d-f 0.33-0ubuntu218:20
kyrofaelopio, same here. What on earth18:21
kyrofau-d-f needs to depend upon ubuntu-snappy18:23
kyrofacli18:24
kyrofaelopio, is this really the first snapcraft issue you've hit on rolling?18:29
elopiostgraber: hey look, all green \o/ https://travis-ci.org/ubuntu-core/snapcraft/builds/10111569918:30
elopioThe only thing I didn't like was that I had to chmod 777 the directory I mounted on the container.18:30
elopioI tried chown 100100, but it gave errors when the tests created links, and when touching the coverage file in the base directory.18:30
elopiokyrofa: it's the first I tested this year.18:31
kyrofaelopio, huh, wily gave me the same problems. Wonder if it has something to do with lxc18:32
kyrofaelopio, any chance you can share your image? :P18:33
kyrofasergiusens, if it's verified that this works for 15.04, is it good for 1.0?18:33
stgraberelopio: to avoid the chmod you can either run a privileged container (pass -c security.privileged=true to launch) or chown or add an acl for uid 101000 (the mapped uid of user ubuntu in the container)18:33
elopiokyrofa: hum, no, that would take like the whole day. Remember that I'm bandwidth handicapped. Do you have access to canonistack?18:34
kyrofaelopio, oh yeah :P18:34
kyrofaelopio, and yes, I do18:34
elopiostgraber: I tried chown. Maybe I'll go the privileged container way.18:35
elopiokyrofa: there is a rolling image of yesterday in there. Do you know how to start it?18:36
stgraberelopio: you could apt-get install acl and do "setfacl -m default:user:101000:rwX -R $(pwd) && setfacl -m user:101000:rwX -R $(pwd)", that should set the posix ACL everywhere where it matters including a default ACL that should automatically be set for any new entry18:36
kyrofaelopio, oh brilliant! Yeah, thanks :)18:36
stgraberelopio: but otherwise, since it's an ephemeral environment and you don't really care about security, security.privileged=true would certainly be the easiest way out of the problem :)18:37
elopiostgraber: okay, so more tries for next week :)18:38
elopiostgraber: look at this one: https://travis-ci.org/ubuntu-core/snapcraft/builds/10112181618:38
elopiotravis is awesome, free machines for everybody. Now we have trusty, vivid and xenial for each suite.18:38
stgraber:)18:42
sergiusenskyrofa, yeah18:42
kyrofaelopio, has your 15.04 test finished?18:43
elopiokyrofa: I'm using trusty to build the examples. The two go ones failed, I'm investigating. And I'm starting a 15.04 snappy to run the ros I've built in there.18:45
kyrofaelopio, and the ros was built from xenial?18:48
kyrofaelopio, or vivid? Something past trusty18:49
elopiokyrofa: the ros built from trusty works on 15.0418:52
elopiokyrofa: the packages built on xenial can't be installed on 15.0418:52
kyrofaelopio, alright. I built the ros package on xenial using the 1.x branch, and it installed and ran fine18:53
kyrofaelopio, well, with the bugfix branch actually18:53
elopioah, using the 1.x branach18:53
kyrofaelopio, right18:53
kyrofaelopio, use my backport branch18:53
elopiook, now let me refocus.18:54
kyrofaelopio, but yeah, sounds like 1.x has some issues with later versions of snappy, which isn't entirely surprising18:54
elopioI wanted to confirm that 1.x worked on trusty. kyrofa: do you want me to confirm that 1.x ros works on vivid too?18:54
kyrofaelopio, it wouldn't hurt, but we've now confirmed that 1.x works on trusty and xenial, so...18:55
kyrofa(at least as far as ros goes)18:55
kyrofaelopio, so I'm satisfied with that bugfix anyway18:56
elopiofor 1.x, if you have already built it and run it, I agree.18:56
kyrofaelopio, alright. Shall I merge it and update the release PR, then?18:58
elopiokyrofa: sure. I'll start firing my vivid vm to see if I find something weird in there.18:59
elopiowhere did sergiusens go?19:00
kyrofaelopio, just back to general release testing?19:00
kyrofaelopio, not sure. Perhaps more problems with the little one19:00
elopiokyrofa: I'm getting errors in the go examples in trusty. Also travis is failing there: https://travis-ci.org/ubuntu-core/snapcraft/jobs/10112182119:00
elopiooh wait, wrong link. That's the one your pr fixes.19:01
elopiosergiusens: kyrofa: https://travis-ci.org/ubuntu-core/snapcraft/jobs/101121821 go examples failed to build in trusty.19:01
sergiusenselopio, archive errors it seems19:02
sergiusenselopio, Failed doing pull for godd: W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages  Hash Sum mismatch19:02
kyrofasergiusens, elopio yeah I've noticed those a few times too-- rerun19:02
elopioah, yeah, I'll retry for that one. But also:19:02
elopiohttp://pastebin.ubuntu.com/14440028/19:02
elopiothis is the one I get with godd on my vm:19:03
elopiohttp://pastebin.ubuntu.com/14440034/19:03
sergiusenselopio, oh, right, godd might not be buildable on trusty anymore; or did we not talk about this at some point already? I forget19:04
elopiowell, it seemed to have been building before. My guess is that something installed in the travis trusty machine made it work.19:05
elopionow that we are in a lxc, we need to figure out what that was.19:05
sergiusenselopio, no worries, I have my trusty lxc instance and it worked last I checked19:06
elopioyes, it passed on kyle's branch for the changelog.19:06
jerryGkgunn: are u there?19:10
kyrofasergiusens elopio, alright the release branch has been updated19:11
elopiook, the only problem I can find on trusty is that with the go examples, which if is a bug it's not new.19:17
elopiokyrofa: sergiusens: if you want, you can wait for me to do some validation on vivid. Or you can release now.19:17
jerryGchipaca: u there?19:18
elopiokyrofa was trying stuff in vivid, so I doubt I will find something here.19:18
kyrofajerryG, capital-C: Chipaca19:18
jerryGkyrofa: k thx19:18
jerryGChipaca: u there?19:18
kyrofasergiusens, your call19:19
sergiusenselopio, kyrofa I have no issues with waiting and not having to look back ;-)19:19
elopiosergiusens: ok. Can we release on monday then so I can have a relaxed lunch? or do you want to release today?19:20
sergiusenskyrofa, ? are you in a rush?19:21
kyrofasergiusens, elopio fine by me19:21
elopiomonday it is then :D Actually we should make a rule of never ever releasing on friday.19:21
sergiusenselopio, I love releasing on Friday19:22
sergiusenscheck the history ;-)19:22
kyrofaHahaha, elopio you don't want to come back a million bug reports on Monday?19:22
elopioI would prefer the million bugs to be on tuesday ;)19:24
kyrofa:F19:24
kyrofaErr, :D. Wow19:25
kyrofaBeaver smiley?19:25
sergiusenslol19:26
Chipacakyrofa: jerryG: OHI19:26
jerryGChipaca: hey!19:27
Chipacakyrofa: i'm case-insensitive, fwiw, but you guys always seem to call me post-EOD =)19:27
elopiopost-EOW :)19:28
jerryGChipaca: im trying to get mir clocks example running on snappy stable.  But I'm getting a "connection to mir failed... check if MIR is running" error19:28
kyrofaChipaca, heh. I'm not calling you though!19:28
ChipacajerryG: is mir running?19:29
kyrofaChipaca, if you're EOD you should ignore us!19:29
jerryGChipaca: yeah.  I'm using mir.mvp-demo though.  But I get the cursor on black background.19:29
ChipacajerryG: and where does that mir have its socket?19:30
jerryGChipaca: how to check? ps-ax?19:30
ChipacajerryG: or find perhaps19:30
Chipacakgunn: wasn't there a newer mir than mir.mvp-demo?19:31
jerryGChipaca: mir_demo_server --window-manager fullscreen --file /run/mir_socket --vt 119:32
ChipacajerryG: k19:32
ChipacajerryG: and is your client using that same socket, and does it have access to it?19:32
jerryGChipaca:  how to check?... my "clocks" shell script executes /apps/mir/current/bin/mir-run19:35
jerryGChipaca: and I have "framwork" set to mir in the yaml19:35
ChipacajerryG: have you checked syslog for apparmor denials?19:38
kyrofajerryG, or run snappy-debug19:39
jerryGChipaca: snappy service logs?19:41
jerryGkyrofa: how do i use snappy-debug?19:43
kyrofajerryG, install it: sudo snappy install snappy-debug, and run it: sudo snappy-debug.security scanlog19:44
kyrofajerryG, it parses syslog for apparmor denials and gives you some helpful advice19:44
jerryGkyrofa: kk thx.  i see all the denials19:46
jerryGChipaca: kyrofa: I fixed apparmor denials.  But still getting same "connection to mir failed" output from clocks example.20:02
ChipacajerryG: what socket is it trying to connect to?20:49
mvojdstrand: I have a branch that renames /apps to /snaps - is there apparmor work needed for this? pardon my ignorance on this, I did change some code in security.go for this new location but I'm not sure if there is more to do for that20:50
sergiusensChipaca, just noticed that my PR for licenses was wrong, it was supposed to be meta/license.txt, not meta/hooks/license.txt ;-)20:51
mvojdstrand: https://github.com/ubuntu-core/snappy/pull/308 fyi, but its pretty borning20:51
sergiusensjdstrand, I solve the fact that we can't use envvars in command (former start) within snapcraft itself, so if snapcraft is used, it is allowed (given our wrapping) ;-)20:52
jdstrandmvo: with click-apparmor gone, the only thing should be your change to security.go. if you can install hello-world.mvo and run hello-world_env, it should be fine20:54
jdstrandmvo: (ie, that is why we use apparmor variable for INSTALL_DIR instead of hardcoding it in policy)20:55
mvojdstrand: cool, thanks20:56
jdstrandnp20:56
sergiusenselopio, is there a way to get a better pep8 on trusty?21:06
sergiusenselopio, these drive me nuts :P https://travis-ci.org/ubuntu-core/snapcraft/jobs/10115842921:07
mvoogra_: arm64 build works again21:19
sergiusenskyrofa, elopio if nothing to do you guys have, maybe check this you might https://github.com/ubuntu-core/snapcraft/pull/21521:29
sergiusensChipaca, zyga mvo as well ^21:29
sergiusensthat's snap.yaml in full except capabilities with full backwards support for package.yaml and readme.md21:30
sergiusensjust needs documentation updates21:30
jerryGChipaca: how to check?22:50

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