/srv/irclogs.ubuntu.com/2017/05/30/#snappy.txt

dakerhello, build.snapcraft.io question: how can i tell the site to pull submodules too ?00:12
chatter29hey guys00:14
chatter29allah is doing00:14
chatter29sun is not doing allah is doing00:14
chatter29to accept Islam say that i bear witness that there is no deity worthy of worship except Allah and Muhammad peace be upon him is his slave and messenger00:14
dakercaptine: i guess it's commercial00:17
Hilikusis there a browser available in snappy? i am not sure how snappy works with GUIs. will it pull the whole X-server, window manager, etc??00:21
captinedaker, thanks.the liune "available as an image so anyone can download" is a little misleading if it is commercial only04:32
mupPR snapd#3394 closed: interfaces/seccomp: add bind() syscall for forced-devmode systems <Created by morphis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/3394>06:01
NicolinoCurallihi guy, i'm tryng to run the command snapctl set device-service.url="https://device-service" from the login shell but i have the following error: *error running snapctl: cannot set without a context* - where is the problem?06:49
morphis_NicolinoCuralli: you can only run snapctl from within a hook, like the prepare-device hook06:57
morphis_manually invoking snapctl from outside of any context is not possible06:57
mvopstolowski: are you still having this autopkgtest problem?06:58
NicolinoCurallimorphis_: can i run it on configure hook for a snap?06:58
morphis_yes06:58
morphis_NicolinoCuralli: however, "snapctl set device-service.url .." only makes sense as part of the prepare-device hook06:58
NicolinoCurallimorphis: I undestand it but i can't setup a Serial Vault for problem that I wrote in a post on forum ( no response until now)  and i need to go in production in a few week with our brand store07:02
pstolowskimvo, hi! no, I followed advice from fgimenez and started from a clean directory, it's actually a problem in my branch07:05
morphis_NicolinoCuralli: you have a link to that thread?07:07
NicolinoCurallimorphis_: https://forum.snapcraft.io/t/how-configure-serial-vault-for-signing-serial-assertion-with-a-key-registered-to-a-store/731/607:07
fgimenezhey pstolowski good to know! :)07:08
morphis_NicolinoCuralli: ah I see, so the problem is just with the setup of the serial-vault, that is up to James07:08
fgimenezgood morning mvo! quick question, we didn't have new edge core snaps this morning, is that expected?07:09
morphis_NicolinoCuralli: but it is essential that snapctl set device-service.url is called from within the prepare-device hook of the gadget snap07:09
morphis_NicolinoCuralli: otherwise your device bootstrap process may be broken07:09
mvofgimenez: not expected, let me check07:09
fgimenezmvo: ok thanks!07:09
mvopstolowski: aha, ok. thank you, still curious what could have caused this. when I have a free minute I will try to dig some more07:10
mvofgimenez: ha! "store upload failed: service unavailable" …07:10
pstolowskimvo, the root cause i'm chasing is configure hook failure in my branch, and this is related to the renaming of SNAP_CONTEXT variable in my branch (which breaks all hooks in my branch atm)07:11
zygahey hey07:13
NicolinoCurallimorphis_ : then I am blocked until  jamej fix the problem :(07:13
fgimenezmvo: aha, ok, at least the dashboard seems to be fine now07:14
morphis_NicolinoCuralli: you mean you're blocked because your device gets no serial-assertion?07:14
NicolinoCurallimorphis_ : i need to use Serial-Vault to block device not mine then i'm blocked07:16
morphis_NicolinoCuralli: you mean you want to block other devices from accessing your branded store?07:17
NicolinoCurallimorphis_ :yes07:17
morphis_ok07:17
morphis_you could, as a workaround, turn device authentication off in the branded store and keep things in place until James fixes the problem07:18
zygamvo: I need some time to get my stuff together and catch up, do I understand that the key issue to fix is still seccomp format?07:31
NicolinoCurallimorphis: prepare-device is very simple but without test it  I am sure taht it works: it is very dangerous07:37
NicolinoCurallimorphis: prepare-device is very simple but without test it  I am not sure that it works: it is very dangerous for us07:37
mvozyga: no worries, the seccomp issue has multiple dimensions, the most pressing one is that we need to unblock 2.25, I will catchup with gustavo about this today in a hangout07:39
zygamvo: how can I help?07:39
morphis_NicolinoCuralli: sure, but at least you can verify that snapd takes up the right URL but fails to contact it07:40
morphis_NicolinoCuralli: that is visible in the logs07:40
mvozyga: then there is the bpf thing which will not help with the immediate issue but will help in the longer term (and is fun :)07:41
mvozyga: let me think for a sec, the immediate issue is kind-of-blocked on design, I made various suggestions we now just need to decide which one we use07:42
zygamvo: understood07:43
zygamvo: I'll try to look at that lock issue07:43
mvozyga: what was that again about?07:43
zygamvo: the errors that show up on the errtracker07:45
zygamvo: about /run/snapd/lock access07:45
zygamvo: and one working theory that has a hard time to explain the volume of reports07:45
mvozyga: aha, right, thank you07:46
ogra_bah ... all core uploads tonight failed with LP OOPSes08:02
wgrantogra_: https://forum.snapcraft.io/t/store-upload-issue/819/1, fixed a few hours ago. I think Michael's retrying them.08:06
ogra_mvo, are you ? (else i'll do it now)08:07
mvoogra_: I have not yet, so go ahead08:07
* ogra_ does so :)08:07
ogra_oh, interesting ... at the same time i see that LP auto-retries the failed uploads now ...08:09
ogra_so we'll get two sets :)08:09
wgrantOh?08:09
wgrantOh, you requested fresh builds?08:09
ogra_https://launchpad.net/~snappy-dev/+snap/core/+build/4141508:09
wgrantI retried that one myself a couple of minutes ago08:10
ogra_i requested fresh builds ... right afterwards i got a mail for a successfull upload08:10
ogra_(from the former build obviously)08:10
wgrantIf the upload fails, you can just hit the Retry button on the build page.08:10
ogra_ah, then that was you, ok08:10
wgrantIt retries just the upload step08:10
ogra_yep, i know08:10
ogra_clicking on 6 buttons on 6 pages is more work than calling a script for a full rebuild though ... i'm lazy ;)08:11
wgrantHeh, fair enough.08:13
wgrantMy poor buildds :'(08:13
ogra_wgrant, FYI, all uploads worked fine for this build08:27
wgrantogra_: Excellent, thanks for confirming.08:28
zygapedronis: hey, could you please look at https://forum.snapcraft.io/t/the-gadget-snap/696/408:32
mvozyga: he may not be around today09:01
zygaChipaca: hey09:08
Chipacazyga: hiya!09:08
JamieBennettHow was the weekend zyga?09:08
Chipacai've seen photos of zyga doing stuff on twitter09:09
zygaJamieBennett: busy :)09:11
zygaJamieBennett: it was great, just wish I didn't spend nearly two days traveling there09:11
zygaJamieBennett: I sent you some quick thoughts yesterday09:11
JamieBennettzyga: ouch, I didn't realise it was so long for you09:11
JamieBennettzyga: saw the draft feedback, I look forward to the full report09:12
zygayes, connections09:12
ogra_zyga, The route is the goal ;)09:12
zygaI'm getting back to speed, catching up on stuff first (I was home past 23:00)09:12
JamieBennettzyga: lets catch up in 45 mins :)09:13
zygasounds good09:13
zygamvo: I commented a little on https://forum.snapcraft.io/t/snapd-2-25-blocked-because-of-revert-race-condition/722/1309:15
zygamvo: I think the divest idea is sound, I think it may have to be runtime (at least partially) detected but we can work with that09:15
zygamvo: I'm somewhat on edge about the digest itself, it could be nice to just call this a feature string so that we can easily eyeball things and understand what's going on09:15
mvozyga: yeah, right now its not much of a digest, I also like the property that it is human readable, lets see what gustavo thinks when we have the catchup. one thing I am slightly worried about is that we need to be careful to make it not too ambitious (at least v1) because we are currently blocking on it09:25
mupPR snapd#3350 closed: interfaces,overlord/ifacestate: make sure installing slots after plugs works similarly to plugs after slots <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3350>09:36
zygapedronis: thank you!09:43
zygapedronis: I'm sorry I didn't review that09:43
zygamvo: re09:44
zygamvo: let's finish here09:44
zygamvo: how would you feel about teaching cmd.go to use the current revision rather than "current"?09:45
zygaChipaca: hey09:46
mvozyga: you mean for InternalToolPath?09:46
zygaChipaca: maybe you can have a saner idea09:46
zygayes09:46
zygaChipaca: we have a problem where we use internal tool path that follows the current symlink09:46
zygaChipaca: and in the upgrade path of core itself, we rely on that _before_ we link the now snap09:46
zygaChipaca: so new snapd wishing to use its new internal tools uses the old internal tools09:46
zygaChipaca: and in this case the old internal tool reports "sorry, I'm not implemented" and fails09:47
Chipacazyga: is this master, or omg-how-on-earth released?09:47
* Chipaca wants to know whether to have a heart attack or not09:47
zygaChipaca: I think this is master and OMG people tracking channels but I think mvo knows better09:48
zygaChipaca: but it would explain lots of error reports09:48
Chipacazyga: master breaks ¯\_(ツ)_/¯ it's why it's edge, i'm less worried09:48
mvoChipaca: I think its also affecting beta09:49
zygaChipaca: right but the point is we cannot release and need to fix this09:49
Chipacamvo: augh09:49
mvoChipaca: I'm trying to verify this right now, sorry, we are still in the early stages of investigations09:49
Chipacanp!09:49
pedroniszyga: what tools are we calling before we set the symlinks ?09:49
mvoChipaca: the symptoms are snap refresh outputs: "setup snap "core" (2053) security profiles (cannot update mount namespace of snap "go-example-webserver": cannot update preserved namespace of snap "go-example-webserver": cannot update snap namespace: not implemented)" and fails09:49
pedronisah09:50
zygapedronis: update-ns09:50
zygapedronis: because we follow current symlink09:50
pedronisso there was an assumption that we can call setup-profiles both in the old world and the new world09:50
zygaa naive approach would be to just follow the revision matching core that is running09:50
pedroniszyga: I'm a bit confused though, if the old core is still running why is it trying to call a new tool?09:51
Chipacazyga: is this actually related to current?09:51
zygapedronis: it's the new core already09:51
pedronishow can it be09:51
ChipacarunNamespaceTool calls mountNsPath calls mountNsPath which doesn't look at current09:51
pedronissomething is not maing sense to me09:52
zygaI'm looking at09:52
zygahttps://errors.ubuntu.com/oops/ef5ad412-4519-11e7-ac3f-fa163ebeb28a09:52
zygalook what happens there09:52
zygawe never ran update-ns before it was implemented09:52
zygabut here we run update ns on core (so new snapd is doing that)09:52
zygaand it reaches the never-used, not-implemented version that just says it's not implemented and fails09:52
Chipacaah, current is used by InternalToolPath09:53
zygayes09:53
zygaChipaca: yes, that's exactly the issue09:53
Chipacazyga: thing is, it isn't current yet09:53
pedroniswe run setup-profiles firs time before we run link-snap09:53
pedronisthat's by definition the old core09:53
Chipacaso setup-profiles neeeds to run in the new core09:53
zygapedronis: yes, but pre-restart snapd never touched update-ns09:54
Chipacaso it shouldn't be calling InternalToolPath09:54
pedroniszyga: you understand the question is not how to make it work, why at all is the new core involved at that point?09:54
Chipacazyga: question: do you know what core you're running for, from UpdateSnapNamespace?09:54
zygapedronis: aha, I see09:55
Chipacapedronis does have a good point there though09:55
zygaChipaca: maybe, we could look at argv[0] or /proc/self/exe09:55
Chipacazyga: does that get updated on execve? (i don't remember)09:56
pedroniswe split setup-profiles to avoid that sort of problem09:56
pedronisif it's happenign a  lot of other assumptions are wrong09:56
zygamaybe something else is at play09:56
zygaI have a sync call now but I will look at the revisions used there09:57
zygaand see if there was something wrong at that stage09:57
* zyga joins sync call10:00
mvoChipaca, zyga: *maybe* it only affects people on 2.26.3+201705171658.git.78e21e610:08
mvozyga, Chipaca: when going over the error reports from the last two days I found only 2.26.3+201705171658.git.78e21e6, 2.26.3+201705191509.git.f89261c, 2.26.3+git209.2f19233 to be affected, everything before and after appears to be fine10:17
Chipaca_and after_?10:18
mvoChipaca: well, its a good question, things do not refresh so maybe it is something else and this is just where it started10:19
pedronismvo: maybe that error is from an undo path? not the forward path10:23
zygaJamieBennett: is this me or you?10:23
kyrofadavidcalle, "download ubuntu core" on https://www.ubuntu.com/core is a 404...10:27
davidcallekyrofa: thanks, the WIP dev.ubuntu.com has been mistakenly deployed when I was off on friday and I'm collecting the pieces...10:28
kyrofadavidcalle, ah, okay. Sorry man, that's never fun10:28
davidcallekyrofa: I believe you are in Bluefin today?10:29
kyrofadavidcalle, I am!10:29
kyrofadavidcalle, why, are you around?10:29
davidcallekyrofa: then hug the webteam for me, I'm sending them a ton of bug reports about it ;-)10:30
kyrofaHahaha10:30
davidcallekyrofa: no, I'll be there next week for a couple days10:30
kyrofadavidcalle, dangit, come on man, we need to coordinate. I'll be back end of June, come back then10:30
davidcallekyrofa: well, I could be there, we'll see :)10:32
kyrofa;)10:32
pedronisChipaca: btw maybe you can do a 2nd review for snapd#337310:32
mupPR snapd#3373: snapstate: consider connect/disconnect tasks in CheckChangeConflict <Created by stolowski> <https://github.com/snapcore/snapd/pull/3373>10:32
ChipacaI can10:33
Chipacathese tests make my head hurt anyway10:33
zygare10:37
* zyga lunch11:12
ogra_davidcalle, according to a post in https://forum.snapcraft.io/t/startx-as-a-regular-user/460 the mir-kiosk docs are also gone from dev.ubuntu.com ...11:33
davidcalleogra_: I know, see above11:33
davidcalleOh, sorry, missed the "also"11:33
ogra_:)11:34
davidcalleSaviq: by any chance, when you worked on it a couple weeks ago, did you kept a backup of the content? I may be able to poke around in #IS and get something (archive.org most recent is april 16th from last year), but if you have it in some form it would be way faster to get it back online11:41
* Chipaca ~> lunch11:54
ogra_pedronis, hmm ... my snap changes on self-built images is full with re-occuring "Initialize Device" entries ... i cant remember having that before (Initialize Device used to run only once and never again when it failed) ... is there any reason that we run it in a loop even though we alredy know the brand id will not be signable ?12:07
ogra_that makes the snap changes output really noisy and hard to read12:08
dakerdavidcalle: https://webcache.googleusercontent.com/search?q=cache:K946WjTJyyoJ:https://developer.ubuntu.com/en/snappy/guides/mir-snaps/+&cd=1&hl=en&ct=clnk12:19
daker(21 May 2017)12:20
davidcalledaker: ah! *hug*12:27
dakerdavidcalle: if you need more content, you can just paste the link on google, there is a little arrow to get the cached version https://imgur.com/a/hDK0D12:36
pedronisogra_: it's a long while it behaves like that, it has a back off though, at it end it tries 1 or 2 times per day12:40
ogra_hmm, then i probably didnt see it because my images were old installs ...12:41
cachiomvo, any idea what could be affecting that I run the spread tests in linode from my machine and everything works and when I run the tests from travis the snap-confine-from-core which I modified is failing?12:41
ogra_pedronis, but i still think trying more than once (as long as we know we reach the store and all) is a waste ... or is there any expectation that all of a sudden my barnd id can sign it ?12:42
ogra_*brand12:42
cachiomvo, I mean, is there something different in the runs we do from travis?12:42
pedronisogra_: we expect all devices ideally to have a serial, we are erring on the side of trying by design, as I said after a while it tries 1 or 2 times per day12:43
mvocachio: a good question, do you have a link to the failure? what travis runs is in .travis.yml, its very little, ./run-check.sh --static, --unit, --spread - does it maybe fail in one of the earlier tests?12:44
ogra_pedronis, right, but it is very unlikely that a brand id that can not sign suddenly changes its behaviour12:44
pedronisogra_: we don't interpret the errors12:44
ogra_so trying it over and over doesnt feel like it makes any sense12:45
fgimenezhi pedronis, new create-key timeout on i386 https://travis-ci.org/snapcore/spread-cron/builds/237349446#L155112:46
cachiomvo, this is the link https://travis-ci.org/snapcore/snapd/builds/237376386?utm_source=github_status&utm_medium=notification12:47
cachiomvo, I have executed those tests in the same way and I don't see any error12:47
cachiomvo, also I executed the failing tests from my machine using linode repeating 200 times and all tests passed12:48
cachiomvo, I have modified the test snap-confine-from-core to add a missing check12:49
jdstrandmvo: hey, do you have time to talk about the seccomp/snap-confine issue?12:51
jdstrandmvo: I feel like people aren't hearing my concerns about determinism12:51
mvojdstrand: I have 8min, then meeting, then time again12:52
mvocachio: looking, one sec12:52
mvocachio: hm, that sounds strange indeed12:53
mvojdstrand: am I one of the people who fail to hear your concern bout determinsim? if so, I definitely want to understand them12:53
jdstrandmvo: well, I don't know if you are-- I feel that way because I haven't heard anyone acknowledge my point :)12:55
jdstrandmvo: my point is-- the actually problem is that the policy on disk is not reflective of the snapd/snap-confine version that is used12:56
jdstrandactual*12:56
mvojdstrand: not sure how busy you are today, but I would love to talk about it after our standup (so in ~30min or 45min depending how long it runs)12:56
jdstrandmvo: please ping me whenever you are free12:56
jdstrandmvo: it shouldn't take terribly long, but likely more than 8 minutes12:57
zygajdstrand, mvo: I'd like to participate please12:57
zygajdstrand: I think I understand your concern12:57
zyga(and what mvo is trying to do)12:57
mvojdstrand: great, I will. however I'm not sure if thats the actual problem, I think we have a various ones (startup race, profiles not forward compatible, not versionized) but I think we will fix them all :)12:58
mvozyga: sounds good12:58
mvozyga: super keen to hear yours and jdstrand ideas what we can do12:59
jdstrandmvo: I don't mind any of the improvements, but my point is that it just pushes the problem around. we need to have policy that is generated by the running snapd/snap-confine version otherwise there will always be other issues. it just so happens, if that is fixed, all the improvements are less important12:59
zygamvo: I think your idea is OK but jdstrand wants to ensure snapd still starts before services / commands can run,13:00
zygastandup!13:00
jdstrandyes13:00
mvojdstrand, zyga: yes, I think we want the same, its just one of the steps13:00
jdstrandbut if it is the first step, things are nice :)13:01
jdstrandanyway :)13:01
roadmrjdstrand: tools r822 are now in prod \o/13:45
jdstrandroadmr: woohoo! :)13:48
jdstrandroadmr: thanks :)13:48
morphis_zyga: I sadly don't have time for that today but it would be great if we could sync up about the suse stuff tomorrow13:48
* Chipaca kicks off spread tests and goes for a cuppa tea13:59
didrockssergiusens: hey! small question: is it possible in the dump plugin, or via a scriptlet to differ actions (files to install) through arch?14:50
didrocksI can ofc run "arch" in the scriplets, and depending on the result do some magic…14:50
didrockswas wondering if there was something more "out of the box"14:50
mvozyga: ping me once you have build/downloaded a snapd with the right revision to reproduce the refresh hang14:51
zygamvo: sure14:54
kyrofadidrocks, not right now, but it's on the roadmap14:55
zygamvo: I cannot find core at revision 1968, I no longer have access to core14:59
didrockskyrofa: ok, so you would advise relying on `arch` right now?15:00
kyrofadidrocks, if that covers your use-case, go for it. It obviously won't solve everything15:01
kyrofaWe're trying to make a generic way to specify most things using a grammar similar to the stage-packages15:02
niemeyerLunch!15:02
mvozyga: you are still listed as a collaborator15:03
zygahmm15:03
zygasudo snap refresh --revision=1968 core15:03
zygathis fails with: error: cannot refresh "core": snap not found15:03
mvozyga: oh, that will not work15:03
mvozyga: or maybe it should15:03
mvozyga: interessting15:03
zygaI think it should work15:03
ogra_it should15:03
zygaChipaca: ^^15:03
ogra_i use that all the time15:03
zygaanyway, I need that coffee15:04
zygabrb15:04
ogra_are you sure 1968 is the one you want ?15:04
zygamaybe, mvo is that the one you are on?15:04
ogra_(i.e. is it your arch)15:04
mvozyga: I'm on 196815:04
mvozyga: https://launchpad.net/~snappy-dev/+archive/ubuntu/edge/+packages?field.name_filter=snapd&field.status_filter=&field.series_filter= might also be a place to look for the revno15:04
pedronis--revision works only if you can push to the snap15:04
ogra_oh15:04
ogra_indeed ... and i can15:05
ogra_(for core)15:05
zygaand supposedly so can I15:05
ogra_i dont think so15:05
* ogra_ checks15:05
ogra_(if the dashboard ever loads ... tap ... tap ... tap)15:05
Chipacazyga: log in15:05
Chipacazyga: assuming you've got dev access to core, you can pull arbitrary revisions with --revision; otherwise no15:06
zygaah15:06
ogra_yeah, zyga should be able to ...15:06
zygathat was it15:06
zygasorryt15:06
zygaI used sudo15:06
zygait works15:07
azubietaHello, I'm traing to build an snap of Konsole. I followed this tutorial https://apachelog.wordpress.com/2016/12/02/snapping-kde-applications/ but I'm getting the following error ""15:07
azubietaYou need to connect this snap to the kde-frameworks-5 snap.15:07
azubietaYou can do this with those commands:15:07
azubietasnap install kde-frameworks-515:07
azubietasnap connect :kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot15:07
azubietaI already did what the instructions says without success15:08
* zyga looks at a 48GB 24CPU box15:09
zygabut first, coffee15:10
* genii sips15:10
zygare15:18
zygaok, back with my coffee15:18
kyrofaChipaca, if a channel closes, is snapd not currently falling back today?15:18
zygamvo: I'm on the smae revision now15:18
Chipacakyrofa: yes, why?15:18
Chipacakyrofa: I mean yes it is falling back15:18
kyrofaChipaca, in a released version?15:19
Chipacakyrofa: I don't think it's ever not fallen back15:19
pedronisalso that behavior is fully on the store side15:19
Chipacakyrofa: you're making me nervous :-)15:20
kyrofaChipaca, sergio is claiming it doesn't.... made ME nervous15:20
mvozyga: does snap refresh --edge work for you?15:21
pedronisfgimenez: https://travis-ci.org/snapcore/snapd/builds/237053889  seems to be failing with timeouts in lots of prepares15:21
Chipacakyrofa: psh. What does sergiusens know15:21
Chipacasergiusens: no seriously tell us15:21
zygamvo: trying15:23
fgimenezpedronis: thx looking15:23
zygamvo: yes15:23
zygamvo: I'm now on 205315:23
zygamvo: which version of the package are you on?15:23
zygamvo: I suspect it worked for me because I installed locally-built package earlier15:24
mvozyga: aha, you were on a non-rexec version?15:24
zygamvo: possibly15:24
mvozyga: snap version will know15:24
mvozyga: but not anymore :)15:24
zygamvo: anyway, I should reinstall snapd from the archive15:24
zygaok15:25
zygaI'm on 2.2515:25
fgimenezpedronis: on of the errors is super weird https://travis-ci.org/snapcore/snapd/builds/237053889#L1220 it previously checked for SNAP_REEXEC != 0 here https://travis-ci.org/snapcore/snapd/builds/237053889#L118715:25
fgimenezone of the errors15:25
zygamvo: now to switch back core15:25
zygaand try15:25
pedronisfgimenez: also one of the restore timed out, I suppose one a restore fails then we can be in really weird stats15:26
pedroniss/one a /once a/15:26
zygamvo: reproduced!15:26
zygamvo: thank you15:26
zygamvo: so, quick suspicion, there was one day when snapd from core would run snap-update-ns from distro15:27
fgimenezpedronis: indeed, if they don't come alone the restore errors might be caused by something that failed before15:27
zygamvo: I fixed that on monday after landing update-ns on friday15:27
mvozyga: it might be that, yeah.15:27
zygamvo: if this is that version then there's no bug to look for (hopefully)15:27
mvozyga: this would explain the narrow set of versions we are seeing this15:27
mvozyga: plus it never left edge15:27
zygamvo: yes15:27
zygamvo: so the snap-update-ns in core is correct (does real stuff)15:28
zygamvo: but we are running the one I have in /usr/lib/snapd15:28
pedronisfrom 2.2515:28
zygayes15:28
zygaessentially15:28
mvozyga: now the question is what we do about all N people who are affected. we could simply ignore the problem15:28
zygamvo: aha, good question15:28
zygamvo: eventual exnial release will fix it15:29
mvozyga: good point15:29
zygamvo: we could do a point release15:29
zygamvo: and SRU it quickly15:29
zygamvo: to have update-ns just return 015:29
zygawhile saying not implemented15:29
zygamvo: I can prepare a debdiff if you think this is worth doing15:30
=== heber_ is now known as heber
ogra_if it never left edge anyway ... why bother15:30
mvozyga: probably fine to ignore for now as long as the number is very small15:31
zygamvo: use repair assertion :D15:31
mvozyga: soon15:31
* zyga would love if we could try that :-)15:31
zygabut still chicken-and-egg15:31
pedroniswe should tell the pople with it what to do though on the forum15:31
pedronis*people15:31
zygapedronis: good point15:31
zygapedronis: I think refreshing to stable15:31
zygapedronis: and to edge should fix it15:32
* zyga tries15:32
zygamvo: actually, maybe universal recovery stragegy for broken edge?15:32
pedronisno, because with patches or patch like stuff it might break as well15:35
fgimenezpedronis: interfaces-cups-control got stuck too on apt-get install (18mb) https://travis-ci.org/snapcore/snapd/builds/237053889#L688315:36
zygapedronis: in theory yes but we stopped doing that, right?15:36
pedroniswell we stopped using patches15:36
pedronisbut we do some stuff like that in ensure15:36
pedronisso not completely broken15:36
pedronisbut you can get interesting effects15:37
zygapedronis: indeed though those are (for now) still safe15:37
pedronisso really edge to beta or edge to candidate15:37
pedronismight be better15:37
pedronisthan jumping all the way to stable15:37
zygamvo: anyway, I think for this case refresh to core does not work15:37
pedronisif possible15:37
zygamvo: so we need to help people but we need something else15:37
zygamvo: I'd suggest replacing update-ns in the package with bin/true15:37
zygamvo: from there on it would work, if you want I can write a blog post15:37
zygamvo: I can even make a shell script that "recovers" the system15:38
pedronisfgimenez: I wonder, would increasing the timeout help, or do we get into stuck states somehow for which even waiting forever wouldn't help, also wonder whether we should do the reverse, see what are the usual times, and reduce the timeout, so we fail fast15:45
zygamvo: let me know if you want me to do that15:48
fgimenezpedronis: yes, i don't think increasing the timeout further would help too much15:50
fgimenezpedronis: i was wondering if keeping disabled ip6 here would help https://github.com/snapcore/snapd/blob/master/spread.yaml#L258, most of these timeouts happen during downloads for installations15:53
kyrofaChipaca, https://forum.snapcraft.io/t/channel-fallback-doesnt-change-tracked-channel/82815:55
Chipacakyrofa: but fallback != changing tracked15:56
kyrofaIt continues tracking the closed channel?15:56
Chipacakyrofa: the channel tracked does not change15:56
Chipacakyrofa: correct15:56
Chipacakyrofa: if you're tracking beta, and beta closes for a bit, you don't want to be dumped onto stable indefinitely15:57
kyrofaChipaca, huh... seems unintuitive for branches though15:57
kyrofaChipaca, I mean, that revision that I just refreshed to did _not_ come from stable/junk. I never released it there15:58
Chipacakyrofa: maybe snap info could say something like "tracking: foo/stable/hotfix (from foo/stable)? Although I don't know how we'd get that info15:59
Chipacas/\)\?/)"?/15:59
kyrofaYeah... it's just not stating the truth there :P16:00
Chipacakyrofa: it is stating the truth16:01
Chipacakyrofa: you're misunderstanding the truth that it's stating16:01
ogra_alternative facts!16:01
ogra_belive in them!16:01
Chipacakyrofa: if you were to reopen and push a snap into foo/stable/hotfix, and a different one into foo/stable, it would get the one from foo/stable/hotfix and not the other one16:02
kyrofaHahaha16:02
niemeyersergiusens: What's WW21?16:07
Chipacaworld war 21: madagascar is back for more16:08
naccWhat Would 2 116:09
niemeyerChipaca: That's what I associated with as well :)16:09
jdstrandmvo: approved https://github.com/snapcore/snapd/pull/339716:13
mupPR snapd#3397: interfaces: disable "mknod |N" in the default seccomp template again <Created by mvo5> <https://github.com/snapcore/snapd/pull/3397>16:13
Son_Gokuniemeyer, zyga, morphis_: can we adjust the man page generation code to mark it as section 8?16:15
jdstrandmvo: if you put the digest one in PR form, I can comment on the approach (I don't seem to be able to comment on the link you gave)16:15
Son_GokuI got a bug report about a file conflict: https://bugzilla.redhat.com/show_bug.cgi?id=145684716:16
niemeyerSon_Goku: I recall we discussed this before.. what was the agreement last time?16:16
jdstrandmvo: actually, I see the forum topic now16:16
Son_Gokuniemeyer: you said it makes sense, but the code that generates it doesn't actually support selecting sections, and "it doesn't matter"16:17
Son_Gokufwiw, for the longest time, the man page in Ubuntu was written out as snap.8 until I pointed out the mismatch16:17
niemeyerSon_Goku: What I recall from the discussion is that section 1 was actually fine.. is it not?16:19
Son_Gokuit's not16:20
niemeyerWhy not?16:20
Son_Gokuthere's already a snap(1)16:20
Son_Gokufrom https://apps.fedoraproject.org/packages/snap16:20
Son_Gokua backup utility16:20
Son_Gokuswitching computers, will be Pharaoh_Atem16:22
zygamorphis_: ^^ this is the bug I mentioned earlier today16:25
morphis_zyga: interesting16:26
morphis_niemeyer: ping, you have some time discussing `snapd --user`?16:26
niemeyerPharaoh_Atem: I see..16:27
niemeyerPharaoh_Atem: Should be very easy to hack the output of snap help --man so it reports .8 without us having to fix go-flags everywhere16:28
niemeyerPharaoh_Atem: To be clear, tough, that's a hack.. the .1 section is in fact fine for the tool16:28
niemeyerEven systemctl is in there16:28
niemeyermorphis_: Yeah16:29
morphis_Pharaoh_Atem: just tested the latest snapd package in updates-testing, only seeing an empty /var/lib/snapd/ left after snapd is removed16:30
morphis_Pharaoh_Atem: all other things are removed this time16:30
morphis_niemeyer: sent you a PR with a HO link16:30
morphis_s/PR/PM/16:31
Pharaoh_Atemniemeyer: I guess I'll do that16:33
sergiusens_niemeyer: work week 21 of the calendar year16:34
__chip__Pharaoh_Atem: sorry, i missed the start of this; you're wanting it to be snap(8) and not snap(1)16:34
__chip__?16:34
Pharaoh_Atem__chip__: yeah16:35
Pharaoh_Atembut I think I might have just found another solution (for the moment)16:35
__chip__Pharaoh_Atem: what's the driver of that change?16:35
Pharaoh_Atemfile conflict: https://bugzilla.redhat.com/show_bug.cgi?id=145684716:36
=== jkridner|pd is now known as jkridner
Pharaoh_Atembut that said, this might actually be solvable in a different way16:36
__chip__Pharaoh_Atem: if you move the manpage out of the way, won't the binary be the thing reported as conflicting?16:36
Pharaoh_Atemnope16:36
__chip__how come?16:36
Pharaoh_Atemit doesn't provide /usr/bin/snap16:36
Pharaoh_Atemit provides /usr/bin/snaptool16:37
Pharaoh_Atemapparently, it *used* to be snap, and now it's not16:37
__chip__ah16:37
Pharaoh_Atemthe man page is symlinked to the old name as well16:37
Pharaoh_Atemso I'm going to see if I can just get them to drop the old symlink16:37
Pharaoh_Atembecause otherwise, I guess I'm sedding to section 816:37
__chip__I can understand why they'd do that, but it would be very confusing for a user seeing 'snap' and 'snaptool' binaries, and the manpages not lining up16:38
Pharaoh_AtemYep16:38
__chip__I mean, I'd probably notice (after the initial WTF) but it'd be surprising (and so derailing) to people16:39
__chip__anyway, preaching to the choir, probably16:39
* __chip__ goes back to hacking16:39
niemeyersergiusens_: Can we agree on a summary that works for both snapd and snapcraft, and preferably one that doesn't remind us of world wars? :)16:43
ogra_niemeyer, but then we'll miss the beautiful and funny comments from __chip__ ;)16:45
sergiusens_niemeyer: sure, I don't mind changing the subject line/title17:04
zygamvo: https://github.com/snapcore/snapd/pull/341017:04
mupPR snapd#3410: cmd/hotfix: add hotfix tool <Created by zyga> <https://github.com/snapcore/snapd/pull/3410>17:04
mupPR snapd#3410 opened: cmd/hotfix: add hotfix tool <Created by zyga> <https://github.com/snapcore/snapd/pull/3410>17:04
zygamvo: in case we want to help anyone particular that may be affected17:04
niemeyersergiusens_: "Week 21/2017 in snapcraft"?17:06
* zyga breaks17:10
* ogra_ looks for the glue to fix zyga 17:11
mupPR snapd#3411 opened: tests/main: enable a first set of test cases for Fedora and openSUSE <Created by morphis> <https://github.com/snapcore/snapd/pull/3411>17:11
=== chihchun_afk is now known as chihchun
mupPR snapd#3412 opened: tests: fix for snapd-reexec test cheking for restart info on debug log <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/3412>18:32
=== chihchun is now known as chihchun_afk
=== cachio is now known as cachio_afk
luk3yxHow do I specify a folder in a GitHub repo for build.snapcraft.io?20:06
kyrofaluk3yx, cprov might be able to answer that20:13
luk3yxcprov, can you?20:17
luk3yxkyrofa, thanks.20:19
cprovsorry, otp. I don't understand the folder question. do you mean a folder within the repo with snapcraft.yaml|.snapcraft.yaml ?20:19
luk3yxA folder in the repo.20:19
luk3yx*within20:19
cprovthat is not supported, IFAICT20:20
cprov1 repo per snap, basically20:20
thomiThis has also been suggested here: https://forum.snapcraft.io/t/one-folder-per-snap-in-build-snapcraft-io/792 but it's not clear to me how it'd work20:21
luk3yxI keep different versions of the same snap in different directories.20:46
luk3yxDoes it do 32-bit builds?20:50
luk3yx...or do I still need to manually do i686 builds?20:50
naccluk3yx: wouldn't you just have them in different branches?20:51
luk3yxI've simplified it now, commits can roll back if required.20:52
luk3yxOne question.20:53
luk3yxIt can't build my snap, as it's designed for the latest release (17.04).20:53
luk3yxCan it build the non-LTS release?20:54
naccluk3yx: meaning you are using some packages from 17.04?20:54
luk3yxYes.20:54
luk3yx...that don't exist on 16.04.20:54
naccluk3yx: i've only used the LP builders, but there, you can tell it what release to build under20:54
luk3yxOkay.20:54
naccluk3yx: i'm looking on b.s.io20:55
luk3yxOkay.20:55
luk3yxI've send feedback.20:56
luk3yx*sent20:56
luk3yxHopefully they'll fix the issue.20:56
=== cachio_afk is now known as cachio
=== cachio_afk is now known as cachio
cachioniemeyer, do you know why the tests usually don't uninstall the snaps used?22:01
dakeranyone to help with a store issue ? i can't install a snap that is published in the edge channel22:57
luk3yxDid you use --edge?22:59
luk3yxdaker, did you?23:01
dakerluk3yx: yes sudo snap install --edge $snapname --revision=123:02
luk3yxWhat's the error?23:02
dakerit's says : snap not found23:02
naccdaker: what's the snap's name?23:02
dakernginx-rtmp23:03
naccdaker: i'm not sure such a snap exists23:06
naccdaker: where did you find a reference to it?23:06
dakernacc: i used snapcraft build site to publish, i can see it in the store (dashboard.snapcraft.io) https://i.imgur.com/3vCeFJr.png23:08
naccdaker: possiblyou also need to tell it y ou want devmod23:09
naccdaker: by default it won't install such a thing, iirc23:09
dakernacc: yes you are right, i need to add --devmode, it works now23:11
naccdaker: great! :)23:12
dakernacc: thanks23:12

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