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

mupPR snapcraft#837 opened: kernel plugin: allow collecting the same mod deps <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/837>01:12
sergiusenscwayne thanks!01:15
sergiusenscwayne I hope you notice it is a smaller snap than before too ;-)01:15
cwayneooh I like that :)01:23
mupPR snapcraft#838 opened: pluginhandler: take the file encoding into account <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/838>02:06
=== bpierre_ is now known as bpierre
mupPR snapcraft#839 opened: Fixing 'sign-build' integration tests <Created by cprov> <https://github.com/snapcore/snapcraft/pull/839>04:36
cprovotherwise if falls apart with the static name, https://travis-ci.org/snapcore/snapcraft/builds/16360684404:37
zygao/05:34
mupPR snapd#2003 closed: debian: adjust packaging for trusty/deputy systemd <Created by vosst> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2003>05:48
dholbachgood morning06:41
zygahey dholbach07:43
zygamorphis_: hey07:43
zygamorphis_: I got things to work last night07:43
dholbachhey zyga07:44
dholbachcan somebody respond to the comment in https://plus.google.com/u/0/+DanielHolbach/posts/Xiho2rVSmEg?cfem=1?07:46
morphis_zyga: wow!07:57
morphis_zyga: how?07:57
davmor2ogra_: so it looks like my bug from yesterday is because of upgrades so I'm going to do a bunch of testing around that today and see if I can trigger it08:12
deymon0077hello08:14
zygamorphis_: re08:15
zygamorphis_: let me show you08:15
zygamorphis_: http://paste.ubuntu.com/23250152/08:16
zygatry this script please08:16
morphis_zyga: what should I do when I am in the bash shell08:17
deymon0077how to contact the community manager :?08:17
deymon0077help me please08:18
zygamorphis_: you can mount anything in /media08:18
zygamorphis_: and look at /proc/self/mountimfo08:18
zygainfo*08:18
zygamorphis_: both inside and outside of the shell08:18
zygadeymon0077: hey, how can I help you?08:18
morphis_zyga: wow08:19
morphis_it works :-)08:19
zygamorphis_: I'll make the changes to snap-confine today08:19
morphis_great08:19
morphis_will read through the script later08:19
deymon0077I have a question: can I in the town of open courses circle to work with Linux such as Ubuntu?08:20
zygadeymon0077: hmm, can you re-phrase that question?08:21
deymon0077yes of course 1 minute08:21
deymon0077if I could, in our city open circle work on Linux Ubuntu in particular08:23
deymon0077is it possible to? or not?08:23
deymon0077I am waiting for an answer to the impatient08:24
zygadeymon0077: I don't see any problem with that08:25
zygadeymon0077: this is not the best forum to ask about things like that08:25
zygadeymon0077: I would recommend to post questions to ...08:25
zygadeymon0077: https://lists.ubuntu.com/#Ubuntu+Worldwide+LoCo+Teams08:25
zygadeymon0077: match the country that you are living in08:26
zygadeymon0077: you can connect to the local community of ubuntu users and developers this way08:26
zygadeymon0077: on that page you can also find many interesting mailing lists08:26
deymon0077Thank you very much! Good luck. I will try it =)08:27
deymon0077Have a nice day and all delicious cookies)08:28
mupPR snapd#2005 closed: asserts,overlord,snap: add prepare-device hook for device registration <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2005>08:39
mupPR snapd#2028 opened: doc: added timezone-control to interfaces doc <Created by stolowski> <https://github.com/snapcore/snapd/pull/2028>08:55
mupPR snapd#1990 closed: many: allow use of the system user assertion with create-user <Critical> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1990>09:07
deymon0077 Hello, good advise Russian forum ubuntu?09:08
deymon0077I'm from Ukraine09:08
deymon0077or a good foreign forum09:09
deymon0077tell me a good forum ubuntu09:18
deymon0077?09:18
zygadeymon0077: perhaps ask in #ubuntu09:29
zygadeymon0077: this channel is specific to snappy09:29
=== davmor2_ is now known as davmor2
=== ara_ is now known as ara
mupPR snapd#2029 opened: daemon, store: switch to new store APIs in snapd <Created by pete-woods> <https://github.com/snapcore/snapd/pull/2029>10:20
mupPR snapd#2030 opened: coreconfig: nuke it. Also, ignore po/snappy.pot <Created by chipaca> <https://github.com/snapcore/snapd/pull/2030>10:28
mectorswhen you connect a content plug and slot, is there a directory that gets mounted?10:45
mupPR snapd#2017 closed: store: download deltas if explicitly enabled <Created by absoludity> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2017>11:06
ogra_mectors, wait for mhall119, i think he has some experience with the content interface11:19
mectorsogra, thanks11:21
=== hikiko is now known as hikiko|ln
sborovkovzyga: I think I actually lied to you yesterday. I had dont apt upgrade and snap was working indeed. But when I did install the next version of my snap (build with the same version of snapd) I ran into the same issue again. After new revision of snap got installed it once again complains about wrong arm architecture. :(11:41
pstolowskijdstrand, hello, fyi, https://github.com/snapcore/snapd/pull/2028/files & apologies for forgetting about it in the earlier PR11:42
mupPR snapd#2028: doc: added timezone-control to interfaces doc <Created by stolowski> <https://github.com/snapcore/snapd/pull/2028>11:42
ogra_hmm, whats up with the latest snapd ...11:43
ogra_after my dragonboard auto-upgraded today i get:11:43
ogra_ogra@dragon:~$ snap list11:43
ogra_error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: connection refused11:43
ogra_ogra@dragon:~$11:43
ogra_ogra@dragon:~$ systemctl status snapd.service11:44
ogra_● snapd.service - Snappy daemon11:44
ogra_   Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)11:44
ogra_   Active: inactive (dead) (Result: exit-code) since Sat 2016-09-24 11:24:12 UTC; 5 days ago11:44
ogra_  Process: 2106 ExecStart=/usr/lib/snapd/snapd (code=exited, status=1/FAILURE)11:44
ogra_ Main PID: 2106 (code=exited, status=1/FAILURE)11:44
ogra_wow, thats really badly broken11:48
ogra_mvo, zyga ^^^ seems i had a failed upgrade for some reason, now my dragonboard install is in a unrecoverably state telling me snapd is to old11:52
ogra_ogra@dragon:~$ cat /proc/cmdline | tr ' ' '\n'|grep snap_core11:52
ogra_snap_core=ubuntu-core_425.snap11:52
ogra_ogra@dragon:~$ ls -l /var/lib/snapd/snaps/ubuntu-core_*|tail -111:52
ogra_-rw------- 1 root root 64577536 Sep 26 06:17 /var/lib/snapd/snaps/ubuntu-core_745.snap11:52
ogra_ogra@dragon:~$11:52
ogra_Sep 24 11:24:09 dragon systemd[1]: Reached target Bluetooth.11:53
ogra_Sep 24 11:24:10 dragon snapd[2007]: error: cannot downgrade: snapd is too old for the current system state (patch level 4)11:53
ogra_Sep 24 11:24:10 dragon systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE11:53
ogra_Sep 24 11:24:10 dragon systemd[1]: snapd.service: Unit entered failed state.11:53
ogra_Sep 24 11:24:10 dragon systemd[1]: snapd.service: Failed with result 'exit-code'.11:53
ogra_Sep 24 11:24:10 dragon systemd[1]: snapd.service: Service hold-off time over, scheduling restart.11:53
ogra_Sep 24 11:24:10 dragon systemd[1]: Stopped Snappy daemon.11:53
ogra_thats what i see on boot11:53
sergiusensogra_ well now you know, snapd is too old :-P11:53
ogra_sergiusens, well ... i see three ubuntu-core snaps ... one seems to be the broken 745 one, the other the reliably working 738 one ... but for some reason there is also a 425 that got picked by the auto-rollback mechanism11:54
ogra_(instead of rolling back to 738)11:55
sergiusensogra_ thanks for clarifying conf/modules ;-)11:55
ogra_:)11:55
sergiusensogra_ surely a new feature/bug as I don't think we support that in 16 at all (use to in 15.04 through ubuntu-core config hook)11:55
ogra_well, and we shouldnt ...11:56
ogra_the kernel needs to auto-load whats needed ...11:56
ogra_i suspect the modules.dep is wrong .... it needs to be re-generated for exactly the module set that is inside the initrd11:56
ogra_before re-compressing11:57
sergiusensogra_ it should load what it needs, but what if the module takes some specific options like disable_802.11n=true (or however it was formatted)11:57
ogra_ah, yeah, that would need something in th emodules.d dir ... a config file11:57
ogra_*in the modules.d dir11:57
sergiusensogra_ it used to be correct as it used to work and the kernel plugin only got love from ppisati since its introduction and this bug fix now11:57
ogra_errr11:58
ogra_/etc/modprobe.d that is11:58
ogra_i guess we need more info like a kernel log from serial during boot and such ...11:59
zygasborovkov: hmm, interesting11:59
ogra_to see why it wasnt loaded11:59
zygasborovkov: can you strace both cases?11:59
ogra_so back to my main prob ...11:59
ogra_why do we keep three vervisions of ubuntu-core ... and why do we roll back to the obviously obsolete one12:00
ogra_an end user would now have to re-flash12:00
ogra_*revisions12:00
ogra_i guess thats a serious blocker12:01
jdstrandpstolowski: thanks!12:05
mupPR snapd#2028 closed: doc: added timezone-control to interfaces doc <Created by stolowski> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2028>12:06
ogra_eeek12:06
ogra_ogra@dragon:~$ ls -l /var/lib/snapd/snaps/ubuntu-core_*12:06
ogra_-rw------- 1 root root 57589760 Sep 29 10:20 /var/lib/snapd/snaps/ubuntu-core_425.snap12:06
ogra_-rw------- 1 root root 64577536 Sep 25 08:19 /var/lib/snapd/snaps/ubuntu-core_738.snap12:06
ogra_-rw------- 1 root root 64577536 Sep 26 06:17 /var/lib/snapd/snaps/ubuntu-core_745.snap12:06
* ogra_ notices the timestamps 12:06
ogra_so obviously it didnt not roll back but *upgraded* to 425 ... which is the last stable ubuntu-core12:07
mupPR snapd#2028 opened: doc: added timezone-control to interfaces doc <Created by stolowski> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2028>12:07
ogra_it did that automatically !12:07
ogra_smells like snapd has a bug in the channel handling here12:08
mupPR snapd#2028 closed: doc: added timezone-control to interfaces doc <Created by stolowski> <Closed by jdstrand> <https://github.com/snapcore/snapd/pull/2028>12:08
ogra_mvo, zyga did anything change in that regard recently ?12:08
ogra_(with the new snapd)12:08
zygajdstrand: hey12:10
sborovkovzyga: in an hour. Need to test my snap first. How do I strace what snapd does?12:10
* ogra_ wonders if we have a GA blocker tag for bugs 12:10
zygasborovkov: hmm, good question, you can probably just strace the command and coupled with -f -o you should get the full output12:10
jdstrandhey zyga :)12:10
zygaogra_: I don't know really12:10
ogra_zyga, well, thats pretty disastrous12:11
zygaogra_: I don't get notifications in irssi unless my name is the first one12:11
zygaogra_: note that this is under the control of the store12:11
mupPR snapd#2028 opened: doc: added timezone-control to interfaces doc <Created by stolowski> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2028>12:11
zygaogra_: it's not true that revisions can be compare12:11
zyga*compared12:11
zygaogra_: the most recent revision is whatever the store is claming12:11
zygaclaiming12:11
* zyga needs that coffee12:11
ogra_zyga, well, the image is created with "-c edge, it should never ever pull ubuntu-core from stable12:12
ogra_unless i manually tell it to12:12
mupPR snapd#2028 closed: doc: added timezone-control to interfaces doc <Created by stolowski> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2028>12:12
ogra_and i think thats set up inside the imge, not in the store12:12
ogra_via seed.yaml or so12:13
zygaogra_: that may be a bug in the image building tool12:14
zygaogra_: but I don't know how this works either nowadays,12:14
zygaogra_: you can peek at /var/lib/snapd/state.json12:14
ogra_well, that image is from last week ... it sat there without me touching it and auto-upgraded on its own for the last days12:14
zygaogra_: and check which channel you are tracking12:14
ogra_i#'m actually logging in for the first time today12:14
ogra_it did the auto-upgrade just fine until today it seems12:15
jdstrandzyga: re irssi-- is that your intended workflow? I use irssi and get proper highlighting. (I use '{ text = "jdstrand"; nick = "yes"; word = "yes"; },' in the 'hilights' section of config). I also use something called hilightwin.pl12:15
jdstrand(perhaps you are missing 'word = "yes"' for your nick)12:16
ogra_hmm, interestingly the pi3 went properly to 766 on the edge channel12:18
zygajdstrand: is there a way to reload config without quitting? :)12:19
* zyga wishes for vim for irc 12:19
jdstrandzyga: yes. /reload12:19
* ogra_ tickles mvo 12:19
jdstrandzyga: I think you may need to do /save12:19
jdstrandzyga: otherwise when you shutdown it might go away. I can't recall otoh12:20
mupPR snapd#2028 opened: doc: added timezone-control to interfaces doc <Created by stolowski> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2028>12:20
mupPR snapd#2028 closed: doc: added timezone-control to interfaces doc <Created by stolowski> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2028>12:21
jdstrandzyga: hilightwin.pl isn't needed for this, but I find it handy. you can put it in a window and all your highlights show up there. good for seeing what to tend to first in backscroll12:22
ogra_mvo, did you do any channel fiddling for ubuntu-core today in the store ?12:22
ogra_which could have caused the aboev ...12:23
ogra_**above12:23
=== hikiko|ln is now known as hikiko
jdstrandmvo: hi! wondering if someone is assigned to snapd failing migration in yakkety-proposed for the last few weeks. I ask because bug #1626121, which has been fixed for a while in yakkety-proposed, keeps coming up in my circles (latest was running snapd in lxd)12:27
mupBug #1626121: strict mode snaps crash with Segmentation fault on 16.10 <Snappy Launcher:Invalid> <Snapcraft:New> <Snappy:Fix Committed by jdstrand> <snap-confine (Ubuntu):Invalid> <snapd (Ubuntu):Fix Committed by jdstrand> <https://launchpad.net/bugs/1626121>12:27
zygaI wonder if this causes a highlight (zyga)12:27
zygahmmm12:27
ogra_the zyga !12:27
zyganope :/12:27
zygalet me restart12:28
ogra_zyga the12:28
ogra_what client ?12:28
jdstrandhi zyga!12:28
zygairssi12:28
zygagrr12:28
ogra_hmm12:28
jdstrandweird12:28
zyganope12:28
zygaprobably a typo12:28
zygale me google12:28
cjwatsonmy config has "hilights = ( { text = "cjwatson"; nick = "yes"; word = "yes"; } );" and that works fine12:29
ogra_sudo snap install hexchat ;)12:29
cjwatsonprobably /hilight -nick -word zyga or some such (possibly as two separate commands)12:29
zygaogra_: one day :)12:30
qenghopopey: I saw your game snapping video. It's really good.12:30
ogra_haha12:30
zygaold habits you know12:30
ogra_yeah, same here ...12:30
ogra_(other way around though)12:30
jdstrandzyga: it could be a typo... I wonder if maybe in another part of your 'hilights' section12:30
jdstrandogra_: new habits die fast?12:31
ogra_who had the brilliant idea to call the option "hilights"12:31
zygaah12:31
ogra_that screams for typos ;)12:31
zygasigh12:31
zygayes12:31
zygait does :)12:31
jdstrandre hilights> I know, right?12:31
jdstrandthe fact that the config file is perl is nice too12:32
zygahit me!12:32
ogra_hey zyga12:32
zygagaah12:32
zygascrew this ...12:32
ogra_all work and no play makes zyga a dull boy12:32
zygaI'll get back to coding12:32
zygais there a joke about writing an IRC client because irssi has a lousy config12:32
jdstrandzyga: I promise, it can be made to work :) (perhaps another time)12:33
cjwatsonI've generally found that the path to wisdom in irssi is to forget about writing the config file by hand and to maintain it exclusively by running commands in irssi and then /save12:36
cjwatsonfar easier and you can test stuff on the fly12:36
cjwatsonand as far as I'm aware you can do everything interactively like that anyway12:37
jdstrandcjwatson: that is probably very wise12:38
jdstrandit is really easy to mess up your config12:38
zygahee, let's try this: snap-confine12:38
zygahmm12:38
jdstrandhi zyga!12:38
zygayes12:38
zygait worked12:38
jdstrand\o/12:38
ogra_congrats12:38
zyganow I will catch all the people talking about snap-confine12:38
zygathanks jdstrand :)12:38
jdstrandthat is a mixed blessing ;)12:39
jdstrandzyga: you're welcome! :)12:39
popeyqengho: thanks!12:49
sborovkovzyga: so I see ther eis a bunch of snapd services. Which one I need to run with snapd? Anything I need to pass to it? can you give me the command line. Just upgraded everything for that12:53
mupBug #1628914 opened: ubuntu-core edge image switched to stable channel unpredictably and became unusable <Snappy:New> <https://launchpad.net/bugs/1628914>12:53
=== chihchun is now known as chihchun_afk
zygasborovkov: it's not snapd, just run the program you care about12:56
zygasborovkov: snapd doesn't participate in that12:56
ogra_mvo, niemeyer, bug #1628914 seems pretty serious ...12:56
mupBug #1628914: ubuntu-core edge image switched to stable channel unpredictably and became unusable <Snappy:New> <https://launchpad.net/bugs/1628914>12:56
mvoogra_: I promoted the ubuntu-core snaps from yesterday to beta, that was the only change I did13:00
ogra_mvo, well, any idea how the above could happen ?13:00
mvojdstrand: yaketty-proposed> sort of, autopkgtest is driving me nuts, there is a failure on i386 right now but its not happening in my adt VM that I use for testing13:00
jdstrandmvo: oh I hate that :(13:01
mvoogra_: let me look13:01
mvojdstrand: yeah, exactly, each adt run takes ~45min, so debugging that is a pain13:01
ogra_the bug should have all info aggregated now13:01
mvojdstrand: and its *only* failing on i386 and only on the actual adt runner on LP/whatever-stack, not locally13:01
mvoogra_: can I get the uboot.bin too? or the output of fw_prrintenv?13:07
ogra_sure13:07
ogra_mvo, atteched on the bug13:08
sborovkovzyga: well... is not that arm version issue in snapd... I can't run my app easily. It's a bit complicated as it's buildrooted.13:08
mvoogra_: so the ubuntu-core switched to "stable" which is strange13:10
ogra_mvo, yeah13:10
ogra_out of the blue13:11
mvoogra_: the state has it set to "channel: stable"13:11
mvoogra_: so somethng switched it, anything in history?13:11
ogra_mvo, but beyond that switch ... the fact that snapd cant run when an older ubuntu-core is used is way more worrying13:11
ogra_mvo, nothing ... i sideloaded kgunn's unity8-session snap and installed classic before to have wget available, thats all13:12
ogra_beyond that i havent even logged in since i installed the board initially13:13
mvoogra_: in a meeting right now, but it is definitely worrying13:15
mvoogra_: channels should never switch except when the user explicitely sets it13:15
mvoogra_: could you add the "history" ?13:15
ogra_mvo, right ... and i assume snapd should stay executable even if i roll back13:15
mvoogra_: that isa separate problem :/13:16
ogra_mvo, which history exactly ? i added state.json13:16
mvoogra_: and a pretty big one actually13:16
mvoogra_: shell history13:16
ogra_ah13:16
ogra_sure13:16
mvoogra_: what commands might have caused this misbehavior13:16
zygajdstrand: hey, I need a review on a patch for snap-confine that gustavo asked me to release quickly, I will add a few spread tests for it but can you have a quickly initial look at https://github.com/snapcore/snap-confine/pull/16113:19
mupPR snap-confine#161: Prefer the "core" snap is one is available <Created by zyga> <https://github.com/snapcore/snap-confine/pull/161>13:19
ogra_mvo, added13:21
mhall119mectors: you might need to talk to zyga about the 'write' property of the content interface, as well as ways to share snap data files between snaps13:22
ralsinasergiusens: for this failure: https://travis-ci.org/snapcore/snapcraft/jobs/163709462 is that I need to add snap as a dependency, or that I am not faking enough?13:24
sergiusensralsina before going crazy, https://github.com/snapcore/snapcraft/pull/83913:25
mupPR snapcraft#839: Fixing 'sign-build' integration tests <Created by cprov> <https://github.com/snapcore/snapcraft/pull/839>13:25
ralsinasergiusens: phew13:25
ralsinait's not that failure tho :-)13:25
mvoogra_: thank you13:26
ogra_np13:26
sergiusensralsina doesn't seem related though13:26
sergiusensyeah13:26
ralsinaI am using "snap sign" on an assertion I generate that is predictable and the integration test passes locally13:27
ralsinaBut on staging it's not finding the snap command13:27
ralsinaon travis, I mean13:27
sergiusensralsina we don't install snapd for our unit tests13:27
ralsinasergiusens: hmmm13:27
ralsinasergiusens: ok, I can fake it13:27
sergiusensralsina yeah, that would be better; signing on unit tests can get tricky13:28
zygamectors: the write property cannot be used at this time, we should expand (and design this) the interface to allow to refer to wriable data as well as to readable data/ code13:28
oparozzyga, it should definitely be reflected in the documentation as it takes a lot of trial and errors to figure out that it doesn't work at all13:30
zygaoparoz: yes, I know, there are many things that need improvements13:33
zygaoparoz: if you want please improve the documentation straight away, it takes a moment to do this and we merge lots of stuff daily13:33
oparozI'm happy to submit a PR13:33
oparozJust not sure about the direction. Just remove that attribute?13:34
jdstrandzyga: done13:35
zygaoparoz: document what works today perhaps13:36
zygaoparoz: start with someting and let's see what we get in the feedback13:36
zygajdstrand: thank you13:36
zygaoh, so that's how it sounds when a kernel doesn't boot13:39
zygathe beep13:39
zygaman13:39
zygadon't run your kernel while listening to meeting/hangout13:39
clobranoHi All, is still possible to create snaps for 15.04? If so, where could I find the correct snapcraft version?13:45
zygaclobrano: I believe the answer is yes, you will need an older version of ubuntu as a base though (perhaps 15.04, I don't recall)13:46
clobranozyga: I see, thanks!13:58
=== pbek_ is now known as pbek
mupPR snapcraft#839 closed: Fixing 'sign-build' integration tests <Created by cprov> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/839>14:13
mupPR snapd#2031 opened: store: apply deltas if explicitly enabled <Created by absoludity> <https://github.com/snapcore/snapd/pull/2031>14:16
mupPR snapd#2032 opened: tests: fix create-key/snap-sign test isolation <Created by cjwatson> <https://github.com/snapcore/snapd/pull/2032>14:21
mupPR snapcraft#826 closed: Do not depend on Content-Length when Content-Encoding is gzip <Created by tachyons> <Closed by tachyons> <https://github.com/snapcore/snapcraft/pull/826>14:25
sergiusensogra_ so snapcraft#838 solves it for you, right?14:28
mupPR snapcraft#838: pluginhandler: take the file encoding into account <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/838>14:28
mupPR snapcraft#837 closed: kernel plugin: allow collecting the same mod deps <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/837>14:28
ogra_sergiusens, thats what i added to the PPA yesterday afaik14:28
ogra_sergiusens, though with completely turned off tests during package build14:28
sergiusensogra_ yeah, this doesn't have the prints and has unit tests ;-)14:28
ogra_then it should be fine14:29
sergiusensogra_ did you install the image onto your phone though? that is the important question14:29
ogra_i'll happily tests it from -proposed once there is a package14:29
ogra_i rarely install snappy images onto my phone ...14:29
ogra_extremely rarely ...14:29
ogra_like ... never :P14:29
sergiusensogra_ but this architecture is a good one ;-)14:30
ogra_sergiusens, but that is because sabdfl has not approved to get me an s390x phone for testing purposes yet14:30
sergiusensogra_ btw, can I add you into the release process?14:30
ogra_what does that involve ?14:30
sergiusensogra_ ping you to test snapcraft from xenial-proposed and just confirm it still works14:31
ogra_sure14:31
sergiusensgreat14:31
sergiusenselopio ^^14:31
sergiusensogra_ you may think I do, but I actually dislike regressions as small as they are if they are not planned14:32
ogra_just improve your planning skills then :)14:32
ogra_- "worst thing"14:32
ogra_just put that on your planing doc and be done14:33
mupPR snapd#2030 closed: coreconfig: nuke it. Also, ignore po/snappy.pot <Created by chipaca> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2030>14:39
sergiusensogra_ lol; the "learn how to plan" douche card :-P14:42
mupPR snapcraft#838 closed: pluginhandler: take the file encoding into account <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/838>14:43
ogra_heh14:43
mhall119zyga: a krita snap user is saying he can't access files on an external hard drive from inside krita, is there a ready way to give access to that (without using --devmode) or should I file a bug?14:52
=== JanC is now known as Guest12605
=== JanC_ is now known as JanC
elopioping pitti, I think we are ready to put the project in wendigo. Should I send you the token and secret?14:54
mupPR snapd#2011 closed: client, cmd: change buy command to match UX document <Created by pete-woods> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2011>14:57
mupPR snapd#2029 closed: daemon, store: switch to new buy APIs in snapd <Created by pete-woods> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2029>15:00
mupPR snapd#2025 closed: snap/implicit: don't restrict the camera iface to clasic <Created by zyga> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2025>15:01
sabdflogra_, you just have to carry it home ;)15:01
ogra_i'll put it on top of the lawnmower !15:02
ogra_(as cart)15:02
mupPR snapd#1810 closed: interfaces/builtin: fix fcitx support in unity7 <Reviewed> <Created by chihchun> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/1810>15:03
mupPR snapd#2033 opened: many: move firstboot code into the snapd daemon <Created by mvo5> <https://github.com/snapcore/snapd/pull/2033>15:05
mupPR snapd#2032 closed: tests: fix create-key/snap-sign test isolation <Created by cjwatson> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2032>15:28
mupPR snapd#1775 closed: interfaces: add thumbnailer interface <Created by fkaleo> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/1775>15:30
mupPR snapd#2034 opened: Modify the description of the content interface <Created by oparoz> <https://github.com/snapcore/snapd/pull/2034>15:37
mupBug #1628616 changed: Hello nextcloud claws-mail-moon127 all segfault on yakkety <Snappy:Confirmed> <https://launchpad.net/bugs/1628616>15:39
zygamhall119: mmm15:51
zygamhall119: I think there's no interface for now15:51
zygamhall119: or perhaps there is one15:51
zygamhall119: I think someone added it15:51
oparozWe need access to mounted storage15:52
zygamhall119: there is an interface, tell them to use "removable-media" please15:52
zygaoparoz: ^^ :)15:52
elopiohey zyga, why don't you snap teleport? Seems cool15:52
zygaelopio: it is cool, I need to look into it more to decide if it would work well as a snap today15:53
oparozzyga, does that work with NFS and CIFS mounted storage?15:53
zygaoparoz: it gives you access to /media and /run/media15:53
zygaoparoz: if you mount it there, yes, otherwise it won't15:53
oparozzyga, I'll try that, thanks!15:53
ogra_zyga, i guess we'd want a network-storage interface anyway at some point15:53
ogra_for such protocols15:54
ogra_or network-filesystem15:54
zygaogra_: where do you mount network storage?15:54
zygaogra_: if the answer is "it depends" it hard to write the interface for it :)15:55
oparozzyga, can snaps mount storage?15:55
ogra_either where the fstab entry defines or whereever the interface allows you to in the confined area if there is no fstab entry15:55
zygaoparoz: I'm working on this, they will be able to in the next release15:56
zygaoparoz: (you would not believe what is required to make this possible)15:56
zygaogra_: what happens when fstab changes?15:56
oparozogra_, if I mount locally, then other snaps can't access my content (yet)15:57
zygaogra_: you have to reload apparmor profiles of all apps?15:57
oparozzyga, awesome news :)15:57
zygaogra_: it's complex IMHO15:57
ogra_zyga, i dont think it is complex ... you can start with ignoring fstab and just allow the snap to mount a network FS in the confined area for a start15:57
ogra_using the fuse interface and sshfs makes that already possible15:58
zygaogra_: that's different15:58
ogra_would just be an extension of that15:58
zygaogra_: mounting is super privileged15:58
ogra_network FS mounting too ?15:58
ogra_i think thats pretty different15:58
zygaogra_: the removable-storage iface lets you see things that are mounted by something else15:58
ogra_right15:58
zygaogra_: the new thing lets you do the mounting15:59
zygaogra_: but only in /media again15:59
zygaogra_: (or /run/media)15:59
ogra_i just dont think allowing to mount network FSes inside your snap is any dangerous15:59
zygaogra_: well, mounting anything anywhere can really quickly blow your system up15:59
zygaogra_: as I've learned this and last week :)15:59
ogra_if a server exports it to you you are obviously allowed to mount it ...15:59
zygaanyway, have to run to a meeting15:59
oparozDoes the removable-storage interface give you to everything which is in media? Like one snap creates folder there, another can access them?16:00
zygaoparoz: yes, to everything in /media16:00
zygaoparoz: yes, that would work16:00
oparozAwesome, thank you zyga!16:00
zygamy pleasure :)16:01
ogra_that sounds a bit like a cheat to the content-share interface :P16:01
oparozIndeed! :D16:01
oparozBut soooo needed :)16:01
zygaogra_: thumb drives win for media sharing over network attached storage, once again :)16:01
ogra_well, i just think it is a cheaply to achieve extra to allow NFS/CIFS mounting in the snap confined area16:02
zygaogra_: I'll let jdstrand tell you how that might blow up16:02
ogra_the security bits have to be server side anyway ... you are just using something you have been granted access to already16:03
zygamhall119: are we doing the call today?16:05
zygamhall119: if not I can work on some coding I need to do16:05
mhall119yes, one second16:08
mupPR snapd#2035 opened: asserts: support parsing the slots stanza i.e. slot rules in snap-declarations <Created by pedronis> <https://github.com/snapcore/snapd/pull/2035>16:15
mupPR snapd#2034 closed: Modify the description of the content interface <Reviewed> <Created by oparoz> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2034>16:17
mupPR snapcraft#840 opened: Catkin plugin: build with in-snap python <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/840>16:22
pittielopio: still need to review/test/land the autopkgtest patch for supporting GitHub PR addresses; at a conference now, can we do that next Tuesday?16:23
elopiopitti: yes, but I think I don't need the patch. We moved the packaging to a different branch, and I made a PR for the TEST_UPSTREAM bits, which ran okay locally.16:23
elopioI can wait for you to come back, I'm in no hurry.16:24
pittielopio: ah, sure; but just driving by on IRC between talks, going to be AFK again, sorry16:24
mhall119zyga: lost you16:24
pittielopio: right, let's do that when I have some time to concentrate on this16:24
elopiopitti: no worries.16:25
zygamhall119: aww16:25
zygamhall119: let me reload16:25
elopioI sent you an email because I thought you missed my ping. Just ignore it until next week.16:25
=== chihchun_afk is now known as chihchun
ralsinasergiusens, elopio: except for some nitpicking from coveralls, my PR seems to have everything fixed and passing, it would be awesome if it got the re-review  today. Awesomer if it passed ;-)16:52
sergiusensralsina my mental buffer for interrupt driven review is too small for that changeset but I'll do my best :-P16:53
sergiusenssmall and with fast timeouts16:54
ralsinasergiusens: your best is the most I can ask for, dude, I know it's a large branch16:54
mupPR snapcraft#832 closed: python plugin: only download in pull and build in build <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/832>17:13
CroephaHey everyone, its been a while since I did any snappy stuff, is this: http://people.canonical.com/~mvo/all-snaps/ubuntu-device-flash still state of the art for making a 16 snappy flash image?17:16
Croephanvm, i guess not, the link is dead17:17
kyrofaogra_, is ubuntu-image ready for Croepha?17:19
mupPR snapd#2031 closed: store: apply deltas if explicitly enabled <Created by absoludity> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2031>17:22
zygajdstrand: got it to work, just now17:23
zygajdstrand: a few extra complications that only affect the real actual layout snaps use17:23
zygajdstrand: but nothing unexpected, just some extra requirements that pivot_root requires that need to be satisfied17:23
zygajdstrand: wow17:36
zygajdstrand: not sure why17:36
zygajdstrand: but ... mount table is so clean now :)17:36
jdstrandnice!17:36
zygaas a quick check17:36
jdstrandzyga: would you mind pasting the mount table?17:36
zygaI'll kill the lxd quirk17:36
zyganope, I'll share it in a sec17:36
zygaI just want to make it ... cleaner still17:36
zygahttp://paste.ubuntu.com/23252159/17:39
zyganow sadly, that's a bit too optimistic, there's still one bit missing there17:39
zygaand I disabled the ugly LXD quirk17:39
zygaoh, and I see my change broke /media too17:40
zygajust pivot_root being extra picky and me being extra broad (rprivate)17:40
ogra_kyrofa, not sure we have public documentation for creating and assigning assertions yet17:44
ogra_beyond that, yeah17:44
* ogra_ vanishes17:51
* Croepha gets a little worried, not sure what it means to "assign assertions" or what it has to do with making a flash imaage... but moves forward confidently by grabbing the ubuntu-image source from github and trying to build via snapcraft and hoping there is some command-line documentation !17:55
zygaCroepha: ?17:56
kyrofazyga, Croepha wants to build images with ubuntu-image, but isn't sure how17:57
kyrofa(neither am I)17:57
zygakyrofa: -> slangasek17:57
kyrofaCroepha, then slangasek is your man ;)17:57
Croephaslangasek: ping?17:58
slangasekhmm, am I? :)17:59
zygaslangasek: or point to the next element of the list :)18:00
slangaseksomeone had started writing up documentation on how to create the model assertion, let me see if I can lay my hands on it18:01
slangasekCroepha: here's the doc I was looking for: https://docs.google.com/document/d/1cJvRnpoQyLvY6pOLFPgUxMHrFVBCDNwAlrORARBiZlU/edit18:04
Croephaslangasek: requested access18:06
slangasekCroepha: oh? the doc claims at the very top to be public; sorry, I guess I should have looked at actual sharing perms18:07
slangasekCroepha: ah but there's also a redirect to https://github.com/CanonicalLtd/snappy-docs/pull/1318:09
ralsinasergiusens: can you restart https://travis-ci.org/snapcore/snapcraft/jobs/163776334 ? It timed out on launchpad18:10
zygajdstrand: http://paste.ubuntu.com/23252266/18:11
Croephaslangasek : "You need permission.  Want in? Ask the owner for access, or switch to an account with permission."18:11
zygajdstrand: lesson learne, mount -o private != mount --make-private18:11
zygajdstrand: can you see if this makes sense18:11
zygajdstrand: I'll share the code in a sec, just need to write a commit mesage18:11
slangasekCroepha: yes, I guess they closed down the google doc when they moved the info into the snappy-docs repo where it belongs18:11
zygajdstrand: it's not done but feels super close now18:11
Croephaslangasek: oh right, sorry, I didn't think to look at the actual github files, ok thanks! :)18:12
zygajdstrand: https://github.com/snapcore/snap-confine/commit/43e47b35a13786aa7a7aabe1a45d78febae49aa918:15
zygajdstrand: I need to go through the whole thing and ensure docs and comments are sensible18:15
zygajdstrand: e.g. the internal strace output is stale now18:16
zygajdstrand: please look at the commit message and tell me what you think18:16
zygajdstrand: one nasty side effect of this is that there's a moment in sc_bootstrap_mount_namespace that leaks stuff if we crash18:16
zygajdstrand: it is only good if it completes all the way18:16
zygajdstrand: but this is unavoidable with MS_SHARED / now18:17
zygajdstrand: expcept for, perhaps, some guardian process that knows how to undo the mess if I something breaks18:17
zygajdstrand: but let's not go there yet18:17
zygajdstrand: and a thing to watch out for to make a bind mount that has different sharing, you need two syscalls18:17
zygajdstrand: one syscall just results in the wrong sharing18:18
zygajdstrand: I need to check my docs now18:18
zygajdstrand: but before that I need a break, a real break18:18
sergiusensralsina sure18:19
ralsinasergiusens: thanks18:20
jdstrandzyga: huh, snap.rootfs_* is gone in your mountinfo18:31
zygayep18:31
zygajdstrand: all gone :)18:31
zygajdstrand: see the code, tell me what you think18:31
zygajdstrand: I think I use pivot_root correctly for the first time now18:32
jdstrandI was wondering if that was what cleaned it up18:32
zygajdstrand: note, not ealier, just only now18:32
zygajdstrand: I didn't try to run spread or anything (more questions to answer)18:33
zygajdstrand: I just ran shell and explored18:33
zygajdstrand: /media has the right sharing IMHO18:33
zygajdstrand: I didn't do a in-depth analysis (too tired today)18:34
* jdstrand nods18:34
zygajdstrand: I'm editing my copy of shared subtrees, the printout I did messed up the essential tables18:34
zygajdstrand: :) I'll give you a copy in the hague :)18:34
mupPR snapd#2036 opened: daemon, store: switch to new store APIs in snapd <Created by pete-woods> <https://github.com/snapcore/snapd/pull/2036>18:36
loologra_: heya, would you know if we have rpi3 classic images that we maintain?18:39
loolthe wiki one from the community + ppa seems to have some issues18:39
loologra_: I was hoping yakkety might have one http://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/pending/ but that's rpi2 only18:39
loolslangasek: ^ perhaps you know who might possibly look after these?18:40
slangaseklool: there are none currently; this is backlogged behind the ubuntu-image work, and the intent is for us to directly leverage gadget snap yaml in creating the image instead of reimplementing the image building logic in two different ways18:41
loolslangasek: even for server image?18:43
loolslangasek: I mean classic18:44
slangaseklool: yes, because it's precisely the "how to build an image for this device" piece that is overhead which we don't want to repeat18:46
loolslangasek: ok; do you have a vague idea of when we could possibly see rpi3 classic images in yakkety? or is it possible that we wont have any?18:51
loolslangasek: side question, how crazy would it be to suggest adding a 16.04.N image for rpi3?  :-)18:52
slangaseklool: it keeps getting pushed back in the backlog by other critical snappy work, and while people keep asking after these images no one has indicated a deadline for when they're needed.  So it's not going to be done before yakkety release, but there's no reason we can't enable it in 16.04 point release18:54
mupBug #1629081 opened: `git clone`fails with `source-type: git` nad `'source-tag: 'x.y.z` in `snapcraft.yml` <snapcraft> <Snappy:New> <https://launchpad.net/bugs/1629081>19:04
sergiusenscprov ralsina so elopio is worried about lack of integration tests against real servers; isn't there a way to do the full dance in one test? snapcraft snap; snapcraft register; snapcraft push --release stable; snapcraft validate <against-self>; snapcraft gated ?19:13
sergiusenscprov ralsina I guess in a new PR is ok given how big this one is19:14
ralsinahmmm19:14
ralsinayou'd also need to create a key, and register it19:14
ralsinapush 2 snaps, although we could self-gate ...19:14
sergiusensralsina we have tests for keys; don't we?19:15
ralsinasergiusens: yes, but this needs a real live key to work against a real store19:15
sergiusensralsina oh, no, disabled too19:15
sergiusensnevermind!19:15
sergiusensbut I'll add it as a sprint topic19:16
ralsinasergiusens: it *can* be done, looks like a bit of a hassle :-)19:16
ralsinaI am sure at the sprint we can do it over a beer19:16
ralsinamaybe 2 beers19:16
ralsinaand fix it for keys too19:16
sergiusensI haven't been drinking lately so I might pass out after half of one19:16
ralsinaok, make that a ... /me googles something very dutch19:17
ralsinacheese?19:17
sergiusenssuper excited that I will be knocked out during the long leg with just one glass of whisky :-)19:17
kyrofasergiusens, doesn't drink beer. He drinks whisky19:17
kyrofaThanks hexchat. That comma was terribly placed19:18
ralsinaWell, to be honest https://en.wikipedia.org/wiki/Dutch_cuisine#Alcoholic_drinks is pretty depressing :-)19:19
ralsina"raisins in brandy", really, netherlands?19:19
kyrofaralsina, man, and here I was all excited19:19
kyrofaAnd their main picture is heineken?19:20
ralsinakyrofa: or Grolsch!19:20
kyrofaThat just _sounds_ gross19:20
kyrofaKraamanijs sounds good though19:21
=== matt is now known as Guest46538
mupPR snapd#2010 closed: many: create auth.json for the freshly created user in `snap create-user` <Created by mvo5> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2010>19:27
=== cwayne_ is now known as cwayne
=== mup_ is now known as mup
=== slangase` is now known as slangasek
sergiusensralsina http://try.docopt.org/?doc=snapcraft%0D%0A%0D%0AUsage%3A%0D%0A++snapcraft+validate+%3Csnap-name%3E+%28--keys+%3Cone%3E+%7C+%3Ctwo%3E%29&argv=validate+snap+--keys+119:57
ralsinasergiusens: turned out what we needed was snapcraft validate <thingie>... [--key=<key-name>]19:58
ralsinaBTW, renamed thingie to validation if that's ok with you19:58
=== mup_ is now known as mup
sergiusensralsina perfect20:00
mupPR snapcraft#840 closed: Catkin plugin: build with in-snap python <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/840>20:04
mupPR snapcraft#841 opened: Replace SNAPCRAFT_PART_INSTALL in the part attributes <Created by josepht> <https://github.com/snapcore/snapcraft/pull/841>20:04
=== mup_ is now known as mup
mupPR snapd#2027 closed: asserts: support parsing the plugs stanza i.e. plug rules in snap-declarations <Critical> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2027>20:09
=== mup_ is now known as mup
=== mup_ is now known as mup
mupPR snapcraft#842 opened: Catkin plugin: Support ROS Kinetic <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/842>20:22
=== mup_ is now known as mup
=== diddledan_ is now known as diddledan
mupPR snapcraft#772 closed: Set GOBIN in go plugin build environment <Created by tasdomas> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/pull/772>21:34
=== mup_ is now known as mup
Croephawith ubuntu-image do you have to upload your kernel snap to the store?21:53
=== mup_ is now known as mup
=== mup_ is now known as mup
=== mup_ is now known as mup
=== mup_ is now known as mup
=== mup_ is now known as mup
=== nacc_ is now known as nacc
=== mup_ is now known as mup
=== mup_ is now known as mup

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