/srv/irclogs.ubuntu.com/2019/11/25/#snappy.txt

mborzeckimorning06:08
pedronismborzecki: hi, is this known https://bugs.launchpad.net/snapd/+bug/1853512 ?07:02
mupBug #1853512: snapd can't be installed on Centos 8 <snapd:New> <https://launchpad.net/bugs/1853512>07:02
mborzeckipedronis: that would be unexpected, thought snapd would be rebuilt automatically07:21
mborzeckiEighth_Doctor: wouldn't snapd get and automatic rebuild when selinux-policy-base gets a bump?07:22
mborzeckipedronis: i need to prep an update to 2.42.2 so we'll get a rebuild anyway07:27
pedronisok07:27
pedronismborzecki: I assigned it to you07:28
mborzeckipedronis: ok07:28
mupBug #1484641 changed: snappy config command does not restart service after setting the configuration <Snappy:Won't Fix> <https://launchpad.net/bugs/1484641>07:33
Eighth_Doctormborzecki: no07:34
mborzeckiEighth_Doctor: it's because the snapd-policy is outside of EPEL right?07:35
Eighth_Doctorno07:35
Eighth_Doctorit's because the Fedora build system can't do that07:35
Eighth_Doctorit can't auto-submit a rebuild07:35
mborzeckiEighth_Doctor: meh :P where do i submit the PRs?07:36
pedronismborzecki: mvo:  https://api.travis-ci.org/v3/job/615952834/log.txt  gadget-update-pc seems to have a real issue07:41
mborzeckipedronis: should be a quick fix07:41
zygagood morning07:48
=== pstolowski|afk is now known as pstolowski
pstolowskimorning08:00
zygahey Paweł08:02
pedronispstolowski: hi, what's blocking the preseed PRs, lack of reviews ?08:04
pstolowskipedronis: yes08:05
pstolowskipedronis: #7706 and #7658 are closest to be landdable i think08:11
mupPR #7706: overlord/snapstate: install task edges <Preseeding 🍞> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7706>08:11
mupPR #7658: cmd/snap-preseed: add snap-preseed executable <Preseeding 🍞> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7658>08:11
pedronispstolowski: I will switch to do more reviewing this week08:11
pedronismborzecki: are you working on fixing that gadget-update-pc issue?08:11
pedronispstolowski: a 2nd review for #7774 would be great08:12
mupPR #7774: seed: proper support for optional snaps for Core 20 models <Created by pedronis> <https://github.com/snapcore/snapd/pull/7774>08:12
pstolowskipedronis: sure, looking at it08:14
pedronisthx08:15
mborzeckipedronis: yes08:15
pedronisthank you08:16
mupPR snapd#7774 closed: seed: proper support for optional snaps for Core 20 models <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7774>08:31
pstolowskidot-tobias: hello! was that you who reported and intended to work on a fix for https://bugs.launchpad.net/snapd/+bug/1851480 ?08:32
mupBug #1851480: Hooks are not included in slot/plug label expressions <snapd:Confirmed for glancr> <https://launchpad.net/bugs/1851480>08:32
mborzeckiheh, so core18 gadget-update test fixed, but fails on core16 now, because core18 uses pc=18, but core16 just pc, perhaps the update of gadget.yaml should be done in yaml-aware way, rather than by swapping the text file08:37
pedronismborzecki: pc for 18 has a track, pc latest is really 1608:38
pedronisso that part of the tests is right08:39
mborzeckipedronis: right, 18/edge contains some extra entries that aren't in latest08:40
pedronismight need to talk with mvo/foundations about them08:40
zygabrb, 2nd coffee needed08:41
mborzeckipedronis: the test should account for that, so as far as i'm concerned the test needs fixing08:41
pedronismborzecki: sounds it need different reference info for 18 vs 16 ?08:41
mborzeckipedronis: pyyaml is in core*,08:44
mborzeckipedronis: so i might just generate gadget.yaml's on the fly08:44
pedronispstolowski: reviewed 7706, let me know if the comment abou edge names make sense08:47
pstolowskipedronis: yes, i get your point, makes sense, thx09:03
pedronispstolowski: I did another pass on 7658, minor things09:10
pstolowskithank you!09:10
mupPR snapd#7782 opened: osutil: handle "rw" mount flag in ParseMountEntry <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7782>09:20
=== alan_g is now known as alan_g_
mupPR snapd#7727 closed: tests: improve TestDoPrereqRetryWhenBaseInFlight to fix occasional flakiness <Test Robustness> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/7727>09:34
Chipacabrb, coffee break09:37
mupPR snapd#7783 opened: osutil/mount: add {Unm,M}outFlagsToOpts helpers <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/7783>09:47
mupPR snapd#7770 closed: testutil, many: make MockCommand() create prefix of absolute paths <Simple 😃> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7770>09:48
mupPR snapd#7784 opened: cmd/snap-update-ns: adjust debugging output for usability <Created by zyga> <https://github.com/snapcore/snapd/pull/7784>09:54
zygamborzecki: are you onto that master-broken thing?09:57
mborzeckizyga: yes, opening it in a bit09:57
zygagreat, thank you09:58
mupPR snapd#7785 opened: tests/main/gadget-update-pc: use a program to modify gadget yaml <Test Robustness> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7785>10:07
mborzeckizyga: pedronis: ^^ should unbreak master10:07
* zyga looks too10:08
mborzeckiwish there was a way for pyyaml to preserve the structure of the document10:08
zygamborzecki: reformat with black please10:10
zygait's a good default10:10
zygaand seems to be adopted across canonical now10:10
pedronismborzecki: thanks, reviewed10:12
mborzeckizyga: pedronis: thanks, i'll push those in a followup if you don't midng10:17
zyganot at all10:28
mupPR snapcraft#2815 closed: minor developer env/doc updates <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2815>10:50
pedronismborzecki: it's fine, as I as much in the review10:56
pedroniss/as I as/I said as/10:56
* Chipaca sets up a synchrotron in a cave to make antichampagne10:56
mvoChipaca: lol11:06
mupPR snapcraft#2803 closed: snap: add license to snapcraft.yaml <Created by sparkiegeek> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2803>11:08
=== mborzeck1 is now known as mborzecki
=== alan_g_ is now known as alan_g
pedronismvo: zyga: https://github.com/snapcore/snapd/pull/7773 will the feature flag be only for 2.42 ? did you discuss that again?11:53
mupPR #7773: cmd/snap-update-ns: fix overlapping, nested writable mimic handling <Needs Samuele review> <⚠ Critical> <⛔ Blocked> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7773>11:53
=== ComradeCrocodill is now known as Crocodillian
mvopedronis: if everyone feels its safe to include it in 2.42 as is I'm fine with that - otherwise I think we want this behind a feature flag11:54
mvopedronis: wdyt?11:54
pedronismvo: my main input is that the feature flag doesn't make sense on master, it's fix that we want to test11:55
pedronismvo: I would like to understand what we think makes it not safe11:56
pedronisit's a fairly global change, so if it's not safe, it's probably not safe very generally11:57
zygapedronis: I think mvo's concern was that it will have extremely limited testing12:00
zygapedronis: and for the point release it would be safer to put it behind a feature flag12:01
zygapedronis: so that it can be exposed to the customer that needs to use it12:01
zygapedronis: the next regular release can enable the feature flag if unset12:01
zygapedronis: so that it goes through regular testing12:01
pedronissomething doesn't add up for me12:01
mvopedronis: yeah, it's fine for master but I'm a bit concerned that it's too invasive for a point release12:01
=== mdeslaur_ is now known as mdeslaur
zygapedronis: can you be more specific?12:03
pedroniszyga: the change has two parts, one is turning keeping into unmount/mount, either we are ok with that or we aren't ?12:04
pedronisthe other ignoring some errors, that is more worrying, but it's a bit unclear if a feature flag will help with that or not. what sanity/safety are we losing here?12:05
zygapedronis: I think we are fine with both of those (the error is ignored for a specific reason) but the fact that it will get limited testing before hitting stable (AFAIK 2 days) is why mvo wanted to avoid the chance that we missed something and it is indeed unsafe.12:06
zygapedronis: as for testing, I will work to make sure that both unit and spread tests cover both variants for now12:06
* mvo is in a meeting, sry!12:07
zygapedronis: and for the next release we can change the default-if-unset to true so that everyone gets the new, improved behavior12:07
zygapedronis: and given that it will be tested over a cycle, we can release that with more confidence12:07
pedroniszyga: will need also to disuss another rewrite of update-ns, I'm not a fan of the ignoring the error bit going forward12:08
zygaat least that's how I understood mvo's concerns12:08
zygapedronis: that's fine, we understand how to make that possible, it's just larger in scope12:08
zygapedronis: note that ignoring the error is only safe when both patches are used12:09
pedronismborzecki: what's the status of #7732 ?12:10
mupPR #7732: [PoC] many: extracted snaps mode <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7732>12:10
mborzeckipedronis: we can close it, it was a temporary hack for ijohnson to try12:11
mupPR snapd#7732 closed: [PoC] many: extracted snaps mode <Created by bboozzoo> <Closed by pedronis> <https://github.com/snapcore/snapd/pull/7732>12:12
pedroniszyga: I'm worried of the added messiness in terms of tests and code of the flag, that's why I'm not a fan of having it on master12:12
zygapedronis: I see12:13
mborzeckiheh, #7785 is red, i can push a followup patches there anyway now12:13
mupPR #7785: tests/main/gadget-update-pc: use a program to modify gadget yaml <Test Robustness> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7785>12:13
zygaI wonder if we could avoid that entirely with a snapd-from-branch12:13
zygaso that the customer could use snapd from a branch and upgrade to stable on the regular cycle12:13
zygais that possible today?12:13
pedronisin principle yes12:14
pedronispstolowski: given that #7320 and 7744 are related, you should probably pick up the former from John12:17
mupPR #7320: snap/pack, cmd_pack: 'snap pack --check-skeleton' checks interfaces <Needs Samuele review> <Created by chipaca> <https://github.com/snapcore/snapd/pull/7320>12:17
Chipacapedronis: you meant 7744?12:18
pedronisheh, not I meant 774012:18
Chipacaphew :)12:18
pstolowskipedronis, Chipaca: sure, i can take it12:23
=== ricab is now known as ricab|lunch
mupPR snapd#7777 closed: snap-confine: suppress noisy classic snap file_inherit denials <Created by jdstrand> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7777>12:47
mupPR snapd#7785 closed: tests/main/gadget-update-pc: use a program to modify gadget yaml <Test Robustness> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7785>13:01
mborzeckimaster should be unblocked now13:02
pedronismborzecki: great, thanks13:06
mupPR snapd#7786 opened: many: make ValidateBasesAndProviders signature simpler/canonical <Created by pedronis> <https://github.com/snapcore/snapd/pull/7786>13:12
pedronisthat's a small tweak ^13:13
pedronis#7775 is also ready for review (been rebased)13:14
mupPR #7775: seed: support extra snaps on top of Core 20 dangerous models <Created by pedronis> <https://github.com/snapcore/snapd/pull/7775>13:14
cachiomborzecki, hey13:29
mborzeckicachio: hey, what's up ?13:29
cachioI see the test gadget-update-pc is failing13:29
cachiothe pc-gadget.yaml on the test seeems to need an update13:29
cachiomborzecki, https://travis-ci.org/snapcore/snapd/jobs/616564112#L339213:30
cachiomborzecki, can you confirm that?13:31
mborzeckicachio: the fix landed half an hour ago :)13:31
cachiomborzecki, ahhh, nice13:32
zygabrb13:41
zygathank you for fixing master mborzecki13:41
mupPR snapd#7721 closed: gadget: add support for hybrid partitioning schemas <Simple 😃> <⛔ Blocked> <Created by bboozzoo> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/7721>14:05
mupPR snapcraft#2821 opened: meta: remove __dict__ usage in Snap  <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2821>14:08
=== ricab|lunch is now known as ricab
ijohnsonzyga: thanks for the response on that post, just read it and it all makes sense, I just wasn't sure if there was some deeper reason to that limitation or not14:45
zygaijohnson: the deeper reason is: we didn't anticipate it I guess14:46
zygaijohnson: as for the 200 ms optimization14:46
zygaijohnson: I think it's worth it for reliability and simplicity14:46
ijohnsonyah I don't think it's worth it right now14:46
zygaijohnson: also, we could change the way themes are used using tmpfs layout instead of mimic14:46
ijohnsonjust something I wanted to bring up mostly so we don't forget about it later :-)14:47
zygaone layout, many content connections == more explicit and obvious as to what is going on14:47
ijohnsonhmm interesting point about the many themes14:47
ijohnsonI don't have the numbers with me, but IIRC when I tested the various permutations of layouts and themes, the big time we spend right now for these snaps is in the layouts, not in the themes14:47
zygayeah but it's all one thing14:48
zyganot two things14:48
zygaif we can change $anything to avoid the need to use mimics it will both be simpler to understand and faster14:48
ijohnsonthe themes results in a lot of mounts, but not a lot of computation (i.e. total speedup from removing themes wasn't measurable, but removing the mimics was)14:48
ijohnsonyes agreed14:48
ijohnsonmimics == complicated and slow14:48
ijohnson(relatively speaking)14:49
zygayes14:50
* cachio lunch15:22
jdstrandroadmr: hi! can you pull 20191125-1519UTC? note, I'm off Wed-Fri15:37
roadmrjdstrand: sure! so am I, heh, so no guarantees it'll be rolled out before Monday, but I'll try to leave everything merged and QAd so someone else can action that15:37
jdstrandroadmr: monday rollout seems reasonable since we are off15:38
Chipacasaw a tweet just now and thought "ooh, they're using snaps at nasa?"  … https://www.theregister.co.uk/2019/11/25/space_roundup/15:48
Chipaca(short answer: mu)15:48
pstolowskiijohnson: hey, would you find a moment for \https://github.com/snapcore/snapd/pull/7740 ?15:54
mupPR #7740: overlord/ifacestate: report bad plug/slots with warnings on snap install <Needs Samuele review> <Created by stolowski> <https://github.com/snapcore/snapd/pull/7740>15:54
mupPR snapcraft#2818 closed: project: pivot `info` from ProjectInfo to Snap <Created by cjp256> <Closed by cjp256> <https://github.com/snapcore/snapcraft/pull/2818>16:03
mupPR snapd#7744 closed: snap-bootstrap: set expected filesystem labels <uc20> <Created by cmatsuoka> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7744>16:12
* Chipaca shakes fist at universe and goes for a cuppa tea16:17
pedronisa 2nd review for #7786 would be great (it's small)16:19
mupPR #7786: many: make ValidateBasesAndProviders signature simpler/canonical <Created by pedronis> <https://github.com/snapcore/snapd/pull/7786>16:19
pstolowskipedronis: https://github.com/snapcore/snapd/pull/7780 can land16:21
mupPR #7780: tests: cleanup most test snaps icons, they were anyway in the wrong place <Created by pedronis> <https://github.com/snapcore/snapd/pull/7780>16:21
mupPR snapd#7786 closed: many: make ValidateBasesAndProviders signature simpler/canonical <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7786>16:22
pedronisthx16:22
Chipacapedronis: +116:22
Chipacaheh, that16:22
pedroniscachio: can you give a quick look at #7780 fyi16:23
mupPR #7780: tests: cleanup most test snaps icons, they were anyway in the wrong place <Created by pedronis> <https://github.com/snapcore/snapd/pull/7780>16:23
mupPR snapd#7781 closed: seed: fix confusing pre snapd dates in tests <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7781>16:24
mupPR snapd#7780 closed: tests: cleanup most test snaps icons, they were anyway in the wrong place <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7780>16:25
mupPR snapd#7753 closed: po: sync translations from launchpad <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7753>16:26
mvoyay, below 70!16:28
mupPR snapd#7740 closed: overlord/ifacestate: report bad plug/slots with warnings on snap install <Needs Samuele review> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/7740>16:28
mupPR snapd#7787 opened: many: share single implementation to list needed default-providers <Created by pedronis> <https://github.com/snapcore/snapd/pull/7787>16:33
ijohnsonpstolowski: sure it's on my queue, should get to it in my PM16:41
ijohnsonpstolowski: hmm seems I was too slow and mvo already approved/merged it :-)16:42
pstolowskiijohnson: hah, indeed, mvo was faster :)16:42
pstolowskianyway, thanks, both of you :)16:42
mvomy pleasure16:57
=== pstolowski is now known as pstolowski|afk
mupPR snapd#7788 opened: overlord/snapstate: pick up system defaults when seeding the snapd snap <⚠ Critical> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7788>17:16
mborzeckipedronis: ^^17:17
mborzeckiwrapping it up, need to go and pick up the kids from some extra classes and help out with the homwork a bit17:17
sdhd-saschais it correct, the the build base here is core20 ? https://github.com/snapcore/core20/blob/master/snapcraft.yaml17:26
sdhd-saschaJust found, how to build an image: https://discourse.ubuntu.com/t/building-multipass-images-with-packer/1236118:02
sdhd-saschaHope i will find the source, for the core20 multipass image... 😶18:03
ijohnsonhey diddledan, you around? got a question for you about https://github.com/diddlesnaps/supertuxkart/blob/master/libopenh264-helper/libopenh264/library-exports19:30
ijohnsonugh github is being slow/is down20:21
Chipacasdhd-sascha: what are you trying to do with core20?20:36
sdhd-saschajust want to see if the eoan 19.10 packages from sway, would run inside of a snap. I know i could create a squash, or use the same patches, etc... I figured out, that the core18 is the same as ubuntu-core-18-amd64.img... Know i need to know how to add the image into multipass. Then i found that inside _multipass.py:46 is core18 and core...21:00
sdhd-saschai mean, add sway as stage-package and do a black box comparison. Chipaca:21:05
sdhd-saschaChipaca: ;-)21:05
sdhd-saschaThe problem is that sway, with sys_cap_admin and suid inside the snap, do so many fork's and execv.. calls, that somewhere the environment goes away (LD_LIBRARY_PATH). And "strace -f" hangs if sway is started with this privileges. But the current version of eoan (debian) has some patches, where no suid and no "setcap" is needed. So i would just try if the eoan packages would work. I don't want to do a dist-upgrade21:11
sdhd-saschainside of core18. Maybe a apt-build...21:11
sdhd-saschahave also considered sway linking static, then the LD_LIBRARY_PATH does not matter.21:13
sdhd-saschayesterday i build wlroots as meson-subprojects, which has the affect, that systemd was recognized. (didn't tested to start sway over systemd yet... this should work without cap's)21:18
sdhd-saschaAnd i experiment with dbgsym's inside of's snap's because at some stage the my kms/drm drivers crashed on start from tty.21:18
sdhd-saschaChipaca: and so on ... :-D21:18
Chipacaah, the weird compositor that needs crazy capabilities21:20
Chipacao...k :)21:20
* Chipaca isn't running that any time soon21:20
sdhd-saschaWell, back to my question. Did i need patch snapcraft or multipass? Or can i just add the daily cloud-images from ubuntu.com somewhere and install snapcraft-edge ...21:23
sdhd-saschaBut, is ok. I could also figure it out, sometime21:23
sdhd-saschaChipaca: I have to go the other way yet. Unless I want to build the ubuntu-core images myself. 'Cause the CI/CD doesn't produce the needed images for multipass... https://github.com/CanonicalLtd/multipass/pull/119222:28
mupPR CanonicalLtd/multipass#1192: add core20 image urls <Created by sd-hd> <https://github.com/CanonicalLtd/multipass/pull/1192>22:28
* cachio afk22:35

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