/srv/irclogs.ubuntu.com/2016/12/19/#snappy.txt

=== cydizen_ is now known as cydizen
=== chihchun_afk is now known as chihchun
=== BlueT__ is now known as BlueT
iotenthusiastWhat is the format of a snap image . Is it an archive or a binary04:01
=== liuxg_ is now known as liuxg
liuxgiotenthusiast, you can get the answer at http://snapcraft.io/docs/snaps/intro, it is acutally a squashFS file system07:35
mupPR snapd#2500 closed: tests: run snap confine tests <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2500>08:24
mupIssue snapd#2502 opened: snap login fails on ppc64el <Created by mvo5> <https://github.com/snapcore/snapd/issue/2502>08:29
mupPR snapd#2499 closed: tests: add super simple classic confinement test <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2499>08:39
mupIssue snapd#2503 opened: chattr code (tests/main/chattr/task.yaml) fails on ppc64el <Created by mvo5> <https://github.com/snapcore/snapd/issue/2503>08:40
mupIssue snapd#2504 opened: interfaces-upower-observe snap test fails on ppc64el <Created by mvo5> <https://github.com/snapcore/snapd/issue/2504>08:47
alexandersgreatlmao this sounds so stupid09:52
alexandersgreatsnally09:52
alexandersgreatsnappy09:52
alexandersgreatlmao09:52
alexandersgreatsounds like shit omg09:52
alexandersgreatall of you must be virgins lel09:52
mupPR snapd#2505 opened: many: behave more consistently when pointed to staging and possibly the fake store <Created by pedronis> <https://github.com/snapcore/snapd/pull/2505>09:58
mupPR snapd#2501 closed: tests: enable the ppc64el tests again <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2501>10:51
mupBug #1651090 opened: snap names starting with capital letters aren't supported <Snapcraft:New> <Snappy:New> <https://launchpad.net/bugs/1651090>11:01
DanChapmanjdstrand: hey. I've received this error from the store "not allowed by 'deny-connection/plug-attributes' in base declaration declaration-snap-v2_plugs_deny-connection (browser-sandbox, browser-support)"  but i'm not sure what it means.11:13
DanChapmanHave i declared something incorrectly https://git.launchpad.net/dekko/tree/snapcraft.yaml or is it an issue in the store review?11:13
morphisDanChapman: it means that by default you're not allowed to use the 'allow-sandbox: true' attribute of the browser-support interface11:30
morphisDanChapman: see https://github.com/snapcore/snapd/blob/master/interfaces/builtin/basedeclaration.go#L18111:31
morphisDanChapman: you can get around this if you ask during the store review if you can still use it, then the store folks will create a snap-declaration assertion which then allows you to use that attribtute11:32
vigo_fgimenez, ping11:41
mupPR snapd#2506 opened: cmd/snap-confine: disable old tests <Created by zyga> <https://github.com/snapcore/snapd/pull/2506>11:53
mupPR snapd#2507 opened: tests: port first regression test from snap-confine <Created by zyga> <https://github.com/snapcore/snapd/pull/2507>11:54
DanChapmanmorphis: ah ok then, that's great Thanks! :-) I will ask in the review if i can use it.12:08
morphisDanChapman: depending on which snapd version you have you can try to connect via $ snap connect --dangerous ...12:08
fgimenezhey vigo_ :)12:20
teoincontattoHi, there! I'm in the process of creating the SNAP for ToroDB, a java application that run as a service and replicate/transform data from MongoDB to PorstgreSQL (torodb.com). I have created a first SNAP that run as a "simple daemon".  I don't see any way to run the daemon with another user that is not root. I don't see specific documentation to udenrstand why we can/should not create an user and use it to run the service as when 12:20
vigo_fgimenez, how do you flash images for pi3 and db? with dd right?12:22
fgimenezvigo_, yes, for all of them12:23
vigo_fgimenez, ok and how you do it?12:24
vigo_I've noticed that there are different ways to dd the image, in different documents I visited12:25
fgimenezvigo_, "sudo dd if=~/Desktop/ubuntu-core-16-pi2.img of=/dev/sdc bs=4M oflag=sync status=noxfer", this is recommended in the db docs and works fine for the pi's too12:28
vigo_fgimenez, excellent, that's what I wanted you to confirm :) I use that from setting up the board doc12:29
ollisergiusens, kyrofa do you guys have any insights for teoincontatto12:29
=== chihchun is now known as chihchun_afk
fgimenezvigo_, great :) there's also the godd snap, probably simpler and more friendly, but haven't tried it yet12:30
ogra_vigo_, you need to make pretty sure that the device isnt auto-mounted in the background by nautilus or so before dd'ing ... and you dont need to unxz ... xzcat ubuntu-core-16-pi3.img.xz | sudo dd of=/dev/sdc bs=64M is what i use12:31
ogra_but yeah, use the gdodd snap ... fgimenez is correct ... thats definitely the safest12:32
ogra_iirc it tests for background mounts and such ... and has a progress bar ;)12:32
vigo_ogra_, thanks for confirming, I know from vrruiz that godd also works fine :). I still use dd but sure I'll try also godd12:33
vigo_fgimenez, remember those boot logs that sometimes appears in "Press enter to configure" page¿12:35
vigo_is there a bug to track it already?12:35
mupPR snapd#2508 opened: interfaces/apparmor: ignore snippets in classic confinement <Created by zyga> <https://github.com/snapcore/snapd/pull/2508>12:40
mupPR snapd#2509 opened: overlord/ifacestate: remove stale comments <Created by zyga> <https://github.com/snapcore/snapd/pull/2509>12:43
mupIssue snapd#2510 opened: spread tests fail when invoked in a sub-directory (generate-packaging-dir) <Created by zyga> <https://github.com/snapcore/snapd/issue/2510>12:46
mupPR snapd#2511 opened: spread: find top-level directory before running generate-packaging-dir <Created by zyga> <https://github.com/snapcore/snapd/pull/2511>12:53
Elleohas the syntax for "stage:" changed recently? I get this when attempting to use it as per the docs: "Issues while validating snapcraft.yaml: The 'parts/stage' property does not match the required schema: ['-etc/presage.xml'] is not of type 'object'"13:04
=== alan_g is now known as alan_g|lunch
Elleoahh, just had the wrong indentation :)13:49
=== alan_g|lunch is now known as alan_g
=== jgrimm-out is now known as jgrimm
mupPR snapd#2512 opened: Release snapd 2.20.1 <Created by mvo5> <https://github.com/snapcore/snapd/pull/2512>14:45
mupPR snapd#2513 opened: don't use deprecated http.Transport.Dial <Created by teknoraver> <https://github.com/snapcore/snapd/pull/2513>14:58
jdstrandDanChapman: 'allow-snadbox: true' is reserved. you can drop that. you might need to set an environment variable to make the chromium sandbox not do its namespace sandbox15:25
jdstrandDanChapman: if you are using oxide, there is an env var. you might ask the oxide guys (I don't remember it otoh)15:26
DanChapmanjdstrand: ok. So it's fine for that to be false, ill change that then. I already set OXIDE_NO_SANDBOX in the launcher script which i think is the env var you mentioned. Thanks!15:36
jdstrandDanChapman: yes, please use OXIDE_NO_SANDBOX=1 and drop allow-sandbox: true15:38
jdstrandDanChapman: it should work then15:38
kalikiana_jdstrand: As you're discussing this I remember wondering before: why is it that the real sandbox can't be used and the recommendation is to disable it? That looks a little upside down to my naive mind15:43
kalikiana_Is there more work needed on the snapd side?15:44
jdstrandkalikiana_: because the snappy sandbox and the chromium sandbox don't work well together. we have to grant a *lot* of privileges to the snap for it to use the chromium sandbox15:44
jdstrandkalikiana_: it is work in the kernel and also in chromium to coordinate better with snapd15:45
jdstrandkalikiana_: also, for a web app or webview, the snappy sandbox is more than enough (it is a proper sandbox after all). allow-sandbox if for a trusted browser like chrome, webbrowser-app, etc to be able to do privileged operations to then drop them immediately15:47
kalikiana_Hmm okay.15:57
mupIssue snapd#2514 opened: snap-confine tests fail on 14.04 <Created by zyga> <https://github.com/snapcore/snapd/issue/2514>16:21
nacckyrofa: thanks!16:39
mupPR snapd#2515 opened: snap run: create "current" symlink in user data dir <Created by stolowski> <https://github.com/snapcore/snapd/pull/2515>16:40
kyrofanacc, no problem, hopefully that feature is helpful. I know I'm tired of writing python for one-liners16:40
nacckyrofa: yeah, i have i think three snaps I did a few months ago that become much more obvious and (presumably) a snapcraft.yaml with that change16:42
mupPR snapd#2516 opened: tests: cancel the scheduled reboot on ubuntu-core-upgrade-no-gc and restore state <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2516>17:20
mupPR snapd#2506 closed: cmd/snap-confine: disable old tests <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2506>17:29
=== mup_ is now known as mup
mupPR snapd#2507 closed: tests: port first regression test from snap-confine <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2507>20:25
joehello all20:31
=== joe is now known as walid
=== walid is now known as walidof
walidofhello all20:33
walidofi need help for first login to ubuntu core20:33
walidofi need localhost login name / pass20:34
walidofi try add : ubuntu - ubuntu - toor - root - startx20:34
walidofand the problem not solved20:35
mupPR snapd#2508 closed: interfaces/apparmor: ignore snippets in classic confinement <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2508>20:36
mupPR snapd#2509 closed: overlord/ifacestate: remove stale comments <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2509>20:36
mupPR snapd#2517 opened: tests: add hello-classic test <Created by zyga> <https://github.com/snapcore/snapd/pull/2517>20:37
mupPR snapcraft#985 closed: Better message for missing snapcraft.yaml in origins <Created by josepht> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/985>20:39
mfeatherstonDuring snap installs I keep getting connection reset by peer.  Is there any known issue with the store right now?  I don't get this from apt-get on other systems here.21:10
mfeatherstonif I retry it eventually goes through21:10
kyrofamfeatherston, the store and the archives are hosted in different places21:13
kyrofanessita, do you know of any store issues?21:14
nessitakyrofa, no issues as far as I know21:18
kyrofamfeatherston, ^^ . Alright, thanks nessita :)21:19
mfeatherstonok, thanks!21:19
kyrofamfeatherston, http://status.snapcraft.io/ might be helpful21:20
mfeatherstonheh, good to know, but that came back with "Our service is temporarily unavailable. We are currently working to restore it."21:22
kyrofamfeatherston, huh, interesting, I just visited it21:23
ssweenynow we need a status.status.snapcraft.io21:23
mfeatherstonahh, I reloaded and it came up21:23
mfeatherstonheh21:23
kyrofaI'm not sure what to say about that :P21:24
mfeatherstonit's a page from Zoho saying "We'll be right back".  Either way that part is working now.21:25
kyrofanessita, that sounds odd ^^21:26
mfeatherstonIf I look at the packet capture of my snappy system it tries to change the TCP window size and the remote server is sending me a reset21:27
mfeatherstonI'm wrong about the window size thing, that isn't consistent.  The resets are fairly reproducible and I've tried multiple NICs though.  I'll try this from another Internet connection later tonight.21:41
mupPR snapcraft#991 closed: Updated ant plugin to use get_build_properties() <Created by ZenHarbinger> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/991>22:06
mupPR snapcraft#1007 opened: lifecycle: clean without parsing if possible <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1007>22:15
Fohlen1heya there .. I am trying to build a snapcraft plugin for https://github.com/Fohlen/conan-snapcraft. When using it with https://github.com/inexor-game/code/blob/fohlen/snapcraft/tool/snap/snapcraft.yaml I'm prompted with22:39
Fohlen1'NoneType' object has no attribute 'copy'22:39
Fohlen1which is not a quiet detailed error log though .. and I'm a bit stumbling where/how to get started with that22:39
kyrofaFohlen1, can you pastebin the output of running `snapcraft -d`, please? (debug)22:40
Fohlen1uh. the help command didn't show that it exists! http://pastebin.com/hpwN49cp22:42
kyrofaAh, Sauerbraten! That brings back memories22:42
kyrofaFohlen1, hmm, what version of Ubuntu are you on?22:42
Fohlen116.0422:42
Fohlen1err. kyrofa. from the autotools example I've just seen that I miss the return statement in schema22:43
kyrofaFohlen1, it's down in the Options of the help page, by the way22:43
kyrofaFohlen1, indeed, if you're not returning a schema it gets None22:43
kyrofaWhich of course, can't be copied :)22:44
Fohlen1kyrofa: lovely! :)22:49
Fohlen1kyrofa: is there anywhere a more extensive documentation about the plugins, or will I need to stumble through the source-code myself?22:52
Fohlen1(might use code autocompletion for that, but it's still painful)22:52
kyrofaFohlen1, this is the official docs for it: https://github.com/snapcore/snapcraft/blob/master/docs/plugins.md22:53
kyrofaFohlen1, but referring to the in-tree plugins will probably be most helpful22:53
Fohlen1alrighty22:54
=== nacc_ is now known as nacc
Fohlen1kyrofa: I can happily report that it works now!23:09
kyrofaFohlen1, excellent!23:09
Fohlen1maybe sometime soon we can offer a new game using snap! :)23:09
kyrofaThat'll be great!23:10
mupPR snapcraft#1008 opened: Add a simple straightforward conan.io plugin <Created by Fohlen> <https://github.com/snapcore/snapcraft/pull/1008>23:24
mupPR snapcraft#999 closed: Updated autotools plugin to use get_build_properties() <Created by ZenHarbinger> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/999>23:45

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