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

mborzeckimorning06:13
zygao/07:17
* zyga had a hard night07:18
mborzeckizyga: hey07:19
zygahey07:20
zygamborzecki: janek is 13 today07:20
mborzeckizyga: wow nice, best wishes for him :)07:21
zygaand iza turned her room upside down07:22
zygabeing upset and angry well into midnight07:22
zygabecause she wanted to have something for the sims and we said no, and it went downhill from there07:22
mborzeckihahaha ;)07:22
* zyga is sleeeeeepy07:22
zyga(literally half of her stuff is downstairs as it slid down the stairs)07:22
mborzeckiquick errand, need to drop by the town hall, back in 1h or so07:23
zygashe also tore our bed apart07:23
zygagood luch07:23
zygaluck I mean07:23
zygaI need to wake up07:23
mborzeckire for a little bit07:45
mborzeckii keep forgetting, why do we avoid using x/sys/unix?07:48
zygamborzecki: no idea07:50
zygaI think it used to not support ppc07:52
zygabut now we don't support ppc eiter07:52
pstolowskimornings08:05
mborzeckipstolowski: hey08:05
mborzeckiok, trying the town hall once again08:06
zygaHey08:16
zygaIs town hall today?08:16
pstolowskihey zyga08:18
zyga:-)08:18
pstolowskiyeah i asked mborzecki the same, i don't have anything in my calendar08:19
zygaI see Oct 24th08:22
zyganothing more?08:23
pstolowskizyga: same here08:28
mborzeckire08:33
mborzeckizyga: no, i mean my local council ;) dealing with some beaurocracy stuff here08:34
zygaah ;D08:45
* Chipaca coffees up09:20
zygahey Chipaca  :)09:32
Chipacazyga: 'sup :)09:46
zygagood, sleepy09:46
zygaslow day09:46
Chipacazyga: yup09:47
Chipacazyga: feels like a saturday, here09:47
pstolowskiChipaca: hey, i'll re-request a review for snapctl is-connected from you; the core implementation didn't change, but there is new stuff wrt error propagation between api and client09:51
pstolowskiChipaca: and i feel it's a bit of muddy waters :}09:51
Chipacapstolowski: ok09:51
pstolowskii'm going to push in a moment09:52
zyga-laptopChipaca http://asciicker.com/y0/10:05
zyga-laptopChipaca try f1 / f210:05
ppd1990Hi. Isn't snapcraft 3.9.2 supposed to be in the stable channel already?10:12
pstolowskizyga-laptop: wow @asciicker10:17
Chipacappd1990: supposed by who?10:22
ppd1990Chipaca: https://forum.snapcraft.io/t/call-for-testing-snapcraft-3-9/13944/2610:23
Chipacappd1990: hm. Maybe it's phasing, or maybe somebody found an issue and it had to be rolled back?10:26
zygapstolowski: right? :)10:26
zygabrb10:26
mupPR snapd#7824 opened: snap/squashfs, osutil: verify files/dirs can be accessed by mksquashfs when building a snap <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7824>10:27
mborzeckijust when i thought mpt doesn't work again10:27
mpt?10:27
mborzeckimpt: sorry, meant mup :)10:28
Chipacamborzecki: no rebooting mpt10:28
Chipacawithout their consent at least10:28
mborzeckishould rename mup to something more bot-like10:29
mpt😴10:29
ppd1990Chipaca: Probably :)10:29
Chipacappd1990: ask sergiusens in a few hours10:29
Chipacappd1990: (or, ask in that forum thread)10:30
pstolowskippd1990: or ask on the forum10:30
Chipacawow, the models used for CV are yuge10:34
Chipacait's like 4GB of just models10:34
zygawhat are you doing with CV?10:35
mborzeckiosutil/stat.go:106:9: undefined: syscall.Faccessat on osx :/10:35
zygamborzecki: heh10:36
zygamborzecki: one sec10:36
zygayeah, no such syscall10:37
zygamborzecki: macos doesn't have a stable syscall layer10:38
zygaso we should probably not use it10:38
zygait only has a stable .dylib layer10:38
mborzeckizyga: can you check what value does R_OK have on osx?10:45
mborzeckiheh it's in x/sys/unix10:52
mborzeckii mean, the Faccessat on osx10:53
Chipacazyga: just trying to get https://github.com/sniklaus/3d-ken-burns to work, for now10:55
zygaaha10:58
mupPR snapd#7825 opened: many: use transient scope for tracking apps and hooks <Created by zyga> <https://github.com/snapcore/snapd/pull/7825>11:26
zygamborzecki: https://github.com/snapcore/snapd/pull/782511:26
zygaI decided to open it without larger changes11:26
mupPR #7825: many: use transient scope for tracking apps and hooks <Created by zyga> <https://github.com/snapcore/snapd/pull/7825>11:26
zygamborzecki: I think landing and iterating will be just easier11:27
zygamborzecki: and will unlock more things to land in parallel11:27
zyga(smaller things)11:27
* zyga is baby-sitting lucy 11:39
mborzeckitime for some reviews12:02
cachiocmatsuoka, hey12:24
cachiothere is a bug that perhaps you could take a look https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/185254412:24
mupBug #1852544: uc20 grubenv block seems odd <core20> <Gadget snap for Personal Computers using Intel or AMD processors:New> <Ubuntu Image:Invalid> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1852544>12:24
cachioit is related to UC2012:24
cmatsuokacachio: checking that12:26
cachiocmatsuoka, thanks12:26
cmatsuokacachio: we're already working on that12:27
cachiocmatsuoka, nice12:27
cachiocmatsuoka, good to know12:27
cachiocmatsuoka, is there a priority to assign to  the bug?12:27
cmatsuokaI believe it's already fixed but I didn't check the latest image to see how it's going12:27
cmatsuokaxnox: did we fix  https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1852544 already? I believe so since you have a booting image (which I didn't check yet but's in my todo list for this morning)12:29
mupBug #1852544: uc20 grubenv block seems odd <core20> <Gadget snap for Personal Computers using Intel or AMD processors:New> <Ubuntu Image:Invalid> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1852544>12:29
xnoxcmatsuoka:  i believe that is still wrong12:30
xnoxcmatsuoka:  in the gadget snap, i'm importing all the environment blocks, both good and bad.12:30
cmatsuokaxnox: humm ok I'll check the plans with Michael12:31
cmatsuokaxnox: thanks12:31
cachiokenvandine,  hi12:50
cachiokenvandine, I see and error when installing gimp in i38612:51
cachiokenvandine, https://travis-ci.org/snapcore/spread-cron/builds/618422327#L329212:51
cachiois it being supoported right?12:51
mupPR snapcraft#2827 closed: build providers: only set the snapd flag when installing snapd <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2827>13:02
sergiusensppd1990: there was an issue, I had to roll back temporarily https://github.com/snapcore/snapcraft/commit/1eebc27968e20e63ead11f7214c655284357fef213:09
ppd1990sergiusens: Thanks a lot for the info. Much appreciated!13:09
sergiusensgetting a bug (in my human body) did not help in making this go faster, sorry about that13:11
mupPR snapd#7726 closed: RFC: change how snapd tracks processes <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/7726>13:28
mupPR snapd#7722 closed: cmd/snap-confine: add sc_join_sub_group <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/7722>13:29
mupPR snapd#7486 closed: tests: add regression test for lp: #1844496 <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/7486>13:32
mborzeckizyga: we don't have a type for security tags do we?13:32
mborzeckizyga: i'm looking at #7825, and thiking that we may need a package to encode the ideas about naming things, like snap related cgroup, security tag and so on13:33
mupPR #7825: many: use transient scope for tracking apps and hooks <Created by zyga> <https://github.com/snapcore/snapd/pull/7825>13:33
zygamborzecki: nope13:33
zygamborzecki: security tag is more of an interface13:34
zygamborzecki: with a String() method13:34
mborzeckizyga: for instance, right now the scope name is in snap run where it's created, and then some bits are in snapstate where the cgroup name is interpreted13:34
zygaand a InstanceName() method13:34
zygaI think we can clean it up a lot but ... it's a long path13:34
zygamborzecki: can you do a quick review on https://github.com/snapcore/snapd/pull/778413:34
zygaI can land it and iterate perhaps13:35
mupPR #7784: cmd/snap-update-ns: adjust debugging output for usability <Created by zyga> <https://github.com/snapcore/snapd/pull/7784>13:35
zygamborzecki: back to security tag, I think it ought to be an interface13:35
zygamborzecki: because we have several kinds of security tags that are not alike13:35
zygamborzecki: the concrete type of each could be string13:35
zygamborzecki: but the wrapper type would be more useful .e.g. hook security tag, app security tag, that weird non-app-non-hook security tag for some udev things13:36
zygamborzecki: it could have methods like SnapWideGlob()13:36
mborzeckizyga: and then the scope & cgroup names13:36
zygaand we could have a helper like GenrateScopeName(tag SecurityTag)13:36
zyga*Generate13:37
zygamborzecki: how does that sounD?13:38
mborzeckisounD :) like systemD? :P13:38
zygamborzecki: btw, offtopic, on fedora 31 I don't get snap icons in alt-tab in gnome13:41
zygaprobably related to the centos bug13:41
mborzeckizyga: do you get them in the activities view?13:41
zygayes i do13:41
mborzeckizyga: i suppose nothing in the logs?13:42
mborzeckizyga: btw. wayland or xorg?13:42
zygawayland13:43
zygalogs are always full of garbage13:43
zygalis 29 14:43:04 x240 gnome-shell[2041]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble' ;-)13:43
zygalis 29 14:43:10 x240 systemd[1841]: dbus-:1.2-org.gnome.Boxes.SearchProvider@14.service: Succeeded. ;)13:43
zygabut nothing about the fact icons are gone13:44
mborzeckiheh, at least it's no spamming the logs like it did a month ago13:44
zygaweirdish13:44
zygaoh it's full of junk really13:44
mborzeckiright after 3.34 there'd be a constant 1-2kB/s of logs going to journal13:44
zygaheh13:45
zyganvme pays for itself ;)13:45
mupPR snapd#7784 closed: cmd/snap-update-ns: adjust debugging output for usability <Created by zyga> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7784>13:53
=== ricab is now known as ricab|lunch
zygamborzecki: I cannot join yet14:01
zygalucy is waking up now14:01
zygamborzecki: my update is simple: working on more testing and follow-ups14:01
zygaI'll update the doc shortly14:01
xnoxcmatsuoka:  i did snap refresh of ubuntu-image & snapd14:11
xnoxcmatsuoka:  created a fresh image14:12
xnoxit still has two copies of core & pc-kernel snaps14:12
xnoxonce in /snaps and ones in /var/lib/snapd/snaps/14:12
xnoxthe second location is not used on UC20 seed partition14:12
xnoxand grubenv is still in the wrong location at /boot/grub/ instead of at /EFI/ubuntu/14:12
kenvandinecachio: afaik.  diddledan see the question about gimp?14:14
mborzeckizyga: left some comments under 7825, need to play with this locally14:19
cachiokenvandine, taj, ok, thanks14:19
diddledanwhat's the spread test trying to do with gimp?14:20
zygamborzecki: sure, thank you14:22
zygathanks, replied to most14:25
zygaI'll apply the trivials shortly14:25
zygamborzecki: note, I'm running this on F31 and it's not exploding :)14:25
zygait's pretty cool that I can see memory usage of my app14:28
zygamborzecki: sublime-text instance from a snap https://www.irccloud.com/pastebin/M8V1r6t3/14:28
cachiodiddledan, it just installs gimp14:33
diddledanare you sure that's _all_ it is doing? because there's weird messages about "Match"ing stuff14:35
cachiodiddledan, this is the test https://github.com/snapcore/snapd/blob/master/tests/nightly/install-snaps/task.yaml14:38
cachiodiddledan, the MATCH is used to detect the channel and other info about the snap to isntall14:38
diddledanso what is the actual failure condition then?14:39
cachiodiddledan, the test tries to install gimp in ubuntu 16.04 32bits14:41
cachioand this is happening14:41
cachio+ snap install gimp --stable14:41
cachioerror: cannot perform the following tasks:14:41
cachio- Ensure prerequisites for "gimp" are available (cannot install prerequisite "gtk2-common-themes": no snap revision available as specified)14:41
zygacachio: that's weird, I'm not getting that14:42
diddledanyes, well that's not my fault then. that's down to whoever unpublished gtk2-common-themes from the 32bit stable channel :-)14:42
diddledanit affects other snaps too14:42
diddledane.g. audacity14:42
cachiodiddledan, yes14:43
diddledan(another of mine :-)14:43
diddledangtk2-common-themes is still available in 64bit so I'm assuming closing the 32bit stable channel was either a mistake or someone wasn't thinking things through14:44
cachioI could include audacity to the test if you want14:44
cachioto we detect this kind of errors on important snaps14:44
diddledanin fact, gtk2-common-themes is _only_ availeble for amd64 now - it used to be available for i386.. https://snapstats.org/snaps/gtk2-common-themes14:45
diddledankenvandine: is this something for you to look into?14:46
kenvandineNot sure what happened to i38614:48
diddledanit is probably worth investigating adding armhf and arm64 too14:49
diddledanfor those of us that insist on using a pi as their desktop :-p14:50
kenvandineYeah14:50
kenvandineI can't look at it today, but will on Monday14:50
diddledancoolbeans :-)14:51
zygaah, 32bit systems14:51
zygainteresting14:51
* cachio lunch14:54
mborzeckizyga: 130MB for sublime?14:58
diddledanall the MB!14:58
mborzeckiheh, actually my emacs is using 250MB of heap so, maybe 130 isn't that much after all15:00
zygamborzecki: yeah15:12
zygamborzecki: I guess that's all the .so's loaded and stuff15:12
zygamborzecki: but it's really neat15:12
zygabecause we _can_ measure it15:12
=== ricab|lunch is now known as ricab
mborzeckifinally #7824 is green15:21
mupPR #7824: snap/squashfs, osutil: verify files/dirs can be accessed by mksquashfs when building a snap <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7824>15:21
* zyga participated in his son's birthday16:05
pstolowskicachio: 2 questions to #7815, once clarified i can +1 it16:07
mupPR #7815: tests: reduce the complexity of the test-snapd-sh snap <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7815>16:07
Chipacai'ma gonna go ahead and EOW17:33
* Chipaca just broke all the tests17:33
Chipacasee y'all monday17:33
sdhd-saschazyga: hi, Hope your day was better than the night.17:49
zygasdhd-sascha: it was pretty calm :)18:23
sdhd-sascha:) I had to help the in-laws today.18:25
sdhd-saschaI had two small question, if you have time ?18:26
zygasure18:27
sdhd-saschaIs it possible to use a part only on a specific release (e.g. only on bionic) ?18:29
zygaare you asking about building in snapcraft?18:30
sdhd-saschai found the advanced-grammer - but until now no source code18:30
sdhd-saschayes18:30
zygayeah18:30
zygathe source code is in a sister project, there are tests for this feature18:30
zygawhich can be used as quick documentation18:30
zygait's github.com/snapcore/snapcraft18:30
sdhd-saschaok, i have it already here18:31
zygaI don't know the details, I think it's meant for system packages that can be injected into a snap package18:31
zygayou can vary those depending on build architecture IIRC18:31
zygabut it's not for this-or-that release18:31
zygabecause the release is fixed by the selection of the base snap18:31
zygainside snap.yaml and snapcraft.yaml you can say base: foo18:31
zygaand foo is a base snap name that defines how to build it18:31
zygaand how to run it18:31
zygathere are two commonly used base snaps now18:31
zygacore, which is derived from ubuntu 16.0418:32
zygaand core18 which is derived from ubuntu 18.0418:32
sdhd-saschayes :-)18:32
zygaif you say base: core18 you will get binary packages from the matching architecture of that release18:32
sdhd-saschai found it inside git:snapcraft/internal/project_loader/grammer/_on.py18:32
sdhd-saschahttps://www.irccloud.com/pastebin/UecwmS5C/18:33
sdhd-saschamy problem is, that fontconfig of my 19.04 host is incompatible, with core18 ... Ok, i will try if a newer fontconfig inside a part is backward compatible18:34
zygayeah, as I said it's for things like "on arm64 use this package" on "amd64 use that package"18:34
zygawait wait18:34
zygayour host should not be a part of the build18:34
zygawhen you build with snapcraft your tree should be transferred to a pristine vm managed by multipass18:34
zygaand built there18:34
sdhd-saschaYes, but /etc/fonts/font.conf is from the host and mounted inside the snap18:34
zygathe vm will match the base you picked18:34
zygaah, yes18:34
zygaand what are you seeing?18:34
zygawe have some special handling for fontconfig18:34
zygaperhaps there's a bug or the current system is insufficient18:35
sdhd-saschai see:18:35
sdhd-saschaFontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'18:35
zygacan you please report that, along with the output of "snap version" on bugs.launchpad.net/snapd18:35
zygawe'll have a look on Monday18:35
zygaI have a plan to stop sharing /etc18:35
zygaas it was a mistake18:35
zygabut it's not urgent enough to push through18:36
zyga(there are higher priority topics first)18:36
zygaonce that is done we can synthesize correct /etc/fonts and anything else that matches the base snap18:36
sdhd-saschaok. Also the goal is to not share /etc. right? (only i ask only for me, because i will experiment on this weekend)18:38
zygathat's my goal18:38
zygait's not on the product roadmap18:38
zygait will likely happen during the cycle18:38
sdhd-saschaWhy would it be bad, to build fontconfig into the snap? (not urgent this question, i will try this too)18:39
zygayou can18:39
zygabut it's just bigger18:39
zygaand usually there's a fontconfig around from other places18:40
zygae.g. the gnome runtime content snap18:40
sdhd-saschaok18:40
zygasnaps don't have a "you must" policy usually18:40
zygaso if you want to showcase a cool feature of patched fontconfig18:41
zygago for it :)18:41
zygait's not like classic packaging18:41
sdhd-saschaThe second question was: What is the difference of plugs/slot inside apps and inside global?18:41
zygaright18:41
zygaso, in general, each app and hook can have any number of plugs and slots18:41
zygaif you define a plug at a level of a specific app or hook it is "bound" there18:41
zygaif you define it globally you add it to all the apps and hooks18:42
zygaexcept if you define it globally but then only mention it in a specific app or hook18:42
sdhd-saschaok. i understand.18:42
zygathe reason to define plugs and slots globally is so that you can use the richer syntax that has attributes18:42
zygasome interfaces require that18:42
zygaat app/hook level you can only use the abbreviated syntax18:42
zygawhere just the name is given18:42
zygaand it defines a plug or slot with the same name and type18:43
zygaone example that is very common, that requires global definitions is the content interface18:43
zygabecause it always requires some attributes18:43
zygathat's that18:43
zygaI think it's fairly documented on snapcraft.io/docs18:43
zygabut if you find something is missing or unclear please just say so18:43
sdhd-saschaThe docs have also hidden pages, which are not in the menu, only in the text...18:44
sdhd-saschaAbout plugs/slots:18:44
zygamissing links are easy to fix18:44
zygayou can just go to the forum18:44
zygaand comment on the thread18:45
zygathere's a link on each doc page18:45
sdhd-saschaNow if a snap provide wayland and can also run under wayland, how should this be defined ? I got a error, if i use the wayland plug/slot as both18:45
zygaor ping @degville about it, he's managing documentation18:45
zygaso interfaces have two sides, plugs and slots18:45
sdhd-sascha:)18:45
zygaslots are the "providing" part, and plugs are the "consuming" side18:45
zygahaving a plug or slot may already give you some permission18:45
zygahaving a plug or slot connected to another slot or plug usually gives even more permissions18:46
zygaare you asking what is needed to run a wayland _server_?18:46
sdhd-saschaBoth, wayland as client under wayland. And wayland as server, and later as client for other snaps.18:47
zygaahj18:47
zygaI see18:47
zygaso you need two interfaces18:47
sdhd-saschaBut we can delay this question.18:47
zygaplug and slot of wayland18:47
zygathey just need to have different names18:47
sdhd-saschaAh18:47
zygaplugs: wayland-client: interface: wayland18:47
zygaslots: wayland-server: interface: wayland18:47
sdhd-saschaokay, then copy, paste the interface18:47
zyga(insert tabs and newlines as required)18:47
zygayeah18:48
sdhd-saschai understand18:48
zygawe added a requirement for plugs and slots to have unique names18:48
zygato avoid confusing situations18:48
sdhd-saschazyga: thank you. Now i have enough task, for the weekend ;-)18:49
zygaenjoy :)18:49
sdhd-sascha:)18:51
* cachio afk18:54
mupPR snapd#7826 opened: tests: use on spread tests the test-snapd-sh snap <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/7826>23:51

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