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

=== jamesh_ is now known as jamesh
mborzeckimorning05:16
zygagood morning05:53
zygao/ mvo06:12
zygahow are you feeling?06:12
mvozyga: good morning! much better, thank you06:13
mborzeckizyga: mvo: hey06:16
zygahmm06:19
zygaon cosmic snaps seem to be broken?06:19
zygazyga@fyke:~$ canonical-livepatch06:19
zyga2018/09/25 08:19:08 error executing : open /var/snap/canonical-livepatch/42/livepatchd.err: permission denied06:19
mvomborzecki: hey06:20
mvozyga: all snaps?06:20
zygaah, no it's just. a bug in canonical-livepatch06:20
mvozyga: this sounds like its time for 18.10 in CI now that we are in beta freeze06:20
mvozyga: aha, just c-l ok06:20
zygacanonical-livepatch uses wrong permission for status file https://www.irccloud.com/pastebin/asnxhatD/06:20
* zyga wonders where to report bug on canonical-livepatch06:23
zygaok, bug reported06:26
mupPR snapd#5858 opened: Skip unsupported architectures for fedora-base-smoke test <Created by mvo5> <https://github.com/snapcore/snapd/pull/5858>06:27
zygamvo: review on https://github.com/snapcore/snapd/pull/584506:35
mupPR #5845: interface: add new dotfiles interface <Created by mvo5> <https://github.com/snapcore/snapd/pull/5845>06:35
zygabrb, too cold, need more clothing06:37
zygare06:44
mvozyga: cool, thank you, I have a look06:51
=== pstolowski|afk is now known as pstolowski
pstolowskimornings07:03
mborzeckipstolowski: heya07:07
mupPR snapd#5832 closed: [RFC] overlord/{snapstate,assertstate}: parallel instances and refresh validation <Parallel installs> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5832>07:08
zygahey pawel07:11
kyrofazyga, those chilly mornings are the best07:20
zygakyrofa: best to get ill? :-)07:20
zygaor are you serious07:20
zygamy hands are freezing07:20
kyrofaHahaha, I'm serious, I love it when it's cold and I need to bundle up all cozy07:20
zygakyrofa: do you type with your gloves on or do you just have warm hands anyway?07:20
zygakyrofa: it's not freezing yet07:21
zygait just feels like proper autumn already07:21
kyrofazyga, yeah not gonna lie, it's probably 60-something here and I'm working outside07:21
kyrofaSo not the same situation :P07:21
pstolowskikyrofa: hey! how is the place?07:21
zyga6C in the morning (42F)07:21
zygakyrofa: tonight we will have 3C07:22
pstolowskikyrofa: also, unusual to see you online that early ;)07:22
kyrofapstolowski, man, I couldn't ask for better. It's so quiet, and I have this courtyard to myself07:22
kyrofapstolowski, haha, yeah I'm not used to you guys being around either!07:22
zygakyrofa: beware of the squirrels ;)07:22
zygamborzecki: partial review on 585707:22
zygaI'll make warm tea and be back for more07:23
kyrofazyga, there are some massive bees here, that's about all I've noticed so far07:23
zygakyrofa: bees or wasps?07:23
mborzeckizyga: thanks07:23
zygakyrofa: as in, do you get genuinely larger bees?07:23
zygakyrofa: or is "bee" a word for anything bee-like07:23
* zyga loves bees07:23
kyrofaI'd say they are bees, but they may completely different. They're like half the size of my fist, and black07:24
kyrofaBut they're fat like a bee07:24
zygakyrofa: did I tell you I want to have bee hives?07:24
zyga!!!!07:24
zygathat's some bee :D07:24
kyrofaI'm too busy flailing them away from me to look very closely07:24
mborzeckibumblebees?07:24
zygaif you can snatch a photo I would love to see those07:24
kyrofamborzecki, it's a little bigger than that, and black07:24
kyrofazyga, haha, I'll try, they tend to come out when it gets warmer07:25
kyrofazyga, actually I've always been curious about bee hives as well. Do you have room for them?07:25
pstolowskikyrofa: i envy you!07:26
zygakyrofa: no, but I would like to buy some land07:26
zygakyrofa: and get properly trained to handle bees07:26
zygakyrofa: my dad and granddad had honeybees :)07:26
zygakyrofa: supposedly the best moment to start learning about them is early summer, the season ends in august and then pretty much nothing happens07:27
zygakyrofa: I subscribed to a periodical about bees; so far I know very little though07:28
mupPR snapd#5858 closed: Skip unsupported architectures for fedora-base-smoke test <Simple> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5858>07:34
mvozyga: thanks for your review on the dotfiles interface  - the missing check for "." is intentional -  I was thinking we could use this for non dotfiles as well at least potentially. if something neeeds access to a specific non-dotfile in home we could use the interfaces to give it without giving the full home away07:36
zygahmmm, I would give the interface a different name then07:37
zygalike file-access or folder-access?07:37
zygaor user-data-access07:37
zygaactually07:39
zygaeyah07:39
zygauser data access feels like the right name07:40
zygabut I'll defer to the naming overlords ;-)07:40
mvozyga: my thinking exactly :)07:52
* mborzecki wonders what happens if one has networkd and NM managing different interfaces and competing for the default route08:14
mvomborzecki: good question, when NM is in charge it will setup the default routes just with different metrics08:17
mborzeckimvo: yeah, would you need to manually tweak those or are the deafults non conflicting? i see the default route is using 600 here, but no clue whether that's dhcpclient's or nm's doing08:19
mvomborzecki: I have 100 for eth and 600 for wlan but my two interfaces are both managed via NM :/08:20
mborzeckiiirc a default 1000 if you add it by hand right?08:20
mvomborzecki: just tried with "route" and got metric:008:21
mborzeckihmm08:21
mborzeckiwell, i guess if one has a device which uses both netword and NM you craft the setup carefully enough so that it does what your requirements say08:22
Chipacamvo: mborzecki: should I mention classic devices?08:27
=== cpaelzer_ is now known as cpaelzer
mvozyga: quick brainstorm: should the dotfiles interface infere if its a file or dir from the trailing "/" ? i.e. .foo is a file and .foo/ is a dir? or too magic?08:56
mvozyga: this way I can get rid of the files/dirs attr and just use paths or something08:57
zygamvo: I strongly think this is too magic09:03
mvozyga: ok09:03
zygaSo either allow both or make it explicit09:03
mvozyga: in this case the validation needs to reject "foo/" for files09:03
mvozyga: but allow "foo/" for dirs09:03
zygaYes09:03
zygaWell09:03
zygaYou kind of do clean on it already09:03
zygaSo either allow trailing / on dirs09:04
mvozyga: I do but you pointed out it might be confusing to disallow "foo/" on a dir09:04
zygaOr always reject it and add it internally like you do now09:04
zygaRight09:04
zygaBecause the reason for that is unclear IMO09:05
mvozyga: I will look into it but my gut feeling is to reject it because the alternative is more code09:05
zygaWe routinely refer to directories with /09:05
zygaOk09:05
zygaAs long as it is documented09:05
zygaFiles and directories explicitly have09:05
zygaone more advantage09:05
zygaIf somebody uses a symlink it is not going to work09:06
zygaBut perhaps rightfully so09:06
mvozyga: yeah, I think thats ok, symlinks & apparmor are tricky09:06
mupPR snapcraft#2291 opened: meta: put environment into runner instead of app wrapper <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2291>09:18
mupPR snapcraft#2292 opened: sources: properly handle pull failures <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2292>10:22
mupPR snapd#5825 closed: tests: add snap install hook with base: core18 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5825>10:41
mvoniemeyer: when you have a moment, a high level review of 5717 would be great. I reworked it based on your input and it will auto-retry to get out of degraded mode now10:42
mvoniemeyer: this will unblock two more PRs :)10:42
niemeyermvo: Heya, looking10:43
mvoniemeyer: also 5583 (without snaps stop and wait for socket) would be great but that might be more work :/10:43
mvoniemeyer: (but I also addressed your input there)10:43
mvoniemeyer: thanks!10:43
zygabrb11:00
niemeyermvo: Sent a couple of notes on the first one11:00
niemeyermvo: Second one reviewed11:14
niemeyermvo, zyga, everyone: I'm taking the afternoon off today to recharge batteries a bit11:17
Chipacaniemeyer: I was just thinking of doing the same11:19
Chipacafinding it hard(er) to concentrate11:20
zyganiemeyer: yeah, I needed that yesterday11:20
zyganiemeyer: enjoy the remains of autumn :)11:20
mupPR snapd#5859 opened: many: introduce facts, export experimental features as facts <Created by zyga> <https://github.com/snapcore/snapd/pull/5859>11:27
ograppisati, poke ...11:46
Chipacamborzecki: yesterday I saw code of yours where you took a string like "a:b::c:d" and return []string{"a", "b", "c", "d"}; where was that?11:46
ppisatiogra: poke back11:47
ograppisati, would you be able to include the bvc4 libs in the pi2-kernel initrd ?11:47
ogra*vc411:47
mborzeckiChipaca: #5857?11:47
mupPR #5857: userd: extend the list of supported XDG Desktop properties when autostarting user applications <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5857>11:47
ograppisati, https://paste.ubuntu.com/p/v4qCGjTNrz/ would be the list11:47
ograppisati, that makes psplash work even with the vc4-kms-v3d overlay (else it only work with vc4-fkms-v3d, but that is completely unaccelerated)11:49
ograwhen using vc4-kms-v3d /dev/fb0 is only created by the vc4 module ... while vc4-fkms-v3d gives you a kernel /dev/fb0 but without any acceleration11:50
ograso to have fb0 in the initrd i'd need the modules available there (and i doubt we should compile vc4 into the kernel since many headless use casess wont want it)11:51
ppisatiogra: xenial or bionic? i guess both11:51
ograppisati, yeah., likely both, i have only worked with xeinal yet though11:52
ppisatiogra: if you open me an LP with the list of modules to include, i'll start working on it11:52
ogra\o/11:52
* ogra hugs ppisati 11:52
ograppisati, hmm, LP just against linux-raspi2 ? (since i want it in the snap)#11:53
ppisatiogra: yep11:53
ograon it11:53
mborzeckiChipaca: thanks for the tip11:58
ograppisati, Bug #179427911:59
mupBug #1794279: please include vc4 modules in pi2-kernel snap initrd <linux-raspi2 (Ubuntu):New> <https://launchpad.net/bugs/1794279>11:59
Chipacamborzecki: note you  can get megabytes into the environment before it starts to fall apart12:01
ChipacaI seem to recall that 8MB in an env block was enough for execve to fail, but that might be old (32 bits?), i haven't tested the limits in this way in ages12:01
Chipacayou can easily creae an env var that'll make bash crawl: FOO=$(yes)12:02
zygasome of those used to be limited to ~~~ 32KB but that was long ago12:02
Chipaca(killall yes when you get bored; then 'echo "$FOO"' to be more bored12:02
zygaAFAIK there's no limit now12:02
Chipacazyga: xargs --show-limits thinks still thinks there is a limit12:03
Chipaca~2MB?12:03
Chipacabut that's mostly for execve (which applies in this case, but the other is fun)12:03
ppisatiogra: ack12:07
mborzeckizyga: i wonder, when doing mount mappings for parallel installs under /var/snap/<snap>, would people expect this to have shared propagation12:08
Chipacamborzecki: note also there's bytes.FieldsFunc which would save you the conversion (but then you want a []string, so ¯\_(ツ)_/¯12:09
Chipaca)12:09
* Chipaca ~> lunch, and then probably nothing but probably guitar playing and maybe minecraft with the boys and dog walking and some more guitar and early bed12:09
zygamborzecki: shared propagation is actually established as a default by snapd, we only get slave propagation though, right (because snap-confine)12:09
Chipacabut, hey, maybe some irc too. ttfn.12:09
zygamborzecki: btw, I found a bug in propagation setting, something I need to investigate and fix ASAP12:09
zygamborzecki: I have a test that shows htis12:09
zyga*this12:09
zygamborzecki: we can sync after standup12:10
mborzeckizyga: i've extended fuse-support spread test a bit and obviously the mount point is only under the mapped hierarchy, now we've said (have we?) that _foo will be mapped under snap name, but i guess we did not promise anything about propagating mounts12:11
zygayeah12:11
zygaI think that is the same bug12:11
mborzeckiok, let's talk after standup12:12
zygamborzecki: https://github.com/zyga/broken-layout-migration12:19
zygamborzecki: that shows this and one more issue found last week12:20
mupPR snapd#5860 opened: interfaces/houtplug: helpers and struct updates <Hotplug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/5860>12:37
sil2100mvo: hey! Today I quickly sat down to finally see what's up with my raspi3 when running core18 on it, since I wasn't able to reproduce your original problem (the one with the invalid netplan config)12:55
sil2100mvo: I wasn't able to reproduce it as console-conf was segfaulting12:55
sil2100mvo: I did some debugging and ugh, it's segfaulting on probert when trying to probe for wifi12:55
sil2100With the wifi module unloaded console-conf and probert all work fine12:55
sil2100mvo: so apparently my raspi3 is suffering from probably the same (or very similar) issue as the dragonboard12:55
sil2100mvo: so generally I'll poke mwhudson that probert seems to segfault on two different boards, I guess on two different architectures as well12:57
mvosil2100: yeah, that sounds a lot like the segfault we had on the dragon12:57
mvosil2100: did you push a debug build of probert into the image ppa?12:58
mborzeckizyga: pstolowski: standup?13:01
joelkraehemannhi all13:11
joelkraehemannhttps://snapcraft.io/nongnu-gsequencer/listing13:11
joelkraehemann^^ please, do the review.13:11
ogramvo, sil2100, note that we had the same issue with core16, caused by netplan (not probert) forcefully un/reloading the wlan drivers when probing13:14
ogramvo, sil2100 there was a blacklist in netplan to avoid unloading most sdio based wlan drivers due to exactly that reason ... perhaps thats gone in 18.04 ?13:15
mborzeckizyga: snappy-devel?13:21
zygamborzecki: actually, can we postpone for a sec, I need to see the stuff that my daughter asked about13:22
mborzeckizyga: ok13:22
sil2100ogra: oh! Good to know! I'll investigate that after lunch13:29
ograsil2100, here is an example bug (there were three or four like this) https://bugs.launchpad.net/netplan/+bug/174191013:30
mupBug #1741910: ath6kl_sdio does not support unbinding <verification-done-xenial> <netplan:Fix Released by cyphermox> <nplan (Ubuntu):Fix Released> <nplan (Ubuntu Xenial):Fix Released> <https://launchpad.net/bugs/1741910>13:30
ograthat black/whitelist was extremely ugly, i can imagine that cyphermox tried to replace it with some more intelligent code (which has perhaps bugs)13:31
zygamvo: no c18 meeting?14:05
mvozyga: we can have one if you want14:07
mvozyga: but I think its fine to skip given that gustavo and samuele are not around14:07
zygayeah14:07
zygalet's skip14:07
mborzecki2018-09-25 13:32:01 Cannot allocate google:arch-linux-64: cannot allocate new Google server google:arch-linux-64 (sep251328-278432): cannot find ready marker in console output for google:arch-linux-64 (sep251328-278432)14:13
mborzeckicachio: have you seen something like this ^^14:13
cachiomborzecki, when did you get that?14:15
cachio45 minutes ago?14:15
mborzeckicachio: yes14:15
cachiocould you please try again?14:15
mborzeckiok14:15
cachiootherwise I'll revert last image which I manually updated today14:15
cachiomborzecki, seems to be failling in many branches14:32
cachioI'll revert it14:32
mborzeckiok14:36
mborzeckicachio: can you debug what's wrong with the image?14:37
cachiomborzecki, yes14:37
cachioI'm on that14:37
cachiothis is already deprecated14:38
cachioso arch should be up again14:38
cachiomborzecki, https://paste.ubuntu.com/p/XD87JBKzxs/14:44
cachiohave you seen that?14:44
cachiozyga, ~14:45
zyganope14:45
sil2100ogra: I doubt that's it as it's segfaulting earlier, but who knows - thanks for the context o/14:56
ograsil2100, good luck anyway :)15:01
diddledanrandom thought for the day: make snaps able to tell APT/DPKG that they "supply" the same as a debian package - the specific example I came across that would benefit me personally, a deb package depends on docker-ce deb package but I had the docker snap installed so it refused to install this other package because it thought I didn't already have docker-ce15:11
diddledanobviously that only benefits debian-based distributions so we'd need an abstraction to allow the same function on rpm or other distros15:12
mupPR snapd#5811 closed: tests: add test that runs snapctl with a core18 snap <Created by mvo5> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5811>15:13
* zyga returns for evening work16:18
halfbithi, so it seems like all of the snappy desktop applications on my system tend to hang/crash16:32
halfbitlike I get a window for libreoffice, but nothing is drawn in it, I can't close it, and I can't start a new one16:32
halfbitsame thing with the spotify snap16:32
zygahalfbit: hello, that's unfortunate, sorry about that - can you tell me more about your system (output of "snap version" helps)16:33
halfbitthis is on a fresh install of ubuntu 18.0416:33
halfbit tburdick@jupiter  ~  snap version                      ✔  8627  11:31:3316:33
halfbitsnap    2.3516:33
halfbitsnapd   2.3516:33
halfbitseries  1616:33
halfbitubuntu  18.0416:33
halfbitkernel  4.15.0-34-generic16:33
zygawhat does snap changes say?16:34
zyga"snap changes"16:35
halfbiterror: no changes found16:37
zygahmm, ok16:37
zygawhat happens when you run "snap run spotify" from command line?16:37
halfbitI re-installed spotify with the deb which works perfectly, let me try with libreoffice16:38
zygaok16:38
halfbitok now I'm confused16:40
halfbityeah its just working now16:41
halfbitof course16:41
halfbitinfuriating16:41
zygaperhaps it was the one-time setup that some apps are doing?16:41
halfbitI have no idea16:41
halfbitbut its beyond frustrating to go from a working system to something where I'm mucking around with this :(16:42
zygaif you want you can "snap install spotify" and see if that starts16:42
halfbityeah it started spotify and its working16:43
mupPR snapcraft#2292 closed: sources: properly handle pull failures <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2292>16:43
halfbitwell I guess its good for now16:44
halfbitI'll be back if it stops working again16:44
zygagood luck16:44
mupPR snapd#5717 closed: snapd: go into degraded mode when the selftest fails <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5717>17:46
diddledanhttps://github.com/auchenberg/volkswagen19:16
=== epod is now known as luk3yx
=== epod is now known as luk3yx
* ogra hopes thats not a diesel19:32
diddledan:-) that repo is full of win19:33
mupPR snapcraft#2293 opened: build providers: use the new snapcraft: remote for multipass <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2293>20:23
mupPR snapcraft#2294 opened: snap: workaround the dirty tree <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2294>20:38
mupPR snapd#5861 opened: cmd/libsnap: add functions for handling facts <Created by zyga> <https://github.com/snapcore/snapd/pull/5861>20:40
mupPR snapd#5862 opened: cmd: fix C formatting <Simple> <Created by zyga> <https://github.com/snapcore/snapd/pull/5862>20:40
mupPR snapcraft#2295 opened: tests: use SNAPCRAFT_PACKAGE_TYPE everywhere <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2295>21:50
=== matteo| is now known as matteo

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