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

=== phoenix_firebrd_ is now known as phoenix_firebrd
zygaGood morning04:30
zygaI did an experiment and the glob issue cannot explain the bug reported by our customer04:31
zygaI will focus on debugging that next04:31
zygaalso the 2.32 branches cannot land because spread has issues on linode04:38
zygamany machine images don't pick up the ssh connection04:38
zygamust be Friday :)04:38
mborzeckimorning05:07
zygahey05:10
zygamborzecki: there must be a 2nd bug05:10
zygamborzecki: what I saw and fixed cannot explain the issue reported by the customer05:10
zygamborzecki: I'd love to get to the bottom of 2.32 test failures05:10
zygamborzecki: it seems we cannot reach our booted images anymore.05:10
zygamborzecki: this is all on linode05:11
zygamborzecki: for logs see #511005:11
mupPR #5110: interfaces/apparmor: fix incorrect apparmor profile glob (2.32) <Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/5110>05:11
mborzeckiglobs everywhere05:17
mborzeckihad to double check what SecurityTagGlob looks like05:20
mborzeckizyga: travis build failure is the same as in #5073, my guess is that the images do not work, iirc those were -32 ones05:24
mupPR #5073: set up journal streams in user session application autostart (2.32) <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5073>05:24
mborzeckiif we do .6 it woul dbe nice to get 5073 in as well05:24
zygamborzecki: I asked mvo about what else to include but IIRC he wanted critical things only06:03
mborzeckiok06:03
zygaI wonder why the -32 bit images broke on us06:04
mborzeckihm 249 test files modified, if i split that into groups of 20, we'll get 12 PRs06:45
zygaSounds good06:46
zygaWill the match list conflict?06:47
mborzeckii'm afraid so, but if we land at least one of these PRs a day, we'll be done in 3 weeks :P06:51
=== pstolowski|afk is now known as pstolowski
pstolowskimorning07:03
mborzeckipstolowski: hey07:05
zygahey pawel07:06
zygamborzecki: maybe a .d directory for match could do it07:06
zygamborzecki: but maybe it is better to just review07:06
zygaI'm a bit tired this morning, not sure why07:06
mborzeckizyga: we have to review it either way ;)07:07
mborzeckineed to drop my dogs off at the groomer, bb in ~30 minutes07:12
zygaI'm sleepy07:20
zygaok, coffee is ready07:30
zygalet's fight07:30
zygamborzecki, pstolowski: can you guys please have a 2nd look on #454507:30
mupPR #4545: interfaces/x11: allow X11 slot implementations <Created by gerboland> <https://github.com/snapcore/snapd/pull/4545>07:30
zygait's green and I'd like to merge it but a fresh set of eyes would help07:31
mborzeckire07:33
mborzeckipstolowski: can you take a look at https://github.com/snapcore/snapd/pull/5103 ?07:37
mupPR #5103: tests: shellcheck spread tasks <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5103>07:37
mborzeckionce we land it i'll open a PR with the first barch of fixes07:37
pstolowskizyga: will do07:41
zygathank you07:41
pstolowskipedronis: hey, do you have a moment for quick HO? i'd like to run an idea re hooks by you07:41
pedronispstolowski: finishing breakfast,  can in a little bit07:46
pstolowskisure07:47
pstolowskizyga: is the bug re incorrect glob responsible for the issue you discussed yesterday and were trying to reproduce?08:07
zygapstolowski: yes08:07
zygapstolowski: but I think there's another bug too08:07
pstolowskizyga: yay!08:07
zygabut I'm still zombified and think slowly08:07
zygaI wrote a test that this bug fix from yesterday doesn't affect the case saw by our customer08:08
zygaI have a device to test now08:08
pedronispstolowski: I'm available now08:10
pstolowskipedronis: ok, standup HO08:11
zygaactually08:28
zygaI wonder now08:28
zygawhat is coming up08:28
mborzeckizyga: hm?08:30
zygac-release08:30
zygacagey camel08:32
zygacheery chiru08:32
Chipacacrispy civet08:34
Chipacacroissant cat08:34
Chipacacuddly cockroach08:34
Chipacamorning all08:35
mupPR snapd#5089 closed: tests: adding google-sru backend replacing linode-sur <Simple> <Created by sergiocazzolato> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5089>08:35
zygagood morning :)08:35
mborzeckicuddly cockroach08:35
zygahaha08:35
mborzeckiinstant +1 from me08:35
kalikianathat's a bad idea. email filters will turn that into cuddly roach08:36
mborzeckicrispy courgette08:36
Chipacahttp://goodyfeed.com/wp-content/uploads/2017/06/cockroach3.jpg08:36
kalikianaha. that's the way to deal with filters :-D08:36
mborzeckiand make an official cooking recipe with it08:36
Chipacawe should make a nsfwbuntu that was just ubuntu with a nsfw dev name08:38
mborzeckiheh, reminds me of fedora with their 'beefy miracle' thing08:38
Chipacassh! don't say the b word08:39
Chipacait sets neal off08:40
Chipacamborzecki: what's your thoughts on the drop privs thing?08:40
mborzeckigo for the mutex08:41
Chipacamborzecki: option a) say "can't fix before we move to 1.10+"08:41
Chipacamborzecki: option b) put a mutex, with a comment that says "this can still end up with the wrong uid trying to do stuff but we couldn't reproduce  it so it's probably very unlikely"08:41
* Chipaca felt less and less confident about (b) as he wrote the comment for it08:42
Chipacain fact, let me try something08:42
Chipacamborzecki: https://pastebin.ubuntu.com/p/Mn8nF8VV62/08:58
Chipacazyga: cosmopolitan cockapoo09:01
mborzeckiChipaca: seems to work now09:02
Chipacamborzecki: in which sense of the word 'work'?09:04
Chipacamborzecki: lots of dots, no asterisks?09:05
mborzeckiChipaca: yes09:05
Chipacamborzecki: go < 1.10?09:05
* Chipaca hugs mwhudson for snapping go09:05
mborzeckipfff, got a couple of terminal-width lines of dots, switched back now and asterisks :/ it did take longer though09:07
Chipacamborzecki: seems to vary, but yes09:07
Chipacamborzecki: not surprised that a race is racy though :-)09:07
mborzeckinot failed after 3 dots09:07
mborzeckis/not/now/09:08
Chipacai'm very intentionally tripping the bug, there09:08
Chipacaso in practice it'll be a lot less likely09:08
mborzeckieven if we get someone to packport the patches to 1.9, the previous releases will stay unpatched09:08
Chipacabut with so many people using it, less likely is still quite likely09:09
Chipacamborzecki: mwhudson has backported some cherries for us :-) but that won't help potato linux09:09
Chipacaan alternative that should work is to use cgo, clone a thread there, do the syscall there (we _don't_ want the libc wrapper)09:10
Chipacabut, ew09:11
Chipacaalso the semantics of calling from cgo back to go are not nice09:13
Chipacaniemeyer: would appreciate your thoughts on https://github.com/snapcore/snapd/pull/4983#issuecomment-38491553909:22
mupPR #4983: osutil/sys, client: add sys.RunAsUidGid, use it for auth.json <Created by chipaca> <https://github.com/snapcore/snapd/pull/4983>09:22
Chipacaniemeyer: (not on the PR, on the comment)09:23
mborzeckiChipaca: do you recall if it's also the case in older releasese that if a goroutine exits in a locked thread, the thread will be terminated?09:26
mborzeckizyga: conflicts in #508109:35
mupPR #5081: interfaces/apparmor: add chopTree <Created by zyga> <https://github.com/snapcore/snapd/pull/5081>09:35
zygammm09:35
mborzeckiChipaca: ca you take another look at #5103 ?09:36
mupPR #5103: tests: shellcheck spread tasks <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5103>09:36
zygafixed09:36
Chipacamborzecki: sorry was afk getting coffee (and maybe cake)09:39
Chipacamborzecki: it's very much _not_ terminated09:39
mborzeckiChipaca: nice combo09:39
Chipacaespecially this cake :-)09:39
Chipacamy mum's chocolate fudge cake09:39
uebera||Hi. What is the equivalent of "apt-file list <package-name>" for displaying the contents of a snap package (e.g., "nextcloud") without having to install it first? (I'm using Ubuntu Xenial.)09:40
Chipacauebera||: there isn't one09:40
Chipacauebera||: what are you trying to do?09:40
Chipacauebera||: (outside of some corner cases, AFAIK the files in a snap are not that interesting)09:41
uebera||I want to see what's inside the package "nextcloud" w/o installing it.09:42
Chipacauebera||: I meant one step back from that09:42
Chipacauebera||: I mean: what do you need this information for?09:43
uebera||I don't understand. This is the only step. I do not intend to install the package using snap, I just want to see its contents in order to see what is included as a dependency (b/c I doubt that this is in line with what the documentation lists).09:43
Chipacauebera||: there isn't a way to do that without downloading the snap09:45
mborzeckiuebera||: snap download && unsquasfs -l probably makes most sense then09:45
Chipacaor snap install and find :)09:45
Chipacait's a 200MB download, so I can understand not wanting to do it09:46
Chipacauebera||: is it really just this snap,  or is it a general problem?09:47
uebera||Well, this is the first snap I want to inspect (the third one I've ever come across), but I'd consider it a general problem, yes. Unless there are public catalogues like for apt...09:48
Chipacauebera||: ok, as I said, there isn't a way (today) of doing this; we don't index that data09:50
pedronissnaps are also much more fast moving than debs, so the information can be stale quickly09:50
Chipacaheck yeah :-)09:50
uebera||Well, if the above "snap download && unsquasfs -l" works, that's good enough for a start atm.09:50
Chipacawhy on earth is mysqld 200MB+09:51
Chipacauebera||: also -lls fwiw09:51
uebera||However, having to start up a throw-away container just to inspect the contents of a snap in a safe environment is not convenient.09:51
Chipacauebera||: why would you need a container for download+unsquash?09:51
uebera||Not for download, but for installation.09:52
mupPR snapcraft#2107 closed: Release changelog for 2.42 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2107>09:52
uebera||I.e., the "download/unsquash" method should be cited in a FAQ if it isn't already (I've missed it until now).09:52
Chipacauebera||: right, for installation i could understand it, as it's mounting the squash and you'd have to trust us that it's ok to do so09:53
Chipacauebera||: well, download is documented, as snaps are documented as being squashfs09:53
Chipacauebera||: the rest is just joining the dots09:53
Chipacas/as/and/09:54
didrockszyga: so, due to my classic snap segfaulting as I can only build it on bionic due to golang version, I heard there was a way to declare which core snap you are using, I don't find the reference for it in the doc, any hint?09:55
zygadidrocks: "base: core18"09:56
zygabut I don't know if snapcraft supports this yet09:56
zygait's very early09:56
zygadidrocks: if you build your snap on bionic you must use a container09:56
mborzeckiuebera||: hm alternative would be to try https://uappexplorer.com/snap/ubuntu/nextcloud and download from there09:56
zygadidrocks: and for classic snap you must use a xenial-abi-compatible build of go09:56
didrockszyga: the issue is that snapcraft doesn't allow you to select the go version if I'm correct09:56
zygadidrocks: perhaps, kalikiana would know09:57
didrockssounds like bug #1616985 didn't really move09:57
mupBug #1616985: the go plugin doesn't use go build-snaps <isv> <plugin> <Snapcraft:In Progress by kalikiana> <https://launchpad.net/bugs/1616985>09:57
didrocksso, basically, I'm between FTBFS and segfault :p09:57
Chipacadidrocks: even with core18?09:59
didrocksChipaca: well, I'm unsure how to inject that in my snapcraft.yaml definition09:59
Chipacatry "base: core18"10:00
didrockssame level than grade: I guess?10:00
Chipacaright next to "name: doesrocks"10:00
Chipaca:-p10:00
zygayes10:00
didrocks;)10:00
* didrocks tries, thanks!10:01
Chipacadidrocks: if it shouts at you let us know10:01
uebera||mborzecki: Thanks, this is an alternative w/o using snap (though "snap download" worked like a charm)10:01
kalikianadidrocks: That's not perfectly accurate. The go plugin insists on installing the deb, but it doesn't prevent you from using a remote part with your favorite version10:02
didrocksChipaca: at least, it downloads core18 when installing, good starting point :)10:02
Chipacauebera||: 'snap download' also gives you the assertions which can be helpful10:02
Chipacadidrocks: huzzah10:02
didrocksand it works! thanks Chipaca, zyga10:03
mborzeckiuebera||: a word or warning, iirc the search by architecture is broken in uappexplorer10:03
didrockskalikiana: yeah, that's what I read, but I prefer to avoid relying on something else like another snap or a ppa with a newer build10:03
kalikianadidrocks: I can't parse that sentence. You want a specific go version that isn't in the archive, no?10:04
didrockskalikiana: exactly! It seems the only way right now is to have a part downloading go for you (from another snap or using adding a ppa as a build-dep)10:05
kalikianadidrocks: My suggestion above was a remote part. Not a PPA. As in, "after: [go]   go:     source-tag: go1.7.5"10:07
didrockskalikiana: ah ok, nice that there is a remote part! I'll see between that or using core18…10:08
didrocksthanks :)10:08
Chipacadidrocks: i'd consider core18 'developer preview' quality, fwiw10:08
Chipacadidrocks: tested for some very narrow verticals right now afaik10:08
Chipacaso if you can get it to work without, you'll be happier10:09
didrocksChipaca: well, as it's for a classic snap, I think I only need an ABI compatible linker with my build10:09
didrocksand as it's Go without Cgo, it's statically compiled (apart from accessing the network config)10:09
Chipacadidrocks: in particular I'm entirely unsure how well core18 will play with classic, today10:09
Chipacadidrocks: and 'base: core18' means installing your snap will download core1810:10
Chipacadidrocks: so... let us know how it goes :-D10:10
didrocksChipaca: which we are going to do anyway soon AFAIK for 3.28 GNOME snaps10:10
didrocksyeah, I'm happy to be the guinee pig here ;)10:10
didrocksguinea*10:10
Chipacadidrocks: I'm happy for you to be, as well10:10
Chipacaas long as you know you are10:10
didrocksheh, I know at least there is a fallback plan10:11
didrocksI'll keep you posted in case I spot anything wrong10:11
Chipacadidrocks: to be clear if it's going to fail anywhere it'll be on 16.04 (or 14.04)10:16
didrocksyeah, I'll try testing there10:16
Chipacadidrocks: if it's a desktop thing, don't try 14.04 :-)10:16
* didrocks will happily refrain thus!10:18
mborzeckihad to restart, master travis job again, and again it failed because not output was received10:44
Son_Gokudoes anyone know why I default to the edge channel in Ubuntu Software?10:51
Son_Gokusnaps I install are apparently coming from edge by default10:51
Son_Gokuwhich is something I totally did not expect10:51
Son_Gokuor at least, it looks like they are10:52
Son_Gokuit says "stable" channel but gives me the version in the edge channel...10:52
mupPR snapcraft#2109 opened: sources: clean up IncompatibleOptionsError <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/2109>10:55
zygaSon_Goku: that looks like a bug for sure10:57
zygait should be the opposite10:57
Son_Gokuzyga: it's very obvious with the blender snap10:57
ogra_Son_Goku, it knows who you are !10:57
Son_Gokumeep10:57
ogra_:)10:57
zygaand after installing snap info says you are tracking edge?10:57
Son_Gokuzyga, nope11:09
Son_Gokuit switches back to stable11:09
Son_Gokuit's very strange and confusing11:09
zygayes11:09
zygabut is the snap you got from edge?11:09
zygaas in the revision matches what is in edge and not what it is in stable11:09
Son_Gokuno it matches stable11:10
zygahmm?11:10
Son_Gokuit looks like something's confused in ubuntu software11:10
zygaso what is the bug11:10
Son_Gokueven when tracking stable, it's actually rendering info from edge11:10
Son_Gokuin ubuntu software11:10
Son_Gokualso, niemeyer, you really should fix the metadata for your blender snap11:11
Son_Gokuit's completely wrong :)11:11
ChipacaSon_Goku: showing info from edge?11:12
ChipacaSon_Goku: tell me moar11:12
Son_GokuChipaca, ubuntu software renders info from edge, even though it defaults to tracking stable11:12
zygahttps://www.youtube.com/watch?v=DOYRLdisrTE11:12
ChipacaSon_Goku: in what case?11:12
zyga(wrong video though ;)11:12
Son_Gokusnap not installed11:12
ChipacaSon_Goku: i mean: what do you see as 'from edge'?11:12
Son_GokuUbuntu Software on 18.04, just open it up, and search for blender11:12
Son_Gokuwell, the version11:13
sparkiegeekyeah, reproducible here - gnome software it showing the version from non-stable (hard to see if it's edge, beta or candidate)11:13
sparkiegeekbut it's not in stable11:13
Son_Gokualso, Fedora 28 is GOLD11:14
Chipacasparkiegeek: Son_Goku: any example that isn't also a deb?11:14
ChipacaSon_Goku: congrats!11:15
Son_GokuChipaca, not sure, I noticed it because the blender snap is missing so much data it shows up as separate from the deb11:15
Son_Gokuthe vlc snap also shows the same issue11:15
sparkiegeekChipaca: just trying to check the snapd API, do you have the curl invocation to hand?11:15
Son_Gokuthough it renders the beta channel's number11:16
sparkiegeekChipaca: reproducible for gitlptools (my snap)11:16
Chipacasparkiegeek: snap install http && http snapd:///v2/find name==thesnapname11:16
Chipacanot seeing this in 16.04, fwiw11:17
Chipacagitlptools showing 388db20 as is proper11:17
sparkiegeekChipaca: http: error: InvalidSchema: No connection adapters were found for 'snapd://v2/find'11:17
Chipacaeh11:17
Chipacasparkiegeek: forgot the extra /11:17
Chipacasnapd:///v2/...11:17
Chipacawait, no i didn't11:18
Chipacayou did :-D11:18
sparkiegeek$ http snapd:///v2/find name==gitlptools11:18
sparkiegeek 11:18
sparkiegeekhttp: error: InvalidSchema: No connection adapters were found for 'snapd:///v2/find'11:18
Chipacasparkiegeek: which http11:19
sparkiegeekah ha!11:19
Chipaca¯\_(ツ)_/¯11:19
sparkiegeekChipaca: thanks, that was it11:19
zygaso what is broken?11:20
Chipacacompletely in the dark guess? it's taking the first entry from the channel map instead of latest/stable11:21
Chipaca(or just the one outside the channel map)11:21
sparkiegeekChipaca, zyga: it looks like version number outside of the channel map is reporting the wrong one11:21
sparkiegeekright, the latter11:21
Chipacaah, ok11:21
Chipacathen, yes, that.11:21
Chipacabug in store, already getting fixed11:21
zygathanks!11:22
Son_Goku:)11:22
Chipacathe snap client just happens to walk around the issue11:22
sparkiegeekthe snap that's installed is tracking stable though, and then gnome-software is reporting the installed version (as tested with blender)11:23
sparkiegeekso I can't exactly reproduce what Son_Goku sees11:23
Chipacasparkiegeek: i thought it wasn't the installed version11:24
Son_Gokuoh, after install, it shows the right thing11:24
Chipacaright11:24
Son_Gokuit was _before_ install it didn't11:24
Son_Gokuso it was just confusing11:24
sparkiegeekSon_Goku: agreed11:24
Chipacaeasiest and quickest and most future-safe thing would be to tell snapd-glib (or was it glib-snapd) to grab the info from the channel map11:24
Chipacaalthough...11:24
Chipacai should sit down with 'em and make it better11:24
Chipacathey're having to jump through hoops to get their stuff done, and it's nasty11:25
Chipacai'll do that next week11:25
Son_GokuChipaca, snapd-glib11:25
sparkiegeekChipaca: right, but then they'd have to encode the channel map priorities - e.g. no guarantee of there being latest/stable11:25
ChipacaFacu: remember the 'ha ha lol the store picks a revision at random to show the info if you say channel=""' thing we talked about? gnome-software in 18.04 hits it :-)11:25
Son_Gokuthat explains why I get the beta version rendered for vlc11:26
Son_Gokurather than edge, if it's "random"11:26
ChipacaSon_Goku: well, it's not random, it's most-recently-pushed afaik11:26
Chipacait just seems random11:26
Son_Gokunow, if the store was open source... :P11:27
threshugh, snap store shows vlc edge to install by default?11:27
Chipacathresh: no(ish)11:28
Chipacathresh: it installs stable; the version number is wrong11:28
Chipacathresh: in 18.0411:28
threshthat's still bad11:28
threshdon't want the user to have an impression they'll install vlc 4.011:28
Chipacaright11:29
Chipacawe'll sort it11:29
Son_Gokusomeday :P11:29
Chipacathresh: to be clear, it's gnome-software (and presumably other stores using snapd-glib but i haven't checked) in 18.04 that expose the bug11:30
threshgood to know, fingers crossed on a swift fix :)11:31
Chipacawe can argue about whether it's the store, snapd, or snapd-glib that have the bug -- but it's fixable in any of those places :-)11:31
threshalso congrats on a release for everyone involved!11:31
Chipacathresh: i think everyone directly involved is off today :-)11:32
FacuChipaca, ugh11:34
ChipacaFacu: :-)11:34
ChipacaFacu: also, good morning11:34
ChipacaFacu: sorry to greet you with that news11:35
=== JanC is now known as Guest28882
=== JanC_ is now known as JanC
Son_Gokuholy shit11:38
Son_GokuVLC looks ugly11:38
ChipacaSon_Goku: sshh! you'll make thresh cry :-(11:40
threshnah, I already cry daily11:40
ChipacaSon_Goku: try saying the same thing but with kinder words11:40
* Chipaca hugs thresh 11:40
threshSon_Goku, what DE are you under?11:40
Son_GokuGNOME11:40
Son_GokuFedora 2811:40
threshSon_Goku, can you please try beta?11:40
Son_Gokusure, one sec11:40
* Son_Goku sighs11:42
Son_GokuI can't do it from g-s11:42
Son_Gokudown the CLI we go!11:42
Son_Gokuoh we've gotten fancy now11:42
Son_Gokuoverlaying progress bars11:42
ChipacaSon_Goku: how long has it been since you used the CLI :-)11:42
Son_Gokumore months than it probably should be11:43
threshI'd release the beta to stable any time, but the UI (e.g. open file dialog) is completely broken on KDE11:43
Son_Gokuthresh, not better11:44
threshhmm, okay11:44
threshcan you drop the output of env | grep XDG_ to pastebin somewhere?  or PM me?11:45
threshand a screenshot of VLC / menus11:45
Chipacathresh: also maybe 'snap run --shell vlc' and do the same in there11:45
Son_Gokuthresh: http://kinginuyasha.enanocms.org/downloads/screenshot-vlc-snap-about-20180427.png11:47
threshSon_Goku, what about the icons / general UI fonts?11:48
threshin the menu bar etc11:49
=== sergiusens_ is now known as sergiusens
Son_Gokuthresh: http://kinginuyasha.enanocms.org/downloads/screenshot-vlc-snap-with-env-20180427.png11:51
Son_Gokuit's pretty bad11:51
threshok, so it's an issue with the fonts11:51
ChipacaSon_Goku: thresh: aren't themes and fonts working?11:51
threshthe UI actually does not look like windows 9511:52
Chipacai thought they were11:52
threshChipaca, I'm pretty sure I need to add something to my snap to enable it?11:52
Son_GokuI thought they were too11:52
Son_Gokubut apparently no?11:52
sparkiegeekSon_Goku: can you file a bug about the version info being wrong? i.e. ubuntu-bug gnome-software-plugin-snap11:52
Son_Gokusparkiegeek, I don't have the Ubuntu 18.04 VM anymore :)11:53
Son_GokuI only spun it up to check out g-s there ;)11:53
Son_Gokubecause I heard there was funny business in g-s in Ubuntu11:53
Son_Gokulike the ability to select channels and permissions11:53
Son_Gokuneither of which I can do from g-s in Fedora11:53
Chipacazyga: do you know about fonts?11:53
zygaChipaca: is this a tricky question where I say yes and then go and dig through unholy C code that renders vectors?11:56
zygapopey: https://twitter.com/zygoon/status/989835561639841797 :-)11:56
zygapopey: it still needs some upstreaming on my part11:57
zygaand packaging love11:57
zygaand more11:57
Chipacazyga: I don't want you dissing metafont now11:57
zygabut :-)11:57
popeythat skype snap isnt confined11:57
zygapopey: yes but it's not because of opensuse11:57
popeyneither is slack11:57
popeyok11:57
zygapopey: look at the terminal11:57
zygabut yeah, I see your point11:57
Chipacazyga: the work to let snaps access fonts from the local system, was that landed?11:57
popeySweet!11:57
zygaChipaca: yes11:58
zygabut it's working partially by accident11:58
ChipacaSon_Goku: FWIW i seem to recall that after agreeing that font metadata nearly never changes, it changed11:58
Chipacajust too late to break 18.04, but in time to break fedora 28, if i remember well?11:58
Son_Gokuprobably11:59
Son_Gokuit will probably break openSUSE soon too11:59
zygaChipaca: yes11:59
zyga2.1311:59
Son_Gokuyep11:59
Son_Gokufontconfig-2.13.0-3.fc2811:59
zyga(13 , see it's _bound_ to happen ;)11:59
threshwhat do I need to do to enable it?12:00
Chipacazyga: how were we going to fix that?12:00
Chipacazyga: and what thresh is asking is whether the snap needs to do anything to access the 'outside' fonts, and if so what :-)12:01
zygaChipaca: let me think, AFAIK the issue is the old fontconfing doesn't grok the new syntax so we must not share /etc/fonts (or something like that) and probably must synthesise per-core variant somewhere in /var/lib/snapd so that we can bind mount it into /etc12:01
* Son_Goku whispers fedora core snap to zyga 12:02
zygaSon_Goku: I played with that, need more weekends to finish it12:02
zygaChipaca: which sucks because /etc/fonts may not be there12:02
zygamay be a symlink12:02
zygaor whatever12:02
zygaI suspect we want a writable mimic with filtering12:02
zygaover /etc12:02
zygaso that we can assure /etc/fonts is something we control12:02
zyga Chipaca does that answer your question?12:05
Chipacazyga: it answers my first question -- thresh's question about how to use it still stands12:07
Chipacazyga: (with the caveat that it won't work on anything using fontconfig 2.13 because they hate us)12:07
threshI'll be more than happy to drop fonts from bloated vlc snap indeed :-)12:07
zygaChipaca: we need to write a tool (Alex expressed interest in cooperation there) that would take a fontconfig "config" file and convert it to a version appropriate for a given fontconfig major/minor release12:09
Chipacazyga: how. does. a. snap. author. use. this.12:10
zygano no12:10
Son_Gokubecause fonts are evil12:10
zygait's for us12:10
zygasnap authors don't need to do anything12:10
Chipacazyga: duuuude12:10
Son_GokuChipaca, it's intended to be automatic12:10
Chipacazyga: I create a snap12:10
pedronismagic and pixie dust12:10
Chipacazyga: how do i tell it to use the system's fonts?12:10
Son_Gokuautomagic :D12:11
Son_Gokuit Just Works(TM)12:11
zygaif you use fonconfig and you use one of the desktop interfaces it is indeed automatic12:11
zygabut that's what we _want_12:11
zygawhat is reality is more complex12:11
Chipacaso vlc could drop its bundled fonts and it'd still work (except on fedora 28)?12:11
zygayou can see the fonts and they are mounted where people expect them12:11
zygabut from one system to another you many not be configured to use them12:12
zygabecause "configuration" is really not configuration, it is mandatory side-channel to tell fontconfig how to use a particular specific font correctly12:12
zygait's not "fonts are here", it's down to font substitution and other magic that makes the font actually useful12:12
pedronisso we need to know what config version the snaps expect?12:13
mborzeckiw8, why are vlc fonts ok here then?12:13
Chipacamborzecki: because vlc bundles its fonts maybe?12:13
Chipacamborzecki: here == arch? you're on 2.13+?12:14
zygapedronis: it seems we need to know the expected format of fontconfig configuration per base, yes12:14
mborzeckiChipaca: 2.13 to be exact12:14
Chipacamborzecki: or maybe you just like the cool 'everything is courier new' look12:14
zygamborzecki: not sure, perhaps vlc reconfigures the place for fonts because of one of the desktop helpers12:14
pedroniszyga: well, unless the  snap bundles the relevant libraries? in which case is per snap12:14
zyga(aka magic boxes we don't grok in this team)12:14
mborzeckiI see a bunch of warnings https://paste.ubuntu.com/p/RwdnCCTqZ6/ but that's that12:14
threshI'm on fontconfig 2.13, on debian testing, and the fonts are fine for me12:14
zygapedronis: yes but even then we can offer the older format fine12:14
zygapedronis: I think it could be something we convey on the desktop interface12:15
zygabut it must be consistent inside the whole snap12:15
Chipacathresh: mborzecki: so, the problem with 2.13 is that it supports config stuff that <2.13 does not12:15
Chipacathresh: mborzecki: as long as you're not using that new stuff it still works12:15
* zyga gets back to debugging12:16
Chipacathe problem AFAIR was that a brand new install does use that new config stuff12:16
mborzeckihttps://i.imgur.com/tEIrLip.jpg12:16
zygaI really don't know more about fonts than you guys :)12:16
ChipacaI don't know the details, i'm just repeating what i heard in the standup :-)12:16
mborzeckihmm12:16
mborzeckimaybe there's some decent fallback mechanism12:17
mborzeckilike picking the fallback fonts by name/type12:17
mborzeckiSon_Goku just happens to not have the right fonts installed or sth12:18
Son_Gokuthis is literally the default font set for Fedora Workstation 2812:18
threshwoah, I don't get any of those warnings12:18
mborzeckithe monospace one? :)12:18
Son_Gokuwell, not that12:18
Son_Gokuthat's the shit-tier font12:18
Son_Gokuit renders incredibly badly too12:18
Son_Gokusome parts aren't even readable12:19
threshand that's how it looks for me: https://dashboard.snapcraft.io/site_media/appmedia/2018/04/2018-04-26-161203_1126x899_scrot_yBFL55L.png12:19
mborzeckiyeah, i can see that the font i have is also slightly different (smaller?), it surely ignores the dpi/scaling settings12:19
threshI do use scaling though for QT apps12:19
threshQT_SCREEN_SCALE_FACTORS=1.5 and QT_AUTO_SCREEN_SCALE_FACTOR=012:20
* zyga sighs12:37
ogra_hrm13:13
ogra_tyhicks, jdstrand, is the store tool that notifies me about outdated packages with USN your baby ? it semds emailös without any timestamps at all it seems (making the mails end up in a special folder in my setup)13:16
nsgI'm going crazy, all text in my snap is just squares. I'm not sure how to debug this. Works on Ubuntu, just squares on Debian and Solus. Any idea how to debug this?13:18
vidal72[m]what is the status of this https://forum.snapcraft.io/t/firefox-please-create-the-track-esr/500613:18
ogra_nsg, include fonts (or even better use a desktop-helper)13:18
nsgogra_: I'm using the helper, and I think I have all the fonts I need. The application has also the option to change fonts ... any selected font is just squares.13:20
nsgThe interesting thing is, on Solus I only see 3 fonts: https://imgur.com/a/lEbReMW13:23
nsgfc-list outside the snap lists more or less the same fonts like in my Ubuntu install. I'm using desktop-gtk2, unity7 and so on.13:24
nsgA friend has reported the same problem on Debian, so I do not think it's Solus related, more non-Ubuntu related :)13:24
nsgI'm just not sure what to do next ... have tried to get this thing fixed on my spare time for 2-3 weeks now.13:25
diddledannsg: have you plugged `desktop` and `desktop-legacy`?13:25
nsghm... not at the snap in the solus install... I will give that a try. These are new to me :)13:27
nsgI will try to _add_ them and see what happens13:27
diddledanthey're automatically connected once the snap defines the interfaces13:27
zygajdstrand: hey, can you tell me why we chose to use /var/lib/snapd/apparmor/profiles over /etc/apparmor.d13:29
zygajdstrand: I'm working on opensuse down streaming and one issue I'm facing is that our profiles don't reload on boot13:29
zygajdstrand: I patched snapd locally to see what happens when we put our profiles in /etc/apparmor.d and ... it works okay13:30
jdstrandzyga: because /etc/apparmor.d is for system profiles and profiles the admin uses. /var/lib/snaps/apparmor/profiles are managed by snapd13:31
zygayes I know but that is not upstream13:32
zygaI'm trying to figure out what to do13:32
zygateach upstream apparmor about /var/lib/snapd/apparmor/profiles13:32
zygapatch opensuse specifically13:32
zygaor patch snapd on opensuse13:32
jdstrandzyga: please join #apparmor. opensuse is redoing all their profile loading13:32
jdstrandzyga: on OFTC13:33
zygaone sec, I don't have that set up13:33
jdstrandzyga: jjohansen from upstream apparmor has also been working on making all this easier to configure. today everyone uses their own apparmor init script. we want to have an 'upstream way' of doing it where you configure additional locations in various ways. this is good for precompiled caches, system profiles, admin profiles, service-managed profiles (snapd, lxd, libvirt, etc), ...13:35
Son_GokuSolus completely rewrote how their aa profiles are managed too13:39
Son_Gokuthey didn't like how Ubuntu or openSUSE did it13:39
ChipacaSon_Goku: https://forum.snapcraft.io/t/516313:41
vidal72[m]zyga: # /usr/lib/systemd/system/apparmor.service.d/snapd.conf13:42
vidal72[m]zyga: [Service]13:42
vidal72[m]zyga: ExecStart=-/usr/bin/apparmor_parser --write-cache --cache-loc=/var/cache/apparmor -r /var/lib/snapd/apparmor/profiles/13:42
zygavidal72[m]: pastebin please13:42
zygavidal72[m]: does this unit run when you update apparmor-profiles?13:42
zygaI know it's possible to load them ourselves but there are benefits when they are loaded by the main unit13:42
vidal72[m]https://paste.ubuntu.com/p/z5bfPrbrbZ/13:43
vidal72[m]zyga: they will be loaded by main apparmo unit13:44
Son_GokuChipaca: yay13:44
zygavidal72[m]: hmm, this probably won't be enough13:44
vidal72[m]why?13:45
zygavidal72[m]: because services will start before snapd13:45
zygaand they will fail because their confinement profile won't be present yet13:46
zygaah13:46
zygasorry, I misread what you wrote13:46
zygachaining this to apparmor will work13:46
vidal72[m]it worked for me13:47
zygathank you for the suggestion, another option on the table13:48
Chipacaraining cats and dogs and i need to do the school run13:50
pedronisChipaca: btw according to the dictionary both those pronunciations of ephemeral exists13:50
Chipacapedronis: i'll pronounce it "eph'g'meral" just to be sure13:51
Chipacathat's a double glottal stop with a g thrown in for good measure13:51
pedronisChipaca: iphimeral or iphemeral (or something like that)13:51
vidal72[m]zyga: this is what upstream suggested to me after I asked about snapd support13:51
* Chipaca -> school run13:51
Chipacapedronis: pretty sure people in the uk make decisions about the sort of person you are based on which one you use though13:52
Chipacaso i should learn which one i want to be :-)13:52
zygavidal72[m]: which upstream?13:52
Chipacaor use both and confuse people13:52
* Chipaca -> really off13:52
jameshzyga: hi.  I've addressed some of the review comments on https://github.com/snapcore/snapd/pull/3963 and replied to the others.  CI failed with a timeout though, but I think it is probably fine.13:52
mupPR #3963: cmd/snap-confine: add support for per-user mounts <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/3963>13:52
ogra_jdstrand, seen my ping above ? if it isnt your tool, whom do i need to poke so the mails get a proper send-date in them ?13:52
zygajamesh: thank you, I think at this stage we are waiting for Niemeyer's review13:53
vidal72[m]zyga: apparmor13:53
jameshzyga: he reviewed it earlier today13:53
zygaoh, sorry I didn't know13:54
zygaI was fire-fighting somewhere else13:55
zyga jamesh I restarted the build now13:56
jameshzyga: thanks13:56
zygaI will merge it as soon as it goes green13:56
zygaok I need a break14:00
zygafor food/dog/walk14:00
roadmrthat makes it ambiguous whether you'll eat the dog and then go for a walk or other possible combinations :P14:02
zygathat makes it more interesting14:02
jdstrandogra_: that is me (tyhicks, ignore this)14:03
zygamaybe the dog is typing14:03
jdstrandogra_: well, it is the security team, but I've done the initial implementation, so me :)14:03
jdstrandogra_: what is one of the affected snaps?14:03
ogra_jdstrand, packageproxy and jtiledownloader14:03
jdstrandroadmr: fyi, https://forum.snapcraft.io/t/notifications-for-out-of-date-stage-packages/516114:04
roadmrjdstrand: awesome! yes, Celso just got one!14:04
jdstrandI imagine a lot of people did :)14:05
roadmrI didn't, which is surprising because my snaps are all crap and haven't been rebuilt in ages14:05
ratliffif you didn't get one and you are a snap publisher, give yourself a gold star and a pat on the back :)14:05
jdstrandogra_: I see a 'Date: Fri, 27 Apr 2018 14:08:20 +0100 (04/27/2018 08:08:20 AM)'14:05
mupPR #2018: snapstate: pass errors from ListRefresh in updateInfo <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2018>14:05
roadmrmaybe that's why - they're so old they likely don't have manifest_raw :D14:05
jdstrandroadmr: or build you snap with SNAPCRAFT_BUILD_INFO=1 ;)14:06
jdstrandroadmr: *and* publish it to a channel :)14:06
jdstrandogra_: what is it that you want?14:06
roadmrjdstrand: it is published (gnuchess). I guess I could fire a rebuild14:06
roadmrjdstrand: oh so snapcraft doesn't manifest_raw by default? I thought it did... hmm. Will keep in mind!14:07
diddledandid the forum just die?14:07
jdstrandroadmr: I did the same thing this morning. had 3 snaps built without it so I rebuilt them14:07
roadmrdiddledan: wfm \o/14:07
jdstrandroadmr: LP does manifest raw by default. snapcraft does not14:07
roadmrjdstrand: gotcha, that must be the source of my confusion14:08
jdstrandroadmr: but yeah, gnuchess is ancient by snapcraft standards, so it wouldn't have it no matter where you built it :)14:08
roadmrI'll try to rebuild it14:08
jdstrandogra_: I'm confused by your request since there is a 'Date: ...' in the email. please clarify14:11
ogra_jdstrand, https://imgur.com/a/fgZ6am14:13
ogra_i want the question marks gone :)14:13
ogra_i typicall yonly get these from spambot mails14:14
jdstrandogra_: 40414:14
ogra_oops14:14
ogra_jdstrand, https://imgur.com/a/fgZ6amU14:15
jdstrandogra_: that is weird. I'm using the same email client as you and don't see that14:16
sergiusensjdstrand: nice email I just got from usn :-)14:18
jdstrandogra_: I see 'Content-Type: text/plain; charset="us-ascii"' in it but 'Content-Type: text/plain; charset="utf-8"' in other store-generated emails14:18
jdstrandsergiusens: thanks! and thanks for the manifest.yaml. not sure if you saw, but fyi https://github.com/snapcore/snapcraft/issues/209314:19
sergiusensjdstrand: I did, you did not read the template ;-) (we will add it regardless) :-)14:20
jdstrandsergiusens: whoops!14:20
jdstrandogra_: let me play with making that utf-8, then send you a test email14:21
ogra_jdstrand, thanks14:22
kyrofaOoo jdstrand I'm seeing some interesting emails about the contents of my snaps14:33
roadmr\o/14:35
jdstrandkyrofa: yep :)14:35
cachiomborzecki, hey, I noticed the arch linux images are not being discarded from google14:39
cachiomborzecki, any idea why it could be happening?14:40
cachiomborzecki, the image has not changed from long time14:42
cachioand when I log into it, I don't see nothing weird14:42
ogra_jdstrand, nope, same14:44
jdstrandhmm14:44
ogra_(teh 0a mail you just triggered)14:44
* jdstrand nods14:44
ogra_*0ad14:44
ogra_jdstrand, if it is really only me then feel free to ignore. i can handle it on my side ... perhaps my mailserver or spamassassin mess it up here14:46
jdstrandogra_: I just can't see any differences14:48
jdstrandogra_: emails to ubuntu-devel look ok?14:48
ogra_yeah14:48
jdstrandlet me look at one of those14:48
ogra_in general all other m,ails look fine14:48
ogra_i occasionally get spam with broken date but thats about it14:49
jdstrandogra_: makes no sense. I looked in ubuntu-devel and other text/plain emails with charset of utf-8 and us-ascii and everything looks ok14:56
ogra_yeah, lets blame my side unless you hear anything from others then14:57
* roadmr blames it on ogra_14:58
ogra_:D14:58
jdstrandogra_: I wonder if it is evolution and the format of the date column... again, the date format is the same as other emails so don't know why that would happen14:58
ogra_Content-Type: text/plain; charset="utf-8"15:01
ogra_should that perhaps be charset=UTF-8 instead ?15:01
ogra_hmm, no15:03
Chipacaogra_: no?15:04
Chipacai don't see anything about quoting it in Rfc 204615:05
ogra_i was more concerned about the non-capitalized vaersion there ... not about the quoting15:05
ogra_*version15:05
ogra_but digging throuhg mail sources i see both variants and both seem to work fine15:06
Chipacaah there it is, quotes are fine15:06
mborzeckicachio: no clue, do you know if these were stated automatically due to a travis job or manually?15:09
mborzeckicachio: is there even a difference, maybe there's some magic logic in gce that collects unused vms15:09
cachiomborzecki, started by travis15:28
nsgdiddledan: "desktop" did the trick! Thank you, it works now on my Solus test VM.15:54
pedronisChipaca: when do we show the long help of commands?16:04
pedronisChipaca: I see that refresh and install ones is out-of-date but is also not shown16:05
Chipacapedronis: 'snap help --man | man -l -'16:06
Chipacapedronis: might help16:06
pedronisChipaca: but I don't see it in "man snap" either16:06
Chipacapedronis: also master is not 2.23.516:07
Chipacapedronis: that fixed text is new16:07
Chipacapedronis: go build -o /tmp/snp ./cmd/snap && SNAP_REEXEC=0 SNAPD_DEBUG=1 /tmp/snp install --help  :-)16:08
pedronisI'm on master and not seeing it either16:08
Chipacapedronis: reexec16:08
pedronisChipaca: so it's recent?16:09
Chipacapedronis: not really16:10
pedroniswell, newer than 2.32.5 ?16:10
Chipacapedronis: 2018-03-1416:10
Chipacaover a month old16:10
Chipacabut, yes, not in 2.32.516:10
pedronisok, it needs reviewing given that it doesn't match reality anymore16:11
pedronisI was planning to fix the help but then saw that there's much more text, that I wasn't seeing16:11
pedronisbit confused was I16:11
pedronismaybe I can try anyway quickly16:13
mupPR snapd#5111 opened: cmd/snap: update install/refresh help vs --revision <Created by pedronis> <https://github.com/snapcore/snapd/pull/5111>16:20
pedronisChipaca: https://github.com/snapcore/snapd/pull/511116:20
mupPR #5111: cmd/snap: update install/refresh help vs --revision <Created by pedronis> <https://github.com/snapcore/snapd/pull/5111>16:20
Chipacapedronis: you can also refresh to a local revision16:22
pedronisI killed too much text?16:24
Chipacareading16:24
pedronisit was not saying that before either16:24
Chipacaah, no, it didn't mention this before either16:24
pedroniswe can fix it though16:24
Chipacawording is tricky :-)16:25
pedronisjust trying to understand if I killed something that was there16:25
Chipacano, it's fine16:25
Chipacayou even fixed the revision descr on refresh which i'd missed16:25
pedronis", unless is one of the previous locally kept revisions,"  ?16:29
pedronisChipaca:   https://pastebin.ubuntu.com/p/w3sTVMDQXv/  ?16:31
Chipacapedronis: hmm, that's rather awkward16:31
Chipacapedronis: leave it as is for now16:31
Chipacapedronis: we can iterate when my head is more into it16:32
Chipacasorry16:32
pedronisthat's fine16:32
pedronisat least there's a PR16:32
pedronisso we don't forget16:32
pedronisand don't lie either16:32
* pedronis -> dinner16:34
Chipacaok, ttfn16:35
cachio_zyga, https://github.com/snapcore/spread-images/pull/1017:10
mupPR spread-images#10: New task to add debian-sid as a gce image <Created by sergiocazzolato> <https://github.com/snapcore/spread-images/pull/10>17:10
cachio_could you please take a look17:10
cachio_it is ready again17:10
cachio_thanks17:10
cachio_zyga, we have again working the builds in travis17:13
zygaThank you17:13
mupPR snapcraft#2110 opened: tests: conditionally add python3-distutils <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2110>17:25
pstolowskiniemeyer: #4358 is ready for your re-review17:50
mupPR #4358: interfaces: interface hooks implementation <Created by stolowski> <https://github.com/snapcore/snapd/pull/4358>17:50
niemeyerpstolowski: Thanks!17:50
niemeyerpstolowski: Not quite sure if we should merge it now, though, given that you'll be away most of next week.. we risk having issues in edge that won't be addressed before you're back17:50
pstolowskiniemeyer: valid concern17:51
pstolowskiniemeyer: perhaps jdstrand would like to have a look still.. not sure17:52
niemeyerpstolowski: Not sure if that's required.. have we changed anything since his last review?17:52
pedronishe didn't review it at all yet17:53
pedronisI think17:53
pedronismmh, github is giving me a unicorn17:54
pedronisno, indeed, no review from him yet17:54
pstolowskiniemeyer: yes, as pedronis says, Jamie didn't look at it yet17:55
pstolowskiyes i've unicorns a lot today too17:55
niemeyerpstolowski: Would be worth pinging jdstrand for a review then17:56
niemeyerpstolowski: He'll have all of next week to have a look17:56
pstolowskiallright17:56
pedronishe is at the sprint tough17:56
pstolowskijdstrand: in case you'll be reviewing #4358, the most critical part is small changes around policy checks17:57
mupPR #4358: interfaces: interface hooks implementation <Created by stolowski> <https://github.com/snapcore/snapd/pull/4358>17:57
pstolowskiok, i'm signing off, have safe trips!18:00
=== pstolowski is now known as pstolowski|eow
jdstrandpstolowski|eow: ack and noted18:17
zygajdstrand: are you in Europe already?19:32
magicaltroutcongrats to all you snappy folk for the new found 18.04 love! Well deserved.19:33
zygawoot, snaps progressed quite a lot since 15.04 days :)19:34
threshthey were available since 15.04?!19:41
threshyou should really spend some $$$ on marketing ...19:42
jdstrandzyga: leave tomorrow19:42
om26erzyga: anything specific you noticed ?20:52
mcphailHmm. building on build.snapcraft.io: the amd64 build fails due to a compilation error, the i386 build completes successfully and then the arm build fails due to a different compilation error. No idea how to debug that one :(21:21

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