/srv/irclogs.ubuntu.com/2020/03/13/#snappy.txt

mupPR snapd#8260 opened: tests: enable nested on core20 and test current branch <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/8260>04:52
pstolowskimorning08:03
mupPR snapd#8257 closed: tests: backport master test fixes <Created by mvo5> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/8257>08:46
mupPR snapd#8241 closed: interfaces: work around apparmor_parser slowness affecting uio <Bug> <Reviewed> <Squash-merge> <Created by zyga> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/8241>08:50
mupPR snapd#8261 opened: interfaces: work around apparmor_parser slowness affecting uio (2.44) <Created by pedronis> <https://github.com/snapcore/snapd/pull/8261>08:55
pedronispstolowski: hi, I asked a question in #823508:58
mupPR #8235: cmd/snap-preseed: handle --reset flag <Preseeding 🍞> <Squash-merge> <Created by stolowski> <https://github.com/snapcore/snapd/pull/8235>08:58
pstolowskipedronis: yes, i saw it, thanks, will get to it soon08:59
mupPR snapd#8255 closed: cmd/snap: make the portal-info command search for the network-status interface <Reviewed> <Created by jhenstridge> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/8255>09:13
pedronispstolowski: can you look at #8248 if you have a moment, is not super urgent, OTOH is small09:20
mupPR #8248: snap: introduce Container.RandomAccessFile <Created by pedronis> <https://github.com/snapcore/snapd/pull/8248>09:20
pstolowskiok09:20
pedronisalso it relates (indirectly) to UC20 needs09:21
mupPR snapd#8003 closed: o/ifacestate, api: implementation of snap disconnect --forget <Needs Samuele review> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/8003>09:24
pedronispstolowski: thanks for landing that ^09:26
pstolowskii'm equally happy about landing it finnaly09:27
=== epod is now known as luk3yx
pedronispstolowski: thansk for checking, we might do something also about fonts, but maybe we don't see changes because there are not fonts in the image?10:29
pstolowskipedronis: checking10:29
pedronispstolowski: ah, no, on ubuntu the cache for those is in var  (it's in usr for some other distros)10:36
pstolowskiyes, that's right10:36
pedronispstolowski: it's /var/cache/fontconfig  but I'm not even sure we need to undo if we do something there, or whether we can10:36
pedronisit's a cache and it's not just touched by snapd10:37
pstolowskipedronis: that's right. i don't think re-running fc-cache makes any sense10:39
pedronispstolowski: yea, agreed10:39
pstolowski/ so yeah, spread test picked change to /usr.../completions10:39
pedronisyes, that we need to fix10:40
pedronisthanks for checking as I said10:40
pstolowskiyep, on it10:40
* zyga waves10:45
zygaeveryone at home but me has a stomach bug10:45
zygaI suspect I got "lucky" because first symptoms started before I returned from Fra10:45
zygaso I may be off early next week as well, depending on how the situation develops10:46
pstolowskizyga: ironic..\10:46
zygaright?10:46
alvesadrianHi, squashfs is read only. We are trying to make gluu snap package. As our previous experience showed that we may change any file in the snap for security or bug fixes.11:03
alvesadrianCurrently we trying to figure out any file/directory that gluu services want to write.11:03
alvesadrianBut this won't be enough for us. We may need to edit/replace any file inside the snap11:03
alvesadrianWe are using containers and everything is writable, when we switch to snap it will be read only11:04
zygaalvesadrian: that's pretty hard to do11:04
zygaalvesadrian: can you just ship a new snap revision?11:04
zygaalvesadrian: everyone will update anyway11:04
alvesadriansnap reivsion?11:04
alvesadrianwharts that?11:04
zygaalvesadrian: if you make a snap you get a blob which is the squashfs filesystem11:04
zygaalvesadrian: instead of making changes to the files at runtime (application files, not data) you can just make another blob11:05
zygaalvesadrian: and put that to the store11:05
zygaalvesadrian: delta downloads should be fast and efficient11:05
zygaalvesadrian: so instead of shipping a snap with a self-update mechanism11:05
zygaalvesadrian: just upload subsequent revisions of the snap11:05
alvesadrianwe still playing we dont have a full app ready11:06
alvesadrianwe found this squashfs issue11:06
alvesadrianand we are not sure how to sort it11:06
alvesadrianfor writeable files11:06
zygaalvesadrian: my advice: disable the self-update11:06
alvesadrianwe dont even finish to build the app11:06
zygaalvesadrian: and let snapd handle that aspect11:06
zygaalvesadrian: how are you building the app?11:10
alvesadrianzyga snapcrft command11:10
zygaalvesadrian: when you said "we dont even finish to build the app" does that mean you still are in progress of working on the packaging?11:11
alvesadrianwe are playing with parts of our big app11:12
alvesadrianis a java app11:12
zygaI see11:12
alvesadrianwe are using parts to packafe it and see how it works11:12
alvesadrianjust a war file11:12
alvesadrianwith jetty11:12
alvesadrian@zyga one momment a coworker is comming online11:14
alvesadrianwith more details11:14
alvesadrianzyga : ^^^^^11:14
zygaalvesadrian: I'm off today, just helping while I'm in the office11:14
alvesadrianone moment11:14
zygaalvesadrian: I'm afraid I won't be around much longer11:14
alvesadrianplease11:14
zygasure,11:14
zygajust saying I can respond more slowly11:15
alvesadrianslvn_ mustafa is that u?11:16
alvesadriandamn11:17
alvesadrianzyga this is mbaser my co worker11:26
alvesadrianzyga he has some concerns11:26
alvesadrianzyga can u help us?11:26
alvesadrianzyga can he ask u a few things?11:27
alvesadrianzyga are you still around?11:27
alvesadrianmbaser drop ur concern to zyga11:27
zygajust ask the questions please11:29
alvesadrianmbaser are u reding us?11:30
alvesadrianreading us?11:30
zygaperhaps forum.snapcraft.io might be easier?11:30
alvesadrianzyga no worries we can back later11:32
alvesadrianzyga he is having some connection issues11:32
zygasure11:32
alvesadrianthanks11:32
zygaI'm online 24/7 but not always reading11:32
zygaso try asking your questions and just check for answers later11:33
zygathe forum is easier to use11:33
zygaand better for asynchronous conversations11:33
pedronispstolowski: I made a comment in #821712:42
mupPR #8217: o/devicestate: delay the creation of mark-seeded task until asserts are loaded <Bug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/8217>12:42
pstolowskipedronis: ty. updated #823512:42
mupPR #8235: cmd/snap-preseed: handle --reset flag <Preseeding 🍞> <Squash-merge> <Created by stolowski> <https://github.com/snapcore/snapd/pull/8235>12:42
pedronispstolowski: thx, made a comment about the helper you are using there, it's actually a bit odd12:55
pstolowskipedronis: by that you mean to fix the helper to literally match on "snapd/complete.sh" right?12:59
pedronispstolowski: to match that the end of target is like that, yes12:59
pstolowskiok, makes sense13:00
pedronisI mean /snapd/complete.sh13:00
pedronisreally13:00
pstolowskiright13:00
pedronisI don't know why the helper is like that13:00
pedronisis used in a couple of places13:00
pedronisbut haven't closely at them13:00
pstolowskiindeed, it's a bit naive13:00
pedronisbut I looked at the helper in dirs that makes the targets13:00
pedronisand afaict they will always have snapd in them13:01
mupPR snapd#8248 closed: snap: introduce Container.RandomAccessFile <UC20> <Created by pedronis> <Merged by cmatsuoka> <https://github.com/snapcore/snapd/pull/8248>13:02
pedroniscmatsuoka: thank for merging that13:07
cmatsuokapedronis: thanks for the patch, that should help moving secboot ahead13:08
pedroniswe'll need it for our own cross checking bits as well I think13:08
mupPR snapcraft#2972 opened: [rfc] catkin plugins: remove bash workaround for old catkin bug <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2972>13:13
mupPR snapcraft#2970 closed: providers: match build provider flag keys to envvar <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2970>13:31
pedroniscmatsuoka: I made a maybe annoying comment in #8159, I'm just a bit unsure why we need more passes on things15:11
mupPR #8159: snap-bootstrap: remove created partitions on reinstall <UC20> <Created by cmatsuoka> <https://github.com/snapcore/snapd/pull/8159>15:11
cmatsuokapedronis: thanks, I'll check that right after lunch15:13
pedroniscmatsuoka: let me know if you have questions15:13
pstolowskipedronis: search v2 is in production15:45
mupPR snapcraft#2973 opened: specifications: add core20 plugin specification <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2973>16:01
mupPR snapd#8262 opened: interfaces/udisks2: also allow Introspection on /org/freedesktop/UDisks/** <Simple 😃> <Created by jdstrand> <https://github.com/snapcore/snapd/pull/8262>16:06
mupPR snapd#8263 opened: interfaces/udisks2: also allow Introspection on /org/freedesktop/UDisks2/** - 2.44 <Created by jdstrand> <https://github.com/snapcore/snapd/pull/8263>16:43
threshwhen I do snapcraft snap, would environment variables I set in my shell propagate to override-build: section in the snapcraft.yaml ?17:31
ackkthresh, well if you use override-build you can just export variables as part of that. otherwise you can use build-environment (see https://snapcraft.io/docs/parts-environment-variables)17:36
threshackk, I probably need to add some more context.  I export some variables in the CI that I would like to check when I'm doing snapcraft snap (inside the yaml, so inside the override-build).17:37
threshI guess my question is "does snapcraft snap sanitize env(1) when doing the builds?"17:38
ackkthresh, AFAIK it does17:39
threshthere's only one way to check. (which I'm doing right now) :-)17:39
threshok, I think it actually works and the variable is there17:53
threshas in I can see it in "env" output when doing the build17:53
sergiusensthresh: if you are in --destructive-mode or not using bases, the env should make it through18:21
mupPR snapcraft#2973 closed: specifications: add core20 plugin specification <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2973>19:08
mupPR snapcraft#2960 closed: specification: base plugin and plugins for core20 <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/2960>19:26
threshsergiusens, I'm not using destructive mode, and my snapcraft.yaml has base: core18; env makes it through19:38
threshso, eh.  I'm on snapcraft 2.43.1+18.04 (from .deb)19:39
sergiusensthresh: oh, so no real support for bases then, environment should just passthrough20:12
threshsergiusens, will it change when I upgrade?20:13
threshI'm building inside (a somewhat outdated) 18.04 non-privileged docker container.20:13
mupPR snapcraft#2974 opened: project_loader: use -isystem instead of -I for system include paths <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2974>21:14
sergiusensthresh: if you are not using a base (in snapcraft.yaml), then I would recommend 16.04 as the container21:47
sergiusensthresh: this might help with what bases are https://snapcraft.io/docs/base-snaps (but you need snapcraft 3.x)21:48
sergiusensthresh: and docs on snapcraft 3.x with docker https://snapcraft.io/docs/build-on-docker21:49

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