/srv/irclogs.ubuntu.com/2019/02/05/#snappy.txt

=== Eickmeyer is now known as studiobot
=== studiobot is now known as Eickmeyer
=== Eickmeyer is now known as studiobot
mborzeckimorning06:12
mborzeckimvo: morning07:43
mvomborzecki: hey, good morning07:44
mvomborzecki: how are things? tests look pretty unhappy still :/07:48
mborzeckimvo: restarted some jobs07:48
mborzeckimvo: i'd think about landing #6422 to see if it helps with random mount errors on core-1807:48
mvomborzecki: did you notice any patterns?07:48
mupPR #6422: tests/prepare: prevent console-conf from running <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6422>07:48
pedronismvo: hi, last night we had lots of runs >50mins07:49
mvomborzecki: good idea07:49
pedronisbut unclear what changed07:49
mvomborzecki: lets see if it helps07:49
mborzeckimvo: some kill timeouts, (one in snap run --strace test), some network issues (go get from github fails)07:49
mupPR snapd#6422 closed: tests/prepare: prevent console-conf from running <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6422>07:49
mvopedronis: yeah, I noticed that too07:49
mvopedronis: usual time is ~35min these days it seems07:49
pedronismvo: I re-run things a bit, but failed, then I gave up07:49
pedronismvo: I'm landing #6471 and will update #647307:50
mupPR #6471: snap-confine: fix classic snaps for users with /var/lib/* homedirs <⚠ Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6471>07:50
mupPR #6473: snap-confine: remove special handling of /var/lib/jenkins <⚠ Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6473>07:50
pedronismvo: jdstrand asked for tweaks to #646607:51
mupPR #6466: cmd/snap-confine: handle death of helper process <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/6466>07:51
mvopedronis: certainly, looking07:51
mupPR snapd#6471 closed: snap-confine: fix classic snaps for users with /var/lib/* homedirs <⚠ Critical> <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/6471>07:52
pedronismvo: I'm a bit confused by the test change in #647307:55
mupPR #6473: snap-confine: remove special handling of /var/lib/jenkins <⚠ Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6473>07:55
pedronisI think we still want both tests07:56
mupPR snapd#6474 opened: snap-confine: fix classic snaps for users with /var/lib/* homedirs (2.37) <Created by mvo5> <https://github.com/snapcore/snapd/pull/6474>07:57
mvopedronis: you mean we want both "special-home" and "special-home-run-classic-snaps" tests?08:00
pedronisyes08:00
mvopedronis: jenkins can no longer run confined snaps after the change08:01
mvopedronis: and it never could before08:01
mvopedronis: it was only ever able to run classic snaps08:01
pedronismvo: that is true, but I tought they would run partially at least?08:02
pedronisthey break already in snap-confine?08:02
mvopedronis: let me double check08:02
mvopedronis: I think so, let me quickly boot my test vm08:02
=== pstolowski|afk is now known as pstolowski
pedronismvo: the issue is that they will not have a home dir08:02
pstolowskigood morning08:02
pedronisbut it might well be that snap-confine is unhappy08:03
pedronis(it does some things related to home after the pivot)08:03
mvopedronis: I will double check again, give me 2min08:04
pedronismvo: thx08:04
=== phoenix_firebrd is now known as murthy
mvopedronis: https://github.com/snapcore/snapd/pull/6473#issuecomment-460548241 I will dig a bit into the snap-confine code to double check my empirical findings too, I have the vm running if you have any further questions08:13
mupPR #6473: snap-confine: remove special handling of /var/lib/jenkins <⚠ Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6473>08:13
pedronismvo: ok08:15
pedronisthx08:15
pedronismvo: I updated 647308:21
mborzeckipstolowski: spent some time looking at your pr, feels tricky08:22
mvopedronis: thanks, did I made a dirty merge?08:25
pedronismvo: ?08:25
mvopedronis: I noticed you force pushed 6473, was there anything wrong in the original push?08:25
pedronismvo: no,  but I squash merged the previous one08:26
pedronisso I had to08:26
=== murthy is now known as phoenix_firebrd_
mvopedronis: aha, ok08:26
pstolowskimborzecki: yes i can see that. perhaps we should just reduce retry timeout, unless there is some other more obvious fix08:26
pedronismvo: so we get 1 commit each08:26
mvopedronis: +108:26
pedronismborzecki: tricky in which sense08:26
mvopedronis: I think I did the same earlier but its fine :)08:27
mborzeckipedronis: maybe fiddly, had to spent some time figuring out what's happening there08:27
pedronismborzecki: I think the tricky bit is that we need to trust what go says about timers08:28
pedronis(which has already changed over time)08:28
mborzeckipedronis: that's another story08:28
pedronisthat indeed is a bit uncomfortable08:28
mvopedronis: I added a comment to 6473 about the code and how things worked before and why strict snaps for non /home users never worked, hope this makes things clear. ideally zyga  would double check 6473 but I'm pretty confident in the findings08:29
pedronismvo: I gave a +1 to #6470, it needs a 2nd review08:30
mvomborzecki: 6470 needs a second review08:30
mupPR #6470: packaging: disable systemd environment generator on 18.04 <⚠ Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6470>08:30
mvopedronis: thank you!08:30
mvomborzecki: you looked at this before so hopefully easy :)08:31
=== phoenix_firebrd_ is now known as murthy
pedronismvo: your comment in 6473 about strict confinement is not ture, we never copied the host into var/lib08:33
pedroniswe copied core plus host lxd08:33
mvopedronis: we create a writable mimic of the original host, let me search08:33
pedronismvo: no, it's a writable mimic of core plus host lxd08:34
pedronis(it's all confusing)08:34
mvopedronis: yeah, re-reading it now08:37
mupPR snapd#6470 closed: packaging: disable systemd environment generator on 18.04 <⚠ Critical> <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/6470>08:39
pedronismvo: squash merged ^08:39
pedronislet me prep a backport08:39
pedronisdone08:44
mupPR snapd#6475 opened: packaging: disable systemd environment generator on 18.04 (2.37) <Created by pedronis> <https://github.com/snapcore/snapd/pull/6475>08:45
mvopedronis: thanks you08:56
mvopedronis: if 6470 can be cherry picked I can just do that, we only need the backport when there are conflicts08:56
mvopedronis: you are right of course, its just the core /var/lib that goes into the namespace08:56
pedronismvo: ah08:57
mvopedronis: which means my testing with jenkins was not ideal as this is now availalbe in the core snap. i retested using postgres and got also a failure but a different one08:57
pedronismvo: ah, we should remove jenkins from the cores08:57
mvopedronis: +108:57
mvopedronis: if this branch lands, then yes08:57
mvopedronis: https://github.com/snapcore/snapd/pull/6473#issuecomment-460558531 hopefully solves the mystery08:58
mupPR #6473: snap-confine: remove special handling of /var/lib/jenkins <⚠ Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6473>08:58
pedronismvo: btw I'm *not* working on 6466 because I will need to review it08:58
mvopedronis: I can work on that now08:59
pedronismvo: thx08:59
pedronismvo: one of the backports got red08:59
pedronis6474 :/08:59
pedronismvo: +1 to #647309:02
mupPR #6473: snap-confine: remove special handling of /var/lib/jenkins <⚠ Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6473>09:02
mvopedronis: the red is 'protocol' error in mount again :(09:02
pstolowskimvo: hey, quick question about apt wrt to nested vm. i'm having an issue where apt install -y ... as part of the test triggers an interactive debconf prompt and hangs there till kill timeout - https://pastebin.ubuntu.com/p/R35sJvhfWH/ ; i'd have though -y takes care of that, i cannot find anything obvious in apt man09:02
mvopedronis: thanks for the review09:03
mvopstolowski: try DEBIAN_FRONTEND=noninteractive in your environment09:03
pstolowskimvo: ack, thanks!09:04
pedronismvo: we are back with 50+ mins runs09:16
pedronisnot sure what changed09:16
mvopedronis: its strange, the results are uneven it seems, some finish in 35min but others overrun quite a bit09:17
ChipacaI'd put 2¢ on it being images now being old and having to update a lot of stuff09:17
pedronisChipaca: mmh, how do we get the 35 mins run tough?09:18
pedronisshouldn't image updating be a constant09:18
pedronisor are we saying network perf is very uneven?09:18
Chipacapedronis: I am09:18
ChipacaI'm not sure if it accounts for the whole of it, but it's an important chunk when doing qemu runs09:18
Chipaca(and my network at home is pretty good at not being variable)09:19
mvopedronis: yeah, that seems plausible - I think Chipaca  is on something, iirc cachio was doing the updates only semi-automatic09:19
Chipaca"Chipaca is on something"  only coffee i swear09:20
Chipacaand maybe too little sleep09:20
pedronismvo: yes, we need to find a way to have both automatic and safe09:20
pedronisI think the "safe" part was why they aren't automatic09:20
* mvo nods09:20
pedronisChipaca: you are working on the epochs PR, right?09:21
Chipacapedronis: yes09:21
pedronisok09:21
Chipacapedronis: the "have one refresh fail and two others succeed" test is failing all of them09:21
Chipacapedronis: so i'm having "fun"09:21
pedroniswe all having "fun" I fear, different sort of "fun"09:22
mvoindeed, so much fun09:23
mvosignal handling in unix ftw09:23
Chipacamvo: you sound like the lispers from the unix hater's handbook :-)09:25
mvoChipaca: thats how I feel!09:27
Chipacamvo: old and crusty and smelling slightly of pizza?09:28
Chipacathat's what my copy of it was at least09:28
Chipaca:-)09:28
mvoChipaca: hahahaa09:28
mvoChipaca: yeah, except the smell is more of tea but otherwise quite close09:29
* Chipaca hugs mvo 09:29
Chipacamvo: you'll get through it, i'm sure09:29
* mvo hugs Chipaca 09:29
mvoChipaca: yeah, its just … oh well09:29
Chipacayeah09:30
* mvo drinks more to get through it09:30
* mvo really likes his tea today09:30
mwhudsonsignal handling and threads are no fun09:33
mwhudsonand go means mandatory threads09:33
juliankmvo: Is snapd installing the apt integration on all releases? I think the apt side is only available in bionic+ now, but it will probably migrate back to older releases shortly; though, I don't think it will work correctly for snapd purposes on trusty10:17
juliank(IIRC, on the the trusty backport, it can't figure out which packages were not found, but I'll have to do some digging)10:18
mvojuliank: we install the hook everywhere, I can disable it on trusty if that is a problem10:22
juliankI think it will just do nothing, but I'll test it before doing any SRUing10:23
mvojuliank: thank you10:31
zigfordWondering if someone could help me get snaps working on Gentoo. I've had it going before, but now setting it up on a new machine and have some kind of issues with apparmor profiles10:35
zigfordI'm getting the following message: snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks10:36
zigfordi see /snap/core/6350/user/lib/snapd/snap-confine and **snap-confine//mount-namespace-capture-helper listed ad being in enforce mode when running "aa-status"10:38
zigfordsnap version is 2.36.1, series 16, kernel 4.20.610:38
zigfordonly errors I see in journalctl for snapd is: Apparmor is enabled but some features are missing, dbus, netwok10:40
zigfordand some stuff about the executable not containing a buildid10:41
Chipacazigford: I'd suggest using the forum for this10:45
Chipacazigford: for one, because the people that can help you might be busy right this instant10:45
Chipacazigford: for two, because then people can find it written down the next time :-)10:46
pstolowskipedronis: wrt to ensureUniqueName/proposedName bit, are you ok if in the existing PR i only extract this code into a helper as you suggested, and we will iterate on the details in a followup?10:46
zigfordI'm okay with waiting, I can leave IRC open for a few days. But i agree with you on the second point.10:47
pedronispstolowski: yes, assuming we can iterate relatively quickly10:47
zigfordI will update my 'Snaps on Gentoo' blog post when I find the answer for others too. But the forums are probs way more discoverable than my little blog10:47
Chipacazigford: forum.snapcraft.io is the forum i meant fwiw10:48
zigfordgotcha10:48
pstolowskipedronis: yes, should be quick10:52
pstolowskity10:52
Chipacapstolowski: https://forum.snapcraft.io/t/log-snapd-and-btrfs-message/980910:53
Chipacapstolowski: is that something you know about? udevmon.go thing10:53
pstolowskiChipaca: yes. i was wondering if it's going to create a lot of noise. not a bug, just noise for virtual devices that get removed and that we didn't know about10:54
pstolowskimaybe it should be DEBUG, although initially i wanted to be sure we are not missing something important10:55
pedronismvo: not urgent, when will edge contain prepare-image --classic that landed yesterday?10:56
pstolowskiChipaca: i'll reply10:57
pedronismvo: #6474 is green10:58
mupPR #6474: snap-confine: fix classic snaps for users with /var/lib/* homedirs (2.37) <Created by mvo5> <https://github.com/snapcore/snapd/pull/6474>10:58
Wimpresszyga pedronis Please, can you remind me what the status of layouts is in snapd?11:05
mvopedronis: hm, depending on timing either today or tomorrow its trivial for me to kick it11:05
pedronisWimpress: they are not behind a flag anymore, they might not be supported directly (without passthrough) in snapcraft for something without tough, that's a snapcraft question, it's one of our most complex features so I do expect some bugs still11:10
pedronis*without base:11:10
WimpressSo layouts require `base:`?11:10
pedronisWimpress: as I said, may be, you can passthrough them tough11:11
pedronisif you don't have one11:11
pedronisWimpress: a question for snapcraft11:11
zigfordhttps://forum.snapcraft.io/t/troubleshooting-snap-confine-and-apparmor-on-gentoo/981211:13
Chipacazigford: <311:13
Chipacazigford: where does that funky version string come from?11:14
Wimpressdegville: See my question above regarding layouts. Is there documentation for how to use layouts?11:14
pedronismvo: no, not urgent just wondering11:15
Chipacazigford: asked in the forum to keep the conversation in one place :-D11:15
degvilleWimpress: https://docs.snapcraft.io/snap-layouts/720711:16
Wimpressdegville: Excellent! Thank you :-)11:16
mborzeckitroubles with the store?11:17
mborzeckihttps://status.snapcraft.io doesn't seem to work here11:18
popeydegville: fyi, I just ninjaed the 'snap version' out of https://forum.snapcraft.io/t/installing-snap-on-opensuse/837511:20
popeybecause no other distro install guide has it, seemed unnecessary11:20
Wimpressmborzecki: All green from here. Store appears to be working for me.11:20
degvillepopey: yep, ok. makes sense. maybe the colon too :)11:21
zigfordChipaca: What's funky about the version string? What should it look like?11:21
popeyon it11:21
degvillethanks!11:21
popeynp11:21
mvopedronis: I updated 6466 - I added some more comments there, for me the sanity timeout thing is dubious, details in the PR11:33
mvopedronis: but also not relevant for the particular PR11:34
pstolowskipedronis: addressed/responded to your 1st pass feedback on #6465 ; now working on a followup for the slot naming11:35
mupPR #6465: overlord/ifacestate: hotplug-add-slot handler <Hotplug 🔌> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6465>11:35
mvopedronis: added another comment to 6466 and will stop for now on this one11:44
mupPR snapd#6475 closed: packaging: disable systemd environment generator on 18.04 (2.37) <Created by pedronis> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/6475>11:53
mupPR snapd#6474 closed: snap-confine: fix classic snaps for users with /var/lib/* homedirs (2.37) <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6474>12:04
pedronismvo: I reviewed #646612:19
mupPR #6466: cmd/snap-confine: handle death of helper process <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/6466>12:19
mvopedronis: thank you12:37
pedronispstolowski: thx, I queued to re-review hotplug-add-slot , have some other (older) things to review first plus 2.37.x stuff12:39
pedronisthough12:40
Chipacamvo: did you see the thing about wekan?12:44
mupPR snapcraft#2459 closed: catkin plugin: describe how to build all packages <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2459>12:46
Son_Gokumvo, niemeyer, zyga, uhh12:51
Son_Gokuwe have a problem12:51
ogranah ...12:51
ograyou have a "challenge"12:51
Son_GokuMongoDB is being removed from Fedora is a bit of a problem12:51
Son_Gokuthe mgo driver currently depends on it12:52
Son_Gokuwhich is a snapd dependency12:52
* ogra wonders why snapd would depend on a database driver12:53
* Son_Goku shrugs12:53
ograsounds like a failure12:53
Son_GokuI think it uses the mgo driver's bson and json code12:53
ograah12:54
Son_Gokuand it's only in one place: errtracker12:54
Chipacatime to vendor bson12:54
Son_Gokuwell, niemeyer wrote the driver12:55
ChipacaSon_Goku: why's mongo being removed from fedora? the licensing thing?12:55
Son_Gokuyes12:55
Son_GokuDebian is doing the same thing, btw12:55
Son_Gokuand this will affect snapd in the same manner12:55
ograyeah, the license12:55
ChipacaSon_Goku: mgo wrote it but afaik no longer maintains it12:56
ograthis is the year of the mongodb snap !12:56
Son_Gokufuck mongodb12:56
ChipacaSon_Goku: er, i meant gustavo, not mgo. I wish mgo wrote things.12:56
Son_Gokuhaha12:56
Chipacathat "mongodb is webscale" youtube thing never ever got old12:56
niemeyerYeah, that was part of the problem.. I was trying to convince it to write itself but didn't work12:56
Son_GokuXD12:57
Chipacahttps://www.youtube.com/watch?v=b2F-DItXtZs12:57
mborzeckioff to pick up the kids13:04
sil2100mvo: hey! Once you're back from lunch, just a quick question: we'll be spinning .2 bionic core18 point-release images soonish, is snapd 2.37.1 from stable good-enough for the new images?13:06
Chipacasil2100: I don't have an answer, but I absolutely love that question13:10
=== ricab is now known as ricab|lunch
mptHi, I’m looking for a description of the default snap update frequency. is there anything clearer than the “within 6 hours” on <https://docs.snapcraft.io/getting-started/3876>?13:17
mptLOL the snap man page gets narrower and narrower until it’s one word per line13:19
cjwatsonIt does?  I don't see that here13:23
cjwatson(up-to-date bionic)13:24
cjwatsonmpt: https://forum.snapcraft.io/t/system-options/87 maybe?13:25
Chipacasparkiegeek: thank you for reminding me about how much license sucks13:26
Chipacampt: which manpage where?13:26
sparkiegeekChipaca: you're not wrong13:26
Chipacasparkiegeek: i commented on the bug, mostly with a "yeah sucks"13:27
Chipacasparkiegeek: but it's a whole-stack suckage, if that helps ¯\_(ツ)_/¯13:27
mptcjwatson, perfect, thanks13:27
sparkiegeekChipaca: well... it doesn't :D13:27
mptChipaca, “man snap” for snap 2.37.1 on Ubuntu 14.0413:27
mptI’m reporting a bug now13:27
Chipacampt: could you also do13:28
Chipacampt: snap help --man | man -l -13:28
Chipacampt: and report whether that looks any better?13:28
mptChipaca, same result13:28
Chipacampt: https://i.redd.it/yl57urxpoje21.jpg13:29
* sparkiegeek reloads https://twitter.com/mptbugs13:29
mpt🔜13:30
cjwatsonSuper-confused; extracting the man page manually on pepo and piping to man -l - doesn't show that13:31
Chipacaooh ooh13:32
Chipacampt: snap help --man < /dev/null | man -l -13:32
Chipacampt: how does that one work13:32
mptChipaca, same result13:33
Chipacaaww13:33
Chipacampt: I'm all out of "thanks i hate it" images13:33
Chipacacjwatson: 14.04?13:34
cjwatsonYes.  Trying a container now13:34
Chipacacjwatson: 2.37.1?13:35
cjwatsonYes.  Trying a container now :)13:35
Chipacacjwatson: trying a container now?13:35
* Chipaca runs13:35
cjwatsonI sure am13:35
sparkiegeekChipaca: if you want to help move the license handling forward, I believe we still need a response to https://forum.snapcraft.io/t/snap-license-metadata/856/5213:35
Chipacasparkiegeek: dang13:36
Chipacasparkiegeek: let's blame niemeyer13:36
sparkiegeekChipaca: we all do :D13:36
Chipacapedronis: could you pick that up ^ ?13:37
mpthttps://bugs.launchpad.net/snapd/+bug/181476713:38
mupBug #1814767: “man snap” gets narrower and narrower until it’s 1 word/line <snapd:New> <https://launchpad.net/bugs/1814767>13:38
cjwatsonOh yes, now I see it13:39
pedronisChipaca: we had a discussion in december how to go a bit forward, but no work on it is planned for right now13:39
cjwatsonThis is surely a groff bug or something, but how was I previously unaware of something like that13:42
mptSo this is the kind of Postel’s Law thing that turns into two bugs?13:43
cjwatsonOh, it's due to the doubled .TP lines13:43
mptOne on groff and one on the man page13:43
cjwatsonI think the meaning of two .TP lines in a row is probably not especially well-defined13:43
cjwatsonhttps://git.savannah.gnu.org/cgit/groff.git/commit/?id=49abd7a9093ae903bb0032eb74d647fb481d2acb13:44
pedronismvo: #6473 is green, I do think we do want it13:45
mupPR #6473: snap-confine: remove special handling of /var/lib/jenkins <⚠ Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6473>13:45
pedronismvo: the description/commit needs updating tough13:45
cjwatsonleft a diagnosis in 181476713:45
Chipacacjwatson: thank you13:46
* mpt applauds13:46
Chipacawe already do nasty things to get that manpage, I guess removing excess TP won't be that bad13:46
cjwatsonFor good measure I manually stripped out the doubled .TP requests and confirmed that that fixes it13:47
Wimpresszyga pedronis We discussed GPU issues when building snaps against core18. I've been testing the last few days, and so far can't reproduce the issues using snapd 2.37.x13:48
WimpressSo far xonotic and ffmpeg migrated to core18 and tested using nvidia and intel on the host.13:49
WimpressJust letting you know, because that bug I said I would file might not be required now.13:50
pedronisWimpress: ah, I was wondering,  I don't see anything we did that actively would have fixed something13:50
pedronisbut not sure13:50
pedroniswhen zyga is around he might chime in on this13:51
WimpressWe do have some failures, but we're investigating because it may not be snapd related.13:51
WimpressGetting ffmpeg working gives me good confidence since it uses all the accelerated capabilities.13:52
cjwatsonChipaca: Might be easier to just fix it in go-flags?13:52
sergiusensmvo: hey, do you have any experience with aborted tasks from spread? I get aborted, I understand the reason from the docs on why it is good, I just cannot find a reason for it happening13:52
Chipacacjwatson: go-flags author is burstily responsive, and getting the right version everywhere is very slow13:53
cjwatsonOh :(13:53
Chipacacjwatson: I'm also wanting to give go-flags support for generating manpages in sections other than 113:54
Chipacaneed to revisit the pending PRs and see why they haven't been merged13:54
pedronisChipaca: btw, could you do a first pass over https://github.com/snapcore/snapd/pull/6079 when you have a bit of time13:56
mupPR #6079: cmd/snap: `snap connections` command <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6079>13:56
sparkiegeek"Channel latest/beta for multipass is closed; temporarily forwarding to beta." - huh? I guess snapd is not resolving the "lack of track == 'latest'" when interpreting closed channels14:24
Chipacasparkiegeek: that should be fixed in … 2.37? 2.38?14:25
Chipacaone of those14:25
sparkiegeekChipaca: ok, well that was from 2.37.114:33
* sparkiegeek fights Chipaca in #181464014:34
mupBug #1814640: snap info showing "unset" license for snaps <snapd:Confirmed> <Snap Store:Invalid> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1814640>14:34
hunterkmborzecki: are you available for a couple of questions about getting vulkan working in snaps?14:39
=== ricab|lunch is now known as ricab
mupPR snapcraft#2457 closed: lifecyle: avoid installation of snaps in docker <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2457>14:44
mborzeckihunterk: i'm hardly an expert, but feel free to ask14:46
hunterkkk, no worries :) I'm just trying to get the vulkan renderer in my snap, RetroArch, to work: https://forum.snapcraft.io/t/problem-with-vulkan-support-in-snaps/974414:47
hunterkas it is, I always get "failed to open vulkan loader", which is the same error I get outside of the snap if I don't have the right libs installed14:47
hunterkbut I have them listed in the build and stage packages, so I'm not sure if there's anything else I need to do to make them visible/accessible to the snap14:48
jdstrandpedronis: fyi, https://bugs.launchpad.net/snapstore/+bug/1814592/comments/514:53
mupBug #1814592: cannot compile personal-files/system-files snap declaration constraints <Snap Store:New> <https://launchpad.net/bugs/1814592>14:53
pedronisjdstrand: I answered14:53
jdstrandpedronis: I just pressed Enter on my comment to your answer...14:54
jdstrandpedronis: ie, look at comment $514:54
jdstrand#514:54
pedronisjdstrand: we cannot do that change14:54
pedronisjdstrand: you need a regexp using |  for the multiple entry case14:54
pedronisjdstrand: as I said for a list attribute the regexp needs to much all entries14:55
jdstrandpedronis: I know that is the current implementation, but do you acknowledge the awkwardness of the current situation?14:56
jdstrandpedronis: this should've come up in PR review for the interfaces. We've never had an attribute that is a list of strings14:56
jdstrandpedronis: I mean, we can mark it Won't Fix and just use the awkward syntax if you want14:57
pedronisjdstrand: no, we thought about lists14:57
mupPR snapd#6476 opened: cmd/snap: tweak man output to have no doubled up .TP lines <Simple 😃> <Created by chipaca> <https://github.com/snapcore/snapd/pull/6476>14:57
Chipacampt, cjwatson ^14:58
pedronisit's really designed that for a list the regexp needs to matches all entries14:58
mpt\o/14:58
pedronisjdstrand: we don't have exact check on lists but we shouldn't not really design something that needs them14:58
pedronisas you said is then awkard if you remove things14:58
pedronisjdstrand: anyway as also said most of this in the bug itself14:58
cjwatsonChipaca: LGTM, thanks15:00
cjwatsonnot that my Go is exactly fluent15:00
pedronisjdstrand: so yes from my POV is a won't fix, if you think we should really do something (but as I said is not trivial) we can talk at the sprint15:02
jdstrandpedronis: I'm reading the design doc and it seems to indicate that my interpretation would be supported. there is even an example that describes a case that matches my 'awkward if you remove things'15:03
jdstrandpage 4, "Please note that this logic may be applied also at the top-level. For example:"15:03
mvowe need a second review for 6473 and 646615:04
pedronisjdstrand: If the slot or plug attribute value is a list, every element of the list must match the provided regexp.15:04
jdstrandpedronis: regardless, the awkwardness of not matching when the snap drops a path is probably enough for this conversation15:04
pedronisjdstrand: sorry I understand  your readin, that logic = alt interpretation15:05
pedronisthat's at least how I read it15:05
pedronisI don't understand15:05
jdstrandthat doc has always been confusing to me on this point15:06
jdstrand"If the constraint itself is specified as a list, though, it carries a different meaning"15:07
jdstrandit doesn't matter though, the 'Granted' part of my statement is enough to not do what the bug is suggesting so I'll adjust15:08
pedronisjdstrand: to be clear I'm not saying that this is not awkward sometimes, but is not unworkable or not fitting how we intended interfaces to use attributes usually15:11
jdstrandpedronis: that's fine. I look at this like once every 6 months and didn't write the spec or the snapd code so it isn't completely internalized so when something new comes up, I have to reread. parts of that document I find unclear at times15:14
jdstrandthe review-tools will need an update unfortunately15:14
mvoChipaca: can I interest you in 6466 and 6473 :)15:16
Chipacamvo: probably15:19
jdstrandmvo (cc Chipaca) I reviewed PR 6466 (approved)15:22
mupPR #6466: cmd/snap-confine: handle death of helper process <⚠ Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/6466>15:22
Chipacajdstrand: mvo: so did I :-p15:26
mupPR snapd#6466 closed: cmd/snap-confine: handle death of helper process <⚠ Critical> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6466>15:31
mupPR snapd#6473 closed: snap-confine: remove special handling of /var/lib/jenkins <⚠ Critical> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6473>15:32
mvoChipaca: \o/15:33
* mvo hugs Chipaca and jdstrand 15:33
* Chipaca takes those hugs to the bank15:33
* jdstrand hugs mvo and Chipaca (group hug!)15:35
* zyga joins the group hug15:42
zygaback from the hospital,15:43
* jdstrand hugs zyga 15:43
jdstrandzyga: I hope everything is ok!15:43
zygajdstrand: yeah just unfortunate to get cold when the newborn is coming home15:43
zygajdstrand: unless something changes they will be back tomorrow15:44
* jdstrand nods15:44
jdstrandzyga: I don't think I said congrats. congrats!15:44
mupPR snapcraft#2461 opened: tests: disable legacy runs driven by the python test runner <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2461>15:44
zygathank you, mom did all the hard work :)15:44
jdstrandheh :)15:44
* mvo hugs zyga 15:47
cwaynecongratulations zyga!!15:49
zygathank you :)15:49
pstolowskihey zyga! congratulations!15:53
zygathank you all :)15:53
pstolowskipedronis: what do you think about https://paste.ubuntu.com/p/HCj5cdpZtd/ ? the last string in each row is the name returned by hotplugSlotName helper for the inputs on the left?16:25
pedronispstolowski: seems in the right direction16:26
mupPR snapd#6477 opened: cmd/snap, overlord/snapstate: silently ignore classic flag when a snap is strictly confined <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6477>16:27
mborzeckimvo: ^^16:27
mvomborzecki: \o/ thank you16:30
mvomborzecki: and approved with tiny nitpicks, if pedronis or someone else would have a look at 6477 that would be awesome16:36
pedronismvo: I reviewed it,  I'm also interested if others have opinion where the warning should go (after or before),  Chipaca maybe?16:38
pedronisChipaca: talking about #6477 for clarity16:44
mupPR #6477: cmd/snap, overlord/snapstate: silently ignore classic flag when a snap is strictly confined <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6477>16:44
mupPR snapd#6478 opened: overlord/ifacestate: tweak logic for generating unique slot names <Hotplug 🔌> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6478>16:53
=== pstolowski is now known as pstolowski|afk
Chipacapedronis: pushed rerefreresh17:28
pedronisChipaca: thanks, any opinion on the warning placement in 647717:31
Chipacapedronis: before, as you said17:33
pedronisok, we agree17:33
Chipacawe do the same with the path warning17:34
pedronisChipaca: yes, this is targeted at 2.37.217:34
pedronisbtw17:34
Chipaca:+1:17:34
pedronismborzecki: thanks for addressing the feedback quickly17:41
pedronismvo: now we need 6477 to get green17:41
mvopedronis: indeed, I will baby sit it (while listening to jamiroquai18:28
cwayneI don't know what that was ^ but I love it18:51
mborzeckimvo: pushed a little fix there18:57
mvomborzecki: ta18:59
mvocwayne: people were making fun of me because apparently I look in a HO like these guys in the video - anyway… :)19:01
cwaynehahaha oh that makes it so much better19:03
mborzeckimvo: tough luck, the osx job fails for some reason https://travis-ci.org/snapcore/snapd/jobs/48918931519:43
mupPR snapcraft#2461 closed: ci: use non virt-enabled gce instances for 16.04 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2461>19:48
Chipacamborzecki: looks like yaml doing 1.10 -> 1.120:47
Chipacamborzecki:  OSX build and minimal runtime sanity check20:47
Chipaca Go: 1.120:47
mborzeckiChipaca: yeah, but it didn't happen earlier today20:47
Chipacamborzecki: it's not happened until right now :-)20:48
mborzeckiChipaca: imo travis guys have deployed a new 'feature'20:48
Chipacamborzecki: I'd laugh if I didn't need to quote version strings in snapcraft.yaml20:52
mborzeckiChipaca: hm that may be a good idea20:53
mborzeckiheh, let's see how that goes20:55

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