/srv/irclogs.ubuntu.com/2018/09/04/#snappy.txt

=== JanC_ is now known as JanC
mborzeckimorning05:11
mborzeckimvo: hi05:40
mvohey mborzecki05:46
mborzeckimvo: https://github.com/snapcore/snapd/pull/5756 looks like an easy win05:46
mvomborzecki: indeed, thank you. technically this needs a review from jamie from security but I'm not sure its really needed for such a trivial one05:47
mvomborzecki: how are tests this morning?05:48
mborzeckimvo: yeah, those files are just manufacturer an product human readable strings :)05:48
mborzeckimvo: hard to tell, restarted a few jobs, but those were failures from yday05:49
zygaGood morning05:50
zygaMborzecki I could use some HO time today05:52
zygaI found a case that doesn’t work (not trespassing, that is ok)05:52
zygaAnd I wanted to discuss if05:52
zygaIt05:52
mborzeckizyga: ok05:52
mvozyga: good morning05:53
mvomborzecki: I will merge once tests are green05:54
zygaEssentially the case is this: you have a symlink a->b in writable space, you want a->c instead05:54
zygaHey. School saga day two05:54
zygaToday we just bail05:54
zygaI was thinking we should I link and symlink05:55
zygaI link and symlink05:55
=== chihchun_afk is now known as chihchun
mborzecki build has failed06:40
mborzeckiBuild #24748 was borken06:40
mborzeckihm we're not out of the woods yet06:40
mborzeckiwonder if we could use the fakestore in those tests06:43
mborzeckimvo: can you upload the release files to github?06:49
mvomborzecki: yes, sorry, will do so in a minute06:50
mborzeckimvo: thanks!06:50
mvoalso looks like master has a problem building on various arches in master :/ oh well, I look at this in a little bit too06:51
mvomborzecki: done06:57
mborzeckimvo: thank you06:57
mborzeckimvo: i'll drop snapd.failure.service and snap-failure at the package level for now06:58
mvomborzecki: please do06:58
mborzeckia siminiar thing will be needed for fedora (neal if offline?) and opensuse (cc zyga)06:59
mborzeckiarch package updated07:16
zygare07:16
zygawhat's the problem?07:16
zygabtw, I'm entirely re-working suse packaging07:16
zygait's a bit of a sad/happy story that I can share during the standup07:17
mborzeckizyga: https://aur.archlinux.org/cgit/aur.git/commit/?h=snapd&id=a23bdc8eb207c2a1312d74377dfcf8e56e25094f07:19
pstolowskimornings07:19
* zyga looks07:20
zygahey pawel :)07:20
* zyga is working from a restaurant garden today07:20
zygaahhh07:20
zygaI see07:20
zygathank you for sharing mborzecki07:20
mborzeckipstolowski: hey07:21
mborzeckibtw. have you noticed something about ohmygiraffe, or maybe it's our pulseaudio interface07:21
mborzeckiwhen i restart pulseaudio (pulseaudio -k) and start ohmygiraffe after that, there's no sound07:22
zygamborzecki: probably different filename/cookie value07:23
mborzeckizyga: right, but it's read from .pulse-cookie07:24
zygais it?07:25
zygait's unlikely07:25
mborzeckizyga: i'd gues .pulse-cookie contains the cookie, it's different each time pulseaudio starts, but at the same time i'd expect libpulse to read and use the new cookie07:27
zygabut the cookie is in a dot file in HOME07:27
zygaso it's probably not read from that07:27
zygaprobably read from the x server root window07:27
mborzeckithe log with PULSE_LOG=4 shows it's trying /run/user/1000/snap.ohmygiraffe/pulse/native to no avail07:28
mborzeckiand $XDG_RUNTIME_DIR/pulse is indeed empty07:29
mborzeckii have a vague recollection we fied that in desktop helpers?07:29
zygamaybe07:30
zygabut I'd look at xprops07:30
mborzeckiheh, symlinked in in snap shell, works now07:30
mborzeckiln -s ../../pulse/native $XDG_RUNTIME_DIR/pulse/native and magically works :/07:30
mborzeckizyga: xprop -root |grep -i pulse comes up empty07:31
zygahmm07:32
zygaand without pulse?07:32
zygaanything else there?07:32
mborzeckizyga: with or without looks the same07:34
zygaare you on wayland?07:34
mborzeckizyga: no x1107:37
mborzeckiok, so it'd be nice to rebuild the snap to pick up the fixes in snapcraft-desktop-helpers07:38
zygain that case my theory is broken, no idea07:38
mborzeckiwe have a fix there already (apparently i was the one to add it) whcih exports PULSE_SERVER07:38
mborzeckipopey: any chance you could rebuild ohmygiraffe using more recent snapcraft?07:40
zygamborzecki: I'm re-working the restricted/desiredPath into a structure that holds the pair07:42
mborzeckineed conffee07:45
zygacofefe07:48
Raboohow do I figure out what settings a snap has?07:49
Raboobtw snapcraft.io times out alot since yesterday07:49
Rabooah there is a get07:55
zygaRaboo: hey08:01
zygayeah, the store was wonky yesterday, it's all resolved I heard though08:01
zygaRaboo: snap configuration doesn't have a schema yet but you can indeed use get to look at the data that is set right now08:01
Raboozyga ok08:01
mborzeckizyga: doesn't look resolved to me08:01
zygaoh?08:02
zygathe store is still wonky?08:02
Rabootrying out the chromium-mir-store08:02
Raboos/store/kiosk/08:02
mborzeckizyga: afaict it is08:02
Raboozyga still wonky08:02
zyga:/08:02
ppisatiogra_: xenial or bionic only? if we could find a way to reproduce it, it would be nice08:02
wgrantzyga: It was all resolved, but is having some minor trouble now. Should be working again.08:04
sparkiegeekzyga: please just look at (and refer people to) https://status.snapcraft.io08:04
zygathank you, will do08:05
sparkiegeekwe (store team) will keep that up to date, and avoids "I heard" games of Telephone08:05
Raboodoes the chromium-mir-kiosk people hang here? I'm wondering what I need to do to enable audio and webcam08:07
mvoChipaca: good morning!08:09
mvoChipaca: I think you tricked me into writing tests for store.go:download() ;)08:10
Chipacamvo: morning!08:10
mvoChipaca: we do not test this explicitly, do we?08:10
Chipacamvo: only that if wasn't covered!08:10
Chipacamvo: probably not explicitly, the tests will be fore Download08:10
Chipacaor whatever08:10
Chipacamvo: can't you parametrise one of the existing tests?08:11
Chipacamvo: as in, TestDownload(*C) -> testDownloadMaybeWithRateLimit(*C, bool)08:11
mvoChipaca: not sure, afaict we mock func download away pretty much everywhere08:11
Chipacahmm08:11
* Chipaca looks08:11
mvoChipaca: I looked at storeTestSuite and in SetUpTest it mocks it away and I don't see where its unmocked :/ but again, maybe blind :)08:13
zygahey John, good morning08:16
zygamborzecki: hey08:16
zygado you have a sec for HO?08:16
mborzeckisure08:16
mborzeckisec08:16
mborzeckizyga: ok, i'm there08:17
zygak, joining08:17
pedronisChipaca: mvo: we should have some tests for download,  what I'm not sure is whether we have tests for Download calling download08:18
Chipacapedronis: mvo: look for TestActualDownload08:18
Chipacapedronis: mvo: there are a bunch08:18
Chipacacoverage is bright green, not the pale green of only-barely-covered08:19
Chipacazyga: hey zyga08:19
Chipacazyga: I'm assuming you mean me when you say 'hey John' :-)08:19
pedronisChipaca: mvo: SetUp stores it away to restore, it doesn't mock it  afaict08:20
mvoChipaca: clearly the tea then, thanks, I will add08:20
pedroniss.origDownloadFunc = download08:21
mvoChipaca: to that family plus adding one that does the download directly08:21
RabooThis is my interfaces http://termbin.com/nm9z, do I need to connect anything more to enable camera and audio for chromium-mir-kiosk?08:21
mvopedronis: yeah, thanks. I see it now, sorry for the noise08:21
pedronismvo: well store_test.go is a bit of a jungle08:21
pedronisbut at least this bit is kind of straighforward08:22
mvopedronis, Chipaca would you mind if I change this to use MockDownload ? to make it a bit more like the other parts?08:22
mvopedronis: yeah, sorry again08:22
mvo(probably in a separate PR)08:22
pedronisI don't know08:22
Chipacapedronis: mvo: it wasn't obvious fwiw, I had to add a panic() to the download() :-)08:22
pedronisit's a step in the right direction otoh  I think that file needs a more general attack08:22
mvoChipaca: heh, thanks for comforting me :)08:22
mvopedronis: I would move the actual download tests into its own suite plus add mocking via export_test.go as a first step. but I'm fine leaving it if there is a bigger plan in place08:23
pedronismvo: there are not bigger plans08:23
pedronismostly noticing that Mock* is not used  much around there08:24
pedronismvo: the main issue is really that   store_test.go  is "package store"08:24
pedronisonly unclarity comes from that08:25
Chipacastore really needs some love, yes08:25
pedronisit and daemon are the few places left doding that08:25
mvopedronis: yeah08:25
Chipacadaemon is 100% my fault :-|08:25
mvopedronis: I have a look08:25
* pedronis is only morning and I cannot type08:25
mvoChipaca: its the fault of history08:25
* mvo hugs Chipaca 08:25
Chipaca:-)08:26
Chipacaanyway, back to snapshotstate tests for me08:27
popeymborzecki: sure, what's the issue I'm solving by rebuilding omg?08:38
ChipacaHAH! found you, you nasty effluvia08:41
ackkhi. where is "snapctl" localed in the snap? it seems it's not in path by default in hooks08:43
ograppisati, ubuntu core 16 ... 4.4 kernel08:43
Chipacaackk: /usr/bin/snapctl08:44
ackkChipaca, oh, wait it seems it's missing in core18?08:44
Chipacaackk: shouldn't be, but :-)08:45
Chipacaackk: do you have core, or snapd snaps?08:45
ograppisati, the systems are all the same, running a webcam with mjpg-streamer (so there is a lot of data going over the net) ...08:45
ackkChipaca, I have "core" but the snap I'm working on is based on core1808:45
ackkChipaca, confirmed, no snapctl in core1808:46
Chipacaackk: right, core18 doesn't ship any of snapd; that's shipped in the snapd snap (in the new world) or in the core snap (in the old world)08:46
Chipacaackk: snapd should be smart enough to find it and put it where it's expected though08:46
Chipacamvo: any issues here ^?08:46
ackkChipaca, so how do I base a snap on core18 and use hooks?08:46
Chipacaackk: as I say, it should just work -- you shouldn't need to care08:47
Chipacaackk: you've found a bug, maybe08:47
Chipacaackk: waiting for word from mvo who is the god of core18 and hugs08:47
ackkChipaca, should I have a "snapd" snap as well?08:47
ackkI don't08:47
Chipacaackk: no you should not need it08:47
Chipacaackk: can you check if it's in /usr/lib/snapd/ ?08:47
Chipacasnapctl i mean08:48
mvoackk: are you using the "beta" or "edge" of core18 ? if not, please try that08:48
ackkChipaca, it's not08:48
ackkmvo, no I'm using stable, I'll try edge08:48
ackkmvo, that worked, thanks08:49
ackkmvo, btw are pre-refresh and post-refresh hooks already supported in released snapd?08:49
mvoackk: that should work, yes08:49
ackkcool08:50
ackkChipaca, mvo  thanks08:50
Chipacapedronis: that thing where the cleanup test would freeze that had me stumped? was an actual bug :-D08:55
pedronisChipaca: ok08:55
* pstolowski -> school run08:56
ackkChipaca, unrelated, do you know if it's possible to run ssh confied in a snap? I've been trying but it fails on setgroups call and I can't log in08:57
Chipacaackk: ssh should work (there might even be an interface to let it get the host keys); sshd might need tweaking08:58
mborzeckipopey: the one i know of is it'll get properly exported PULSE_SERVER, so even if you restart pulseaudio the sound will work08:58
zygaChipaca: indeed08:58
ackkChipaca, right, I want sshd08:58
Chipacaackk: if you arm yourself with logs and patience jd_strand might be able to help08:58
Chipacaackk: sshd has a lot of levers you can pull via config :-)08:59
Chipacaackk: but: if it tries to setuid, it won't work08:59
ackkChipaca, right, I've been trying that, including AllowedUsers/Group and so on, but I couldn't get it to work08:59
Chipacasetgroups sounds like part of that family08:59
ackkChipaca, right, I suspect it would work if it could use a "nobody" user08:59
ackkChipaca, basically I wanted an isolated sshd so that I can use it as a target for sshuttle-based VPNs09:00
Chipacaackk: nice09:00
ackkChipaca, it would be if it worked :)09:00
Chipacaackk: https://forum.snapcraft.io/t/multiple-users-and-groups-in-snaps/1461?u=chipaca fwiw09:01
ackkChipaca, yeah I know about that thread, it's something we'd like for the maas snap too09:02
Chipacak09:06
niemeyerackk: We discussed the idea of introducing a "daemon" user early on, using the same model of the final design.. might work for those cases before the whole thing is fleshed out09:13
niemeyerMornings, btw09:13
ackkhi niemeyer, yeah I think that would be enough for our use case09:16
ackk(daemons that refuse to run as root)09:16
niemeyerackk: Yeah, that's indeed the reason why that idea came up09:17
Chipacapedronis: Settle(t) always take t? I thought it was a maximum but in practice it looks like a mminimum (at least when there's cleanup involved)09:18
threshpopey, sparkiegeek ping vlc stuck in store09:19
sparkiegeekthresh: hmm, sorry about that :/ I've re-triggered the checks again on 3.0.409:20
threshsparkiegeek, np and thanks!09:20
pedronisChipaca: it's complicated,   t doesn't cover time some scenarios09:24
Chipacapedronis: hmm09:24
Chipacapedronis: what I'm seeing is that cleanup gets called again and again09:24
Chipacahmm09:25
Chipacapedronis: if cleanup returns error it just gets called again?09:25
pedronisChipaca: ah, yes,  no basically cannot return errors from cleanups09:25
pedronisunless you think being called forever is what you want09:25
Chipacapedronis: thank you for having me write these tests ;-)09:26
dot-tobiasHi everyone. Quick question concerning the Ruby plugin: Is there a way to preserve a built Ruby version across iterations as long as I don't change the ruby-version keyword? I'm experimenting with different stage-packages and the plugin rebuilds Ruby from source on every iteration.09:40
sparkiegeekthresh, popey: it is now unstuck09:58
Chipacadot-tobias: I'm not sure who, short of sergiusens or kyrofa, can answer that09:59
zygamborzecki: I think I found another logic quirk in my code10:11
zygaeh eh10:11
zygabut I'll commit everything and push it for review10:11
mborzeckiok10:11
zygathen work on your branch10:11
zygamborzecki: essentially the call to LiftRestrictions is fine10:11
zygamborzecki: but what if we did /rofs/<mimic>/a10:11
zygamborzecki: and want to make /rofs/b then?10:11
zygamborzecki: we remember that /rofs is a tmpfs we made10:11
zygamborzecki: so we'll make b10:12
zygathat will work10:12
zygamborzecki: but /rofs/a/c10:12
zygamborzecki: that will go to rofs, it's a tmpfs so we carry on, then we will see an _existing_ directory a and bail out10:12
zyga(because we may not attempt writes there)10:12
zygait's non-trivial :/10:12
zygamborzecki: because as I coded it so far, we only lift restrictions when making a new directory on top of a tmpfs mount point10:13
zygamborzecki: to allow /rofs/a/c we'd have to keep track of other mount ops and ensure that /rofs/a/ is not populated10:13
zygamborzecki: it can be a fix on top of this branch I suspect10:13
zygabut meh, this is hard stuff10:13
mborzeckiheh, maybe we should try whiteboard instead :P10:14
zygamborzecki: we need the "are you evil" bit10:15
mborzeckizyga: it feels like you'd need to comb through the ops and match the longest prefix of current path10:16
zygamborzecki: we also need to keep track of mount changes we started with (current mount profile)10:16
zygamborzecki: well, not sure, it's all complex (you can have filesystems and symlinks there)10:16
mborzeckizyga: we could track just the current state, but then symlinks don't show up because it's kind of side channel10:19
zygamborzecki: we cannot track just the current state, we are called _update_ ns for a reason10:19
mborzeckizyga: i meant tracking the 'current state' after each change, but that's not helping either10:21
mborzeckizyga: btw. what if symlinks were applied last?10:22
zygamborzecki: we know in order10:22
zygamborzecki: I mean, we know it all10:22
zygabut it's hard to come up with an algorithm can respond reliably to the set of questions we have10:23
zygamborzecki: pushed!10:31
zygaI'm making the PR now,10:33
zygamborzecki: I have an idea how to fix /rofs/a/c10:36
zygaif we know /rofs/a and we can fstat it we can check the device major number10:36
zyga(and the magic/type value)10:37
zyga*fstatfs10:37
zygaThen we can fstatfs /rofs/a/c and also allow it iff it is still a tmpfs and has a major number that matches one of the past ones we've checked10:37
zygasince we must have traversed /rofs/a/ we will know the major number10:37
zygaanyway10:38
zygathat's a follow-up10:38
zygamborzecki: https://github.com/snapcore/snapd/pull/576010:43
zygamborzecki: I'll look at your PR now10:43
zygamborzecki: just to double check: https://github.com/snapcore/snapd/pull/575810:48
zygathis one?10:49
mborzeckizyga: https://github.com/snapcore/snapd/pull/571310:54
mborzeckizyga: well, you can do both :)10:54
zygaok10:55
zygamborzecki: quick question: why didn't you make the changes to apparmor?10:59
zygamborzecki: there are some typos in parallel in the PR :)10:59
mborzeckizyga: default template?11:07
zygaor instance specific template, either way11:08
zygaanyway, reading on11:08
mborzeckipedronis: hi, another one for you https://github.com/snapcore/snapd/pull/5761 :) this is first step to get the stable instance key across refresh requests (cc wgrant)11:17
wgrantooh11:19
baimafeimahello, I'm curious whether it'll be possible to get snaps to run on Haiku OS: https://www.haiku-os.org/11:20
zygabaimafeima: hey, that's unlikely as snaps rely on a number of linux technologies11:20
zygabaimafeima: I'm not a haiku expert but I don't suppose haiku can run unmodified linux executables today11:21
baimafeimaYeah11:21
zygabaimafeima: so apart from the extra requirements of snapd (related to container technologies and sandboxing) you would have existing problems of just running unmodified apps that people release11:21
baimafeimaI just wonder whether there's any ambition among snap developers to even move beyond the linux ecosystem11:21
baimafeimato make it more "universal"11:22
zygabaimafeima: one by one ;)11:22
zygabaimafeima: I think the answer is that it's unreasonable outside of "let's run it in a VM"11:22
zygabaimafeima: I doubt the number of users there would justify the engineering work required to attempt that11:23
zygabaimafeima: allowing snaps on windows would be more interesting for example11:23
baimafeimazyga, yeah, I just happen to be really fascinated about haiku :D11:24
baimafeimaand well, they really lack software11:24
zygabaimafeima: I understand that11:29
zygabaimafeima: good luck with haiku!11:29
pedronismborzecki: ack11:30
baimafeimazyga, thanks for the info though11:31
=== pstolowski is now known as pstolowski|lunch
zygamborzecki: wow, https://github.com/snapcore/snapd/pull/5760 is green on first go :)11:36
zygano need to re-trigger tests11:37
zygathat's fun :)11:37
wgrantmborzecki: RequestSeed will be persisted in state somewhere, I guess?11:42
wgrantI suppose it needn't be a per-snap value. Machine-global would be fine.11:42
mborzeckiwgrant: i planned to use seed-time which is machine global for that11:42
mborzeckioff to pick up the kids11:45
* zyga preps for lunch11:48
zygamborzecki: review of 80% sent, I'll grab some food now11:49
zygamborzecki: and there are lots of conflicts in that PR11:49
zygaanywAY11:49
=== chihchun is now known as chihchun_afk
zygare :)12:30
zygamborzecki: resuming the review12:30
pstolowski|luncha lot of "error: unable to contact snap store" today, still12:34
noise][pstolowski|lunch: we are still battling some performance issues so having internmittent timeouts12:35
pstolowski|lunchnoise][: ack, thanks12:35
=== pstolowski|lunch is now known as pstolowski
pstolowskiniemeyer: thanks for the yesterday's udev review! the followup https://github.com/snapcore/snapd/pull/5632 is now much smaller (and also finally green again)12:36
mborzeckire12:39
niemeyerpstolowski: Thanks!12:41
mborzeckizyga: yeah, the conflicts are expected, parts of the PR were landing independently12:41
Chipacastate ensure error: cannot decode new commands catalog: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/names?confinement=strict%2Cclassic"12:44
Chipaca:'(12:44
Chipacanoise][: ^ is that another form of intermittent timeout?12:44
noise][yes, we lock you up until the timeout is reached12:45
pedronisChipaca: we should move catalog fetching to a task btw12:46
ogranoise][, given that https://forum.snapcraft.io/t/solved-request-failures-to-the-store/7177/6 claims "solved" perhaps someone from store could answer here https://forum.snapcraft.io/t/snapd-not-connecting-to-the-store-what-to-test-do/719012:49
ogra(since the latter one is more specific)12:49
Chipacaogra: "solved" y un jamón :-)12:52
jdstrandI'm here12:52
noise][yes, we'll get the notices updated, sorry for the delay on those12:52
ograjdstrand, do you highlight "jamón" lately ?12:53
jdstrandno12:53
ogra:)12:53
jdstrandI saw the store failures bit12:53
ograah12:53
jdstrandbut seems you are talking about different things12:53
zygajdstrand: hello12:54
ograyeah ... the review-tools are fine on 16.04 ... 18.04 still fails though12:54
jdstrandI'll sync with roadmr when he is online. a new revision of the review tools should've hit prod yesterday but it doesn't seem to have12:54
zygaogra: jamon? :D12:54
jdstrandogra: yeah12:54
ograzyga, see Chipaca's last line :)12:54
zygajdstrand: I revived the trespassing fix for layouts, some churn still but at some point I'll ask you to sanity check12:54
jdstrandogra: so, depending on what he says, I'll do the same for 18.04 that I did for 16.0412:54
jdstrandzyga: hey, sure12:54
zygajdstrand: there's also some related change in mount table sorting we are doing for instances12:55
zygajdstrand: I'll go through it now, to poke holes12:55
zygajdstrand: but if I fail I'll ask you to double check that aspect12:55
jdstrandroadmr: good morning! what is the status of getting r1123 of the tools into prod?13:07
roadmrhi jdstrand ! we've had some issues with breakage in the store since yesterday which have preempted any rollouts :/13:07
roadmrjdstrand: but once the fire is out, rolling r1123 and a couple of other changes is highest priority for us13:08
jdstrandroadmr: should I roll a downgraded deb for bionic or does that fire seem to be out?13:09
jdstrandroadmr: (I can do the same for base: core18 snaps as I did for regular snaps. that would help some, but then there are non-LP/snapcraft.io builds that need r1123)13:10
jdstrand(I can't do anything about those)13:10
roadmrjdstrand: it's probably still affecting users building on 18.0413:11
jdstrandroadmr: which 'it'? I know lack of r1123 is affecting users (that is what I'm wondering about with uploading a downgraded bionic). ie, is the fire almost out and therefore r1123 will make it in the next few hours, or should I prepare that downgraded deb?13:12
roadmrjdstrand: it == the new snapcraft that emits those new keys :)13:17
roadmrjdstrand: we might be able to do the rollout this afternoon but no promises - it might be reasonable to downgrade bionic :(13:17
jdstrandroadmr: right, ok13:17
* jdstrand does that13:17
roadmrjdstrand: because it'll be a couple of hours before we know more, and what we end up finding out may be "it's all still borked, we can't roll out yet"13:18
roadmrjdstrand: sorry - this issue we've hit had particularly bad timing :(13:18
jdstrandno worries13:18
=== sparkieg` is now known as sparkiegeek`
mvoniemeyer: the snapd snap failover test: https://github.com/snapcore/snapd/blob/master/tests/core18/snapd-failover/task.yaml13:59
mvoniemeyer: sorry that I did not find it earlier, it is under the core18 subsection, I forgot about this13:59
niemeyermvo: Thanks!14:02
niemeyermvo: and np at all14:02
ogramvo, https://forum.snapcraft.io/t/core18-included-binaries/7191 ( <-- and probably also niemeyer )14:10
sergiusenskjackal: hey there, can you direct me to where the microk8s project lives?14:12
Chipacaniemeyer: wrt changing 'okay' to 'ack', was your expectation also that the user-facing command would become 'ack'?14:12
Chipaca(maybe as an alias for 'acknowledge'?14:12
Chipaca)14:12
pedronisChipaca: snap ack exists already,  for assertions14:12
niemeyerRight, on both counts14:12
pedronisthat's why we went with okay here originally, I think14:13
niemeyerOh, wait.. the command doesn't work.. :(14:13
mvoogra: ta14:14
niemeyerIt's a bit awkward to see it as a verb.. it was also unexpected to see it mixed14:14
niemeyerHmmmmm14:14
Chipacaniemeyer: 'snap okay' comes straight from the whiteboard fwiw14:14
niemeyerAck14:14
niemeyer(or okay? :P)14:15
zyga"snap dismiss"14:16
zygasnap read NN (like in gentoo)14:16
Chipacasnap conform14:18
niemeyerzyga: That's pretty good, but as something we need to type out often "okay" feels practical, and sort of okay14:19
niemeyerI cannot find any better options right away, unsurprisingly..14:19
roadmrhaha so just like typing any two letters on a unix system does *something*, snap $ANY_VERB is bound to eventually also do something :D14:19
niemeyerWe probably spent a good while finding it in the sprint14:19
pedronislooking at synomyms of "acknowledge" there is nothing useful that is not many word, or long and uncommon14:20
Son_Gokudoes anyone know why the forums are inaccessible?14:22
Son_Gokuhmm14:22
Son_Gokuwas a blip14:22
Son_Gokuit works now14:22
niemeyerChipaca, pedronis: alright, I we want to go with "okay", indeed it sounds better to go end-to-end with it so we use the same terminology everywhere14:26
niemeyerChipaca: sorry for the false lead.. I forgot we had such a strong meaning for ack already14:26
roadmrjdstrand: hey! the script that sends USN notifications for snaps, that lives in the reviewer-tools repo, right?14:32
zyganiemeyer: yeah, I think okay is okay :)14:38
niemeyerOkay then!14:39
Chipacazyga: I think ack is ack14:42
zygaack, okay14:48
zygameh14:48
zygacan we have "snap meh"14:48
zygadoing something useful? :)14:48
pedronissnap blink and snap nod14:49
zygasnap wink wink wink14:49
* mvo likes snap nod14:52
mborzeckisnap aye, snap nay?14:55
zygasnap popey the sailor15:09
diddledanhttps://www.youtube.com/watch?v=grtchH6SfGE15:19
jdstrandSaviq: hey, can you trigger a new build for subsurface? LP/snapcraft.io should now have a downgraded snapcraft to work around the review issue15:21
jdstrandroadmr: the meat of the script is there, yes. there is a small cron script that drives it that is not15:22
roadmrjdstrand: ok... but the cron script mostly calls the usn script itself, right? does it by chance do a snap search to the /api/v1/snaps/search endpoint? (I think not, but checking something)15:23
sergiusensjdstrand, roadmr: I am about to dput a new snapcraft, is the review thing resolved? If not I will git revert the version thing and leave it to you guys to add back when ready15:25
roadmrsergiusens, jdstrand : I'm about to request the rollout with tools r1123, very likely that'll be out today15:25
sergiusensroadmr: ok, sounds good15:26
Saviqjdstrand: ack15:27
jdstrandroadmr: thanks! that'll help people directly uploading with 'snapcraft push'15:43
roadmryep, sorry it took so long :/15:44
roadmrbut... fire :)15:44
jdstrandroadmr: sorry, let me check15:44
roadmrjdstrand: (it's not there yet :)15:44
roadmrrollout has been requested, but takes a while to process/run/etc15:44
jdstrandI understand15:44
* jdstrand is getting you the answer to your question15:44
roadmrthanks :)15:47
ogramvo, did you see my last comment on the core18 binaries thread ? where are netplan and console-conf in core18 ? are they not supposed to be included anymore16:21
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
* Chipaca wanders off17:13
* anarcat waves17:14
anarcatso what should i do with this bug report? https://forum.snapcraft.io/t/apparmor-error-after-debian-buster-upgrade/702617:15
anarcatit still, as far as i know, affects debian17:15
cyphermoxogra: could you please clarify? netplan and console-conf not supposed to be included? I expect that's a mistake17:34
jdstrandsergiusens: I see you closed https://github.com/snapcore/snapcraft/pull/2234. I commented there since I was reading backscrolled and asked to do so17:36
sergiusensjdstrand: yeah, I reopened another one17:37
sergiusensjdstrand: https://github.com/snapcore/snapcraft/pull/223517:37
sergiusensbut I will look into your comments17:37
jdstrandanarcat: I think zyga is looking at that17:37
sergiusensjdstrand: good comments, these are the smallest snaps we can come up with to trigger each scenario as we do like our speed17:39
sergiusensjdstrand: this will not however give us a 100% coverage on all the possible scenarios for keys to be generated. But we should strive to keep the ones you care about compatible, we do not plan on making backwards incompatible changes, but you never know when taking on new dependencies :-)17:40
jdstrandsergiusens: are you planning on adding new keys? maybe I should adjust the tools to not care about unknown ones17:42
jdstrandit isn't as interesting to report unknown manifest.yaml keys17:43
sergiusensjdstrand: no, no plans; I just worry that someone will create a snap that triggers things you have not seen yet (like source-commit or those keys that only show up on very special occasions)17:43
jdstrandpossibly17:44
sergiusensjdstrand: that said, maybe you cover everything already and I just need to check17:44
sergiusensjdstrand: but, the case can be made that the snap directory of a snap is not part of the snap format17:45
jdstrandsergiusens: https://git.launchpad.net/review-tools/tree/clickreviews/sr_common.py#n6717:45
sergiusensit is just an artifact that snapcraft creates17:45
jdstrandright17:45
jdstrandI mean, snapd doesn't look at it17:45
jdstrandlooks like I do not have source-commit17:45
sergiusensright, anything part of the snap format is in meta17:46
jdstrandsergiusens: how about I add all the missing keys, but then I make it non-fatal if something is added?17:46
sergiusensjdstrand: source-commit is part of snapcraft.yaml inside snap (alongside manifest.yaml)17:46
sergiusensyou may not be checking it at all from a quick search17:47
jdstrandsergiusens: we don't look at snapcraft.yaml at all17:47
jdstrandsergiusens: only manifest.yaml and only because our tool looks at it17:47
sergiusensjdstrand: that's perfect, I would still treat it as json API, ignoring what you do not know about to be able to add new keys we agree upon17:48
jdstrandsergiusens: ok, am I missing anything from manifest.yaml? is there somewhere I should look?17:48
sergiusenswell, your choice, we will most likely only add keys there that make sense to you and maybe when we decide to tackle reproduceable builds for real17:48
anarcatjdstrand: cool17:49
sergiusensjdstrand: it is pretty much hand crafted to not sneak in things https://github.com/snapcore/snapcraft/blob/master/snapcraft/internal/meta/_manifest.py#L2817:50
jdstrandok, thanks17:53
sergiusensjdstrand: I will let you know if anything changes17:54
jdstrandsergiusens: thanks. the added tests will be very worthwhile in that regard. I'm also removing the unknown check17:55
mvoogra: are you looking at stable? that is very small right now, beta/edge should be more current17:58
pedronismvo: is version really intended to be just "18"  in edge?18:00
ogramvo, aha, i'll make the same list fro edge then, thanks18:03
ogra*for18:03
mvopedronis: there is an open pr to make it date based we could make it month based18:13
mvoogra: yw, sorry that its a bit confusing currently18:13
kyrofaHey mvo, although the yaml spec doesn't guarantee it, will the `environment` dict be evaluated in order?18:46
kyrofaI assume so, just want to double check18:52
* cachio afk18:59
ograjdstrand, i see very curious things in my log from the hexchat snap ...19:36
ograkernel: audit: type=1400 audit(1536089686.295:34656): apparmor="DENIED" operation="open" profile="snap.hexchat.hexchat" name=2F686F6D652F6F6772612F736E61702F686578636861742F33392F2E636F6E6669672F686578636861742F7363726F6C6C6261636B2F7562756E747520736572766572732F23626561676C652E747874 pid=4797 comm="hexchat" requested_mask="ac" denied_mask="ac" fsuid=1000 ouid=100019:36
ogra(hexchat obvously works just fine ... as i'm just typing in it ... but this line repeats every 10 sec or so, growing my logs)19:37
ijohnsonogra: you can decode the name there using aa-decode from the apparmor-utils package19:39
ograijohnson, !19:41
ograijohnson, thanks a lot, that helps19:43
mvokyrofa: hey, sorry for the slow reply. iirc the goyaml we use gives us a stable ordering, I can double check tomorrow20:12
niemeyerIt does..20:30

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