/srv/irclogs.ubuntu.com/2018/10/17/#snappy.txt

mupPR snapd#5969 closed: apparmor: add unit test for probeAppArmorParser and simplify code  <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/5969>01:04
mupPR snapcraft#2356 closed: nodejs plugin: add support for bases <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2356>01:27
=== chihchun_afk is now known as chihchun
mborzeckimorning05:00
=== chihchun is now known as chihchun_afk
zyga Good morning06:15
mborzeckizyga: hey06:17
zygaCold morning06:19
mvohey zyga06:21
zygaHey, how are you?06:22
mvozyga: good, thank you - how are you?06:24
mborzeckimvo: morning06:25
zygaGood, last evening was fun :-) we loved the movie06:26
mvohey mborzecki06:26
mvolots of green tests today?06:26
mborzeckifinally :)06:31
mupPR snapd#5948 closed: asserts, image: ensure kernel, gadget, base and required-snaps use valid snap names <Parallel installs ⛓> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5948>06:32
mupPR snapd#6003 closed: cmd/snap: block 'snap help <cmd> --all' <Simple 😃> <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6003>06:49
mupPR snapd#6005 closed: snap/pack, snap/squashfs: remove extra copy before mksquashfs <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/6005>06:50
mupPR snapd#5999 closed: tests: ensure that goa-daemon is off <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5999>06:51
slvn_Hey, my 10 snaps games are published for a while. Only two of them appear in the listing of snapcraft.io when searching in "Games", but appears in "All snaps". It seems Categories Game is not correctly detected. It happens also for many other Snaps.06:51
zygaHey, slvn_ - I would recommend to ask in the four of you don’t get a reply here. It is still early and store people are in other time zones as well06:54
mborzeckislvn_: s/four/forum/06:54
zygaBut do come back if you don’t get a reply! Thank you for making snaps :-)06:55
* zyga responds from a phone06:55
pstolowskimornings06:56
zygaDzień dobry06:57
mupPR snapd#5997 closed: ifacestate: simplify task chaining in ifacestate.Connect <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/5997>06:59
slvn_thanks, ok! I'll repost in a few hours07:16
mborzeckipstolowski: cześć :)07:18
zygaguten tag mvo :)07:18
zyga(not to force one minority language upon others)07:18
mborzeckihttps://www.reddit.com/r/linux/comments/9ool14/xdgportal_support_landed_on_firefox_nightly/07:20
zygathat's cool07:21
mborzeckiDownload (curl) error for 'http://download.opensuse.org/update/leap/42.3/oss/x86_64/libgcrypt20-32bit-1.6.1-45.1.x86_64.rpm':07:35
mborzeckiheh07:35
slvn_zyga, btw, who should be contacted for http://snapcraft.io issue ?07:40
=== sparkieg` is now known as sparkiegeek
sparkiegeekslvn_: if you look in the footer, you'll see links to where to file bugs07:49
mupPR snapd#5979 closed: install: don't start disabled services <Squash-merge> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5979>08:01
zygamvo: could you please review https://github.com/snapcore/snapd/pull/5727 - this is affecting Firefox in the wild and it would be good to have in 2.3608:03
mupPR #5727: interfaces/builtin, cmd/snap-seccomp: Allow read-only ptrace, for the Breakpad crash reporter <Created by jld> <https://github.com/snapcore/snapd/pull/5727>08:03
mvozyga: this is waiting for a security review, no? happy to do a review but it seems we need jamie, no?08:05
zygayeah, I suppose you are right08:05
zygahttps://github.com/snapcore/snapd/pull/6004 is green and I'd love to land it - it is just tweaking debug messages08:07
mupPR #6004: cmd/snap-confine: reduce verbosity of debug and error messages <Created by zyga> <https://github.com/snapcore/snapd/pull/6004>08:07
* zyga goes to bring a heater into the office08:13
zygaI miss the days of Pentium 4 heaters08:13
sil2100mvo, zyga: hey, could you fill in a bug for the non-working wifi here if you have a moment? https://bugs.launchpad.net/snap-core1808:28
zygasure08:29
zygawow08:29
zygano bugs08:29
zygamust be some decent software!08:29
mborzeckiChipaca: what if we move static checks to a separate job?08:31
sil2100(/me deletes all bugs after they pop up)08:31
mvosil2100: added a bug (cc zyga)08:32
mborzeckiChipaca: unit tests already take ~8 minutes, so the stage is 8+ minutes anyway08:32
zygaoh08:32
zygado you want both? :)08:32
zygaI just wrote mine but haven't sent it08:32
zygawell, you have two now08:32
mvo:)08:32
mvosorry!08:32
Chipacamborzecki: 1/8th is still a serious chunk in the wrong direction08:32
Chipacamborzecki: static checks in a separate job would work, but I worry about using too many jobs08:33
mborzeckiChipaca: if you take the 1-2m off unit tests & static checks, and put it in a separate job, the total of the 1st stage should not be significantly affected08:33
mborzeckiChipaca: probably only way to know is to arrange it that way :)08:34
Chipacamborzecki: I'll do it, and then we see :-)08:34
mborzeckiChipaca: ok08:34
Chipacastatic checks shouldn't need the build-dep08:34
mborzeckihm we do run some go tools as static checks though08:35
mborzeckimisspel, vet?08:35
Chipacaa lot08:35
Chipacabut go is there already08:35
Chipacawe need the build deps for the c libs08:35
mborzeckioh, btw. i had that branch with gometalinter a while ago08:35
Chipacaalso we could move the travis-sie unit tests to 1.10 and it might be a little bit faster08:36
Chipacatravis-side*08:36
Chipacaand, yes i can install shellcheck from snap, will need to tweak the python to look there first08:37
Chipacaor fiddle with PATH08:37
Chipacahm08:37
mborzeckiyou can set SHELLCHECK=/some/path for spread-shellcheck08:38
mborzeckiuh, or not08:38
Chipaca:-)08:38
mborzeckiok, that should be a trivial change :P08:38
mvosil2100: added one more for you in snap-core18 bugs :)08:38
mborzeckithere's SHELLCHECK_SHELL which is kind of useless because spread does bash anywya08:39
sil2100mvo: thanks! ;)08:39
sil2100The more bugs the merrier, right?!08:39
Chipacamborzecki: doesn't spread run with -u on also?08:40
mupPR snapd#6001 closed: interfaces: typo 'allows' for consistency with other ifaces <Simple 😃> <Created by zyga> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6001>08:41
sil2100mvo, zyga: btw... core18 dailies! http://cdimage.ubuntu.com/ubuntu-core/18/pending/08:41
zygathanks pawel!08:41
sil2100(didn't check if they actually work yet, since still sprinting)08:41
zygaI can check later today08:41
mvosil2100: nice! build from what channel?08:44
mvosil2100: good stuff in any case08:45
sil2100mvo: edge by default as for 1608:45
mborzeckiChipaca: yup, looks like -u is set08:50
mvosil2100: interessting, thats a pretty high risk level. I wonder if we should reconsider this as the default (more so if that the default for uc16)08:50
mvosil2100: but not now :)08:50
sil2100It's a daily, it's like how we usually build regular images with PROPOSED enabled08:51
sil2100But yeah, we can have a discussion about that, right now an edge-build is just what we need for testing purposes!08:52
mvosil2100: ok, if it matches then thats ok I guess. edge is very edgy, probably more so than proposed. but not supper important right now08:52
mvosil2100: +1 :)08:52
sil2100Like the edge is edgy idea ;)08:52
mvosil2100: in the (very) old days the term was "crack of the day" :P but of course for our stuff the CI is a huge and effective filter so that term does no longer make sense (still amusing though)08:53
mvosil2100: anyway, great progress, thank you!08:53
mvosil2100: does it also include detection of changes in the core18 packageset? or is that something that will come later?08:53
aloceri m having font problems. no fonts are availble when using colibri or flock-chat in snap. i m on fedora 28 selinux disabled.08:54
alocertryed to mount the font directories as specified in mount-snap.fstab but not succeeded.08:55
alocerany idea08:55
Chipacamborzecki: hehe, if I run the checks using apt-provided shellcheck on 16.04, that shellcheck has no -x option, so the lack of a stdout lock makes it look like it's had too many mushrooms09:00
Chipacamborzecki: e.g.,09:01
Chipacael l =SHELL-NAeM CEO  D E1 , C O D E2Sp..e c ify-- edxicalluedce=tC (ODbEa1s,hC,OsDh,Ek2.s.h )09:01
mvoChipaca: lol09:04
zygamborzecki: thanks for the review, updated09:05
mborzeckiChipaca: haha09:10
zygahttps://github.com/features/actions <- missing a "push to snap store"09:11
niemeyerYo09:13
ChipacaWa09:13
niemeyerzyga: Yeah, I thought the same thing when I saw it.. this opens up some nice possibilities09:13
zygaI don't know if this is powered by or simply integrated with hashicorp tech though09:23
zygabut something to look at for sure09:23
zygaChipaca: did you see https://bugs.launchpad.net/snapd/+bug/179612509:24
mupBug #1796125: services in a snap with dependencies aren't started in correct order on install <snapd:New> <https://launchpad.net/bugs/1796125>09:24
mborzeckianyone up for a review of #5959?09:25
mupPR #5959: systemd: extend Status() to work for socket and timer units <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5959>09:25
zygalooking09:25
zygaah09:25
zygaI did :<09:25
zygasorry09:25
zygamborzecki: it has a conflict09:25
ChipacaI could really use reviews on #595709:27
mupPR #5957: overlord/snapshotstate/backend: fall back on sudo when no runuser <Snapshots 📸󠁟> <Created by chipaca> <https://github.com/snapcore/snapd/pull/5957>09:27
mborzeckizyga: didn't notice, thanks09:28
mborzeckiand pushed09:29
pstolowskizyga: commented on ipc/helper pr09:31
zygathanks09:31
zygapstolowski: replied, thank you09:36
niemeyerzyga: I think it's completely unrelated to HashiCorp.. they just reused the HCL, which is a JSON-like format that is nicer to type by hand09:47
zygaah, I didn't know that09:47
mborzeckizyga: Chipaca: left a note in #1796125, looks like this is a problem in systemd but i has gone unnoticed for years now, doesn't change the fact we should do something about that09:48
niemeyerIt's a nice format..09:48
mupBug #1796125: services in a snap with dependencies aren't started in correct order on install <snapd:New> <https://launchpad.net/bugs/1796125>09:48
alocerjust trying to figure out what fonts does and snap app use ?09:48
mborzeckizyga: Chipaca: btw. https://github.com/systemd/systemd/pull/7947 is fun to read09:49
mupPR systemd/systemd#7947: man: systemctl doesn't operate multiple units in a single transaction <documentation> <Created by johnlinp> <https://github.com/systemd/systemd/pull/7947>09:49
mborzeckifwiw https://lists.freedesktop.org/archives/systemd-devel/2018-January/040122.html is fun too09:52
Chipacaalocer: sorry, what's that again?09:52
Chipacamborzecki: sounds like we need to work around the systemd bug by ordering things ourselves as well09:52
Chipacamborzecki: zyga: either of you have a fedora 28 so you could look into reproducing alocer's issue?09:54
mborzeckiChipaca: either that or adding Requires/RequiredBy09:54
Chipacamborzecki: requires/requiredby means you can't stop one without t'other09:54
zygaChipaca: hmm? which issue is taht09:54
mborzeckiChipaca: yeah09:54
Chipacaalocer: what's the output of 'snap version'?09:54
Chipacazyga: no fonts in colibri09:55
mborzeckizyga: fonts ^^ ~10:5309:55
zygamborzecki: wow, I don't see that message, can you paste it again09:55
zygaIRC WTH?09:55
Chipacazyga: search for alocer?09:55
zygaChipaca: I looked09:55
Chipacazyga: IRC is fine, your async client is wacko09:56
mborzecki10:55:20      alocer | any idea09:56
Chipaca<alocer> i m having font problems. no fonts are availble when using colibri or flock-chat in snap. i m on fedora 28 selinux disabled.09:56
Chipaca<alocer> tryed to mount the font directories as specified in mount-snap.fstab but not succeeded.09:56
Chipacazyga: ^09:56
zygathanks09:56
* zyga looks09:56
zygaalocer: hold on please09:56
zygaalocer: so just install colibri and run it?09:56
Chipacazyga: seriously it's not the first time i see irccloud mess up basic message delivery on you09:57
zygaalocer quit on ping timeout here09:59
zyga:/09:59
Chipacazyga: here as well09:59
zygahmm https://www.irccloud.com/pastebin/uC4kEeDp/10:05
zygaI see a gazillion fonts in /usr/share/fonts10:06
zygawhen I do snap run --shell colibri I cannot get the app to start10:07
zygadesktophelpers quit10:07
zygaas I cannot reproduce the issue and I suspect the desktop-launch is at fault I would recommend someone that maintains it to look deeper10:08
zygaI can launch colibri by running the real command though10:09
* zyga sighs that pastebinit is broken out of the box for several releases on fedora :/10:11
zygawillcooke: hey, do you know who maintains desktop-launch?10:12
zygahttps://paste.ubuntu.com/p/bCfTD2k65M/ <- shellcheck on the desktop helpers10:12
zygaI didn't investigate what failed10:12
willcookezyga, kenvandine10:12
zygathanks!10:12
willcookezyga, well, desktop team, but Ken is the main man10:13
zygakenvandine: hey, could you give me a hand debugging app startup issue on fedora10:13
zygaI can run the app just fine manually in snap run --shell10:13
zygabut when invoked through desktop-launch it doesn't start at all10:13
zygawillcooke: super, I'll work with ken on this10:13
willcookeoSoMoN, are you able to offer any advice there too? ^10:13
oSoMoNzyga, maybe I can help, how does it fail?10:16
zygaoSoMoN: prints nothing at all10:16
zygalet me see if I can massage it to run with set -x10:16
zygaoSoMoN: https://paste.ubuntu.com/p/cjHb2cGhMg/10:19
zygathis is from snap run --shell10:19
zygaoSoMoN: if I just run ./colibri it does start10:19
zygabut fonts look wrong10:19
zygaand it shows this text:10:19
zygacolibri invoked without desktop helpers on fedora 28 https://www.irccloud.com/pastebin/XP18dwTR/10:20
oSoMoNzyga, so it looks like it's going through the entire desktop-launch script fine, and then fails on the exec?10:23
zygadunno10:23
mborzeckizyga: the fonts look a bit odd here too, a bit fuzzy i'd say10:24
zygaI see huge fonts10:24
zygabtw I have a hi-dpi setup10:24
mborzeckiand the size is off too10:24
oSoMoNzyga, can you comment out all of the contents of desktop-launch but the last line (exec), and see if that works?10:24
zygapstolowski: can you look at https://github.com/snapcore/snapd/pull/6004#discussion_r225866841 please10:25
mupPR #6004: cmd/snap-confine: reduce verbosity of debug and error messages <Created by zyga> <https://github.com/snapcore/snapd/pull/6004>10:25
zygaoSoMoN: sure10:25
zygaoSoMoN: done, what did you expect to happen?10:26
zygaI got https://paste.ubuntu.com/p/BbTqzyXmCt/10:26
pstolowskizyga: replied10:26
zyga++ cat /home/zyga/snap/colibri/8/.config/user-dirs.dirs.md5sum10:27
zyga+ [[ 7b7b9530d5860d479bc2941ec3351c69  - != \7\b\7\b\9\5\3\0\d\5\8\6\0\d\4\7\9\b\c\2\9\4\1\e\c\3\3\5\1\c\6\9\ \ \- ]]10:27
zyga 10:27
zygathis looks ... od?10:27
zygaodd10:27
pstolowskisorry for confusion ;)10:27
zygathanks, will do :)10:27
zygaoSoMoN: I'n not an expert on the desktop stack but since this is a shell script and I am terrible with shell I started by running shellcheck on it, perhaps it would be good to look at the list and see if anything could be a factor10:28
oSoMoNzyga, I'm not a shell script expert either10:37
oSoMoNzyga, I meant to comment out everything except for the last line, looks like you did the opposite10:37
zygawait, what?10:37
zygaso just exec?10:37
zygaif so then I tried that and then the application does start10:38
zygaso something set along the way makes it not start10:38
mvoniemeyer: could you please add github.com/snapcore/classic-snap to the list of things that mup watches?10:38
niemeyermvo: Of course10:38
mvothank you10:38
mvohttps://github.com/snapcore/classic-snap/pull/20 is the PR that made me ask about it. reviews welcome :)10:39
mupPR classic-snap#20: port classic to UC18 <Created by mvo5> <https://github.com/snapcore/classic-snap/pull/20>10:39
niemeyermvo: That's done10:41
mvota10:41
niemeyerWoah...10:43
niemeyerhttps://usercontent.irccloud-cdn.com/file/WHV6Qd8P/image.png10:43
niemeyerThat makes the day...10:43
mvoniemeyer: yeah! Chipaca already used it to fix typos :)10:43
niemeyerSuper cool10:43
Chipaca:-)10:44
* Chipaca wonders if "you will be attributed in the commit" is satisfied by a commit log of "$you is a fool"10:45
zygamvo: reviewed10:45
zyganiemeyer: yeah, I saw that too, it's awesome to have that :)10:46
zygaperfect for typo and other things10:46
Chipacamborzecki: snaps work on travis, but snapd isn't there by default. shellcheck on travis is 0.46, which is sufficiently new i think?10:46
Chipacamborzecki: it's not 0.50, but 0.50 isn't even out yet :)10:46
oSoMoNzyga, can I easily reproduce in a fedora VM, or does this require some preliminary set-up?10:47
zygaoSoMoN: just install and run10:47
oSoMoNok, I'll try that10:47
zygathanks! let me know if I can help10:48
oSoMoNI'm downloading a fedora ISO, I'll let you know when I reproduce the issue and start investigating it10:49
zygaok10:49
mborzeckiChipaca: any chance of getting a more recent version? iirc 0.5 i had here was more picky about out code than the version in 18.04 which is 0.4.610:53
Chipacamborzecki: grmbl. ok.10:56
Chipacaindeed 0.4.6 not 0.4610:56
mborzeckihm to do start the after/before services correctly then, we'd need to do the topo sort again11:00
mborzeckis/to do/to/11:00
mborzeckiwonder if we could make that sort generic, iirc zyga will need something like this for mounts11:01
zygayes please11:01
zygawe shoud11:01
zygalattice or whatever11:01
Chipacamborzecki: remind me, do we validate before/afters?11:01
Chipacafor cycles, i mean11:01
mborzeckiChipaca: yes, we do the 'sorting' but we're more interested in finding cycles11:02
Chipacaah ok11:02
mborzeckiChipaca: but the algo is there11:02
mborzeckiiirc we're using kahn11:02
Chipacahah, validateAppOrderCycles11:02
Chipaca"más claro, echale agua"11:02
mborzeckii added it so i should probably be the one to fix it now :)11:03
Chipacamborzecki: it's a lovely little algo tho11:10
Chipaca_please_ can i have reviews of #595711:12
mupPR #5957: overlord/snapshotstate/backend: fall back on sudo when no runuser <Snapshots 📸󠁟> <Created by chipaca> <https://github.com/snapcore/snapd/pull/5957>11:12
Chipacapedronis: what's #5712 waiting for?11:13
mupPR #5712: overlord: make InstallMany work like UpdateMany, issuing a single request to get candidates <Reviewed> <Created by pedronis> <https://github.com/snapcore/snapd/pull/5712>11:13
pedronisChipaca: more tests and a refactoring11:14
pedronisChipaca: related to the Validate*Flags helpers, if you remember I used them more uniformly now11:15
Chipacapedronis: ah. Should it get marked Blocked?11:15
Chipacaotherwise a trigger-happy me might merge it :)11:15
pedronisChipaca: well, it wouldn't hurt anything11:16
pedronisit would just need a follow up11:16
Chipacahmm11:16
pedronissorry, I always hope to have that 30mins11:16
Chipaca:-D11:16
pedronisto do the thing11:16
pedronisbut hasn't happened yet11:16
pedronisif it's annoying I can also temporarely close it11:17
zygaChipaca: done11:17
Chipacapedronis: no planning to have 30 minutes around ubuntu release time11:17
zygabrb, coffee time11:17
mupPR classic-snap#21 opened: create: improve user information <Created by mvo5> <https://github.com/snapcore/classic-snap/pull/21>11:25
mvoyay, thanks mup!11:28
zygamvo: done11:28
mvota11:29
* mvo hugs zyga11:29
zygaI didn't get the coffee11:30
zygaok, really coffee11:32
Chipacajdstrand: #5727 could use a once-over from you i think11:45
mupPR #5727: interfaces/builtin, cmd/snap-seccomp: Allow read-only ptrace, for the Breakpad crash reporter <Created by jld> <https://github.com/snapcore/snapd/pull/5727>11:45
mborzeckioff to pick up the kids11:51
zygare12:08
zygacoffee expanded into lunch12:08
Chipacalunch? so early?12:09
Chipaca… oh wait12:09
Chipacadrat12:09
Chipacai had a morning, once12:09
Chipacazyga: should I do the rename I mention in #5957?12:11
zygaChipaca: looking12:11
mupPR #5957: overlord/snapshotstate/backend: fall back on sudo when no runuser <Snapshots 📸󠁟> <Created by chipaca> <https://github.com/snapcore/snapd/pull/5957>12:11
Chipacazyga: the 'unify' comment12:12
zygathinking12:13
zygaI added an idea but really this is bike shed hue now :)12:13
zygaChipaca: is 2PM early for lunch?12:13
pstolowskiit's not12:19
* pstolowski lunches12:19
axinohi12:36
axinois there a "snap" command knob to tell me if an installed snap has "strict" or "classic" confinement ?12:37
ijohnsonaxino: `snap info snap-name --verbose` and under "notes"12:40
axinoijohnson: nice, thanks !12:41
niemeyerHey folks, we've got a conflict today in our standup, but would be nice to run that exercise for defining the features for the upcoming cycle.. should we/can we postpone the meeting today for an hour?12:42
Chipacaaxino: if it's installed,  'snap list snap-name', if it's classic it says 'classic' in the Notes column12:48
axinoChipaca: ack, thanks12:49
pstolowskiniemeyer: fine by me12:49
mvoniemeyer: works for me12:50
niemeyerThanks, I've moved the calendar event12:56
jdstrandChipaca: ack, yes12:57
zygauh13:01
zygadid standup move?13:01
zygaah, I see13:01
* zyga gets back to coding13:01
Chipacajdstrand: thanks! :-)13:01
mupPR snapd#5959 closed: systemd: extend Status() to work for socket and timer units <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5959>13:09
sergiusenszyga: oSoMoN I wouldn't put too much effort in the shellcheck stuff, you might as well copy over from the extensions work (which has been shellchecked) https://github.com/snapcore/snapcraft/pull/2359/files13:10
mupPR snapcraft#2359: [WIP] extensions: add glib <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2359>13:10
zygasergiusens: nice, thank you for the tip!13:10
mupPR snapd#6007 opened: tests/lib: add an @mozilla.com exception to the CLA checker <Simple 😃> <⛔ Blocked> <Created by chipaca> <https://github.com/snapcore/snapd/pull/6007>13:13
mupPR snapd#6008 opened: client, daemon, cmd/snap: indicate that services are socket/timer activated <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6008>13:24
mborzeckiChipaca: something you may want to look at ^^13:24
Chipacawill do13:25
mborzeckiit's passing the status of activators to the client, so now we can play with the ui all we want13:26
mupPR snapd#6009 opened: cmd: use relative file names in locking APIs <Simple 😃> <Created by zyga> <https://github.com/snapcore/snapd/pull/6009>13:39
mborzeckii suppose `snap stop` `snap start` should also DTRT wrt after/before13:45
Chipacamborzecki: as suppositions go, that's a solid one13:48
mupPR snapd#6010 opened: cmd/snap-discard-ns: add support for per-user mount namespaces <Created by zyga> <https://github.com/snapcore/snapd/pull/6010>13:48
mborzeckihaving 2 separate paths to call sysstemctl is so much fun :)13:49
oSoMoNsergiusens, I'm not planning on applying shellcheck fixes to the desktop helpers, but I want to understand why this doesn't work under fedora13:53
sergiusensoSoMoN: I will not get in your way there 🙂13:54
Chipacamborzecki: let's fix that13:57
Chipacamborzecki: i forget why we have two :-)13:57
zyganew standup time :)13:57
Chipacamborzecki: once upon a time, everything systemd went via systemd-the-package13:57
Chipacameaning reimplementing things for runit or whatever was just writing a systemd-the-package-alike13:58
zygamborzecki: can you please give a final vote on https://github.com/snapcore/snapd/pull/600413:58
Chipacatoday it's probably less true :-D13:58
mupPR #6004: cmd/snap-confine: reduce verbosity of debug and error messages <Created by zyga> <https://github.com/snapcore/snapd/pull/6004>13:58
mupPR classic-snap#22 opened: make snapcraft.yaml architecture specific <Created by mvo5> <https://github.com/snapcore/classic-snap/pull/22>14:11
niemeyerpedronis: Yeah, that's the code we were just discussing.. some more digging and testing is needed16:55
niemeyerpedronis: Have a good one16:55
niemeyerChipaca: So, back to media, sorry for the detail16:55
niemeyerderail16:55
mupPR snapcraft#2361 opened: schema: remove deprecated plugin pull and build-properties <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2361>16:56
pstolowskii'll dig in in the morning and see if we're missing normalization somewhere16:56
Chipacaniemeyer: … ?16:56
niemeyerChipaca: Sorry... I suggest going forward with the plan and preserving the current shape of our API, having "icons" as an independent entry16:56
zygare16:56
zygasomewhat related https://github.com/snapcore/snapd/pull/601216:56
mupPR #6012: interfaces: fix NormalizeInterfaceAttributes, add tests <Created by zyga> <https://github.com/snapcore/snapd/pull/6012>16:56
zygaChipaca: ^16:56
mupPR snapd#6012 opened: interfaces: fix NormalizeInterfaceAttributes, add tests <Created by zyga> <https://github.com/snapcore/snapd/pull/6012>16:56
cachiomvo, 2.35.4 is stable now16:56
cachiomvo, smoke test in progress16:56
Chipacaniemeyer: wait, what for?16:56
niemeyerChipaca: We can also add banners when we have a clear idea of how they look like, but we should clarify the discrepancies that exist between the spec and the dev API spec16:56
Chipacaniemeyer: there's never more than one icon AFAIK16:56
Chipacaniemeyer: is there going to be?16:56
niemeyerChipaca: Oh my.. I thought we were missing it.. so that's *also* duplciate16:56
niemeyerduplicated16:56
niemeyerChipaca: We just the banner then.. I wonder if we need more htan one16:56
niemeyerChipaca: Either way, we should clarify if it's the dev API doc or the spec that is right16:56
niemeyerChipaca: The dev API doc mentions "key", and "filename"16:56
Chipacaniemeyer: isn't the dev api the one snapcraft talks?16:56
niemeyerChipaca: The comment is likely just bogus.. it mentions a filename, and provides an example without a URL16:56
niemeyerChipaca: Well, or maybe not.. it's indeed storing the content, in which case it's the "url" parameter in the API that is unnecessary16:56
mupPR snapd#6013 opened: Revert "snap, client, daemon, store: use and expose "media" more (#5906)" <Created by chipaca> <https://github.com/snapcore/snapd/pull/6013>16:56
Chipacaniemeyer: I'm sure your statements make sense in the context of whatever it is you're looking at, but without that context I'm lost16:56
zygamvo: if still around please look at 601216:56
niemeyerChipaca: https://dashboard.snapcraft.io/docs/api/snap.html#get--dev-api-snaps-(snap_id)-binary-metadata16:56
zygaI had a look at how Normalize is used as well16:56
Chipacaniemeyer: that's not an api we talk to, is it?16:56
niemeyerChipaca: Yeah, it's somewhat irrelevant, other than for understanding how we get what we get. On our end the problem is simpler.. we just need to support banners, and banner icon... the one question we need answered still is what's the use for those values.. can we have multiple banners, and why16:56
niemeyerChipaca: Same thing for banner icon16:56
Chipacaa confirmation over icon being single would be nice16:56
Chipacaas well16:56
Chipacaniemeyer: in any case, #6013 reverts #590616:56
mupPR #6013: Revert "snap, client, daemon, store: use and expose "media" more (#5906)" <Created by chipaca> <https://github.com/snapcore/snapd/pull/6013>16:56
mupPR #5906: snap, client, daemon, store: use and expose "media" more <Squash-merge> <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/5906>16:56
niemeyerChipaca: The obvious reasons for having multiple icons is format and size16:56
Chipacaniemeyer: pending confirmation of these things, a related question: should I make client standalone, and could I make snap use client instead of viceversa16:56
Chipacaand if yes, should I do that after the 1.10 move so we can use aliases16:56
niemeyerChipaca: I think we had that agreement at some point, to avoid duplication by having the rest of the code importing client, which is okay. I can't remember if we ever discussed reasons for breaking that assumption with the "snap" package..16:56
Chipacaniemeyer: I think we just never got to it. It's a fair amount of work.16:56
niemeyerChipaca: There are only two imports of "snap" inside the client, but that doesn't change what you just said16:57
Chipacaheh16:57
Chipacai mean,  it's changing snap.Revision to client.Revision everywhere16:58
Chipacathat sort of thing16:58
niemeyerChipaca: The alternative would be defining "snap" to be part of the client too16:58
niemeyerChipaca: Which is reasonable to a degree..16:58
Chipacaclient/snap/...16:58
niemeyerChipaca: I mean just semantically, not necessarily the location itself16:58
Chipacaniemeyer: i got that, but we can have both16:59
Chipacabah, i dunno16:59
tomwardillHi, just to let you know the store is responding slowly / erroring, on both api and dashboard. We're working on it :)16:59
Chipacaand it's too late in the day to go poke16:59
niemeyerChipaca: We have a bunch of *util packages in a similar category.. wouldn't be nice to have client/<everything>16:59
niemeyertomwardill: Thanks for the note16:59
niemeyerChipaca: And agreed, a bit late17:00
zygatomwardill: thank you for the notice!17:00
Chipacaniemeyer: but there are things in snap that aren't client, so splitting it might be a good exercise17:00
mvozyga: \o/ you rock17:07
zygamvo: I don't know if that is the problem though17:10
zygaI did not reproduce it17:10
zygaChipaca: back now, sorry, the young one wanted food17:11
mvozyga: it probably is not but still nice17:11
zygaChipaca: reviewed https://github.com/snapcore/snapd/pull/5957#pullrequestreview-16574441017:20
mupPR #5957: overlord/snapshotstate/backend: fall back on sudo when no runuser <Snapshots 📸󠁟> <Created by chipaca> <https://github.com/snapcore/snapd/pull/5957>17:20
jdstrandroadmr: hi! can you pull r1141 of the review-tools?17:21
zygahey jdstrand17:21
roadmrjdstrand: sure, will do!17:21
zygasorry for not doing more reviews17:21
jdstrandroadmr: it would be nice if it was in before SLC, but not mandatory17:21
zygaI'll try to tomorrow, I'm just about to wrap it17:21
jdstrandzyga: hey :) no worries. belive, I know how that can happen17:22
zygajdstrand: I sent one interesting PR but not security critical17:22
jdstrandbelieve me*17:22
zygastill I wrote it as tightly as I could17:22
zygajdstrand: do you remember MNT_DETACH and unmount17:24
zygajdstrand: and the case that if a dentry is mounted in one mount namespace it is EBUSY to remove it in another17:24
zygajdstrand: that got fixed in the kernel since17:24
zygajdstrand: it's not fixed on CentOS or RHEL ... :-(17:24
zygajdstrand: we very much rely on that so bummer17:24
jdstrandwell, still progress17:25
roadmrjdstrand: I'll do my best :)17:27
Chipacaniemeyer: client uses store uses overlord/auth btw17:29
* zyga EODs17:32
niemeyerChipaca: /o\17:36
niemeyerzyga: Have a good night17:36
jdstrandroadmr: thanks :)17:37
Chipacaniemeyer: http://r.chipaca.com/snap.png17:38
Chipacaniemeyer: http://r.chipaca.com/client.png17:38
Chipacaniemeyer: osutil is orange just because it's cgo17:39
mupPR snapd#6014 opened: ifstate: fix decoding of json numbers <Created by mvo5> <https://github.com/snapcore/snapd/pull/6014>17:40
Chipacaupdated those pngs with splines17:40
* zyga sends gentle reminder for someone to look at https://bugs.launchpad.net/snapd/+bug/179612517:43
cachiomvo, https://paste.ubuntu.com/p/Sh4Zf7TyVc/17:43
zygaand really goes to play17:43
mupBug #1796125: services in a snap with dependencies aren't started in correct order on install <snapd:New> <https://launchpad.net/bugs/1796125>17:43
cachiomvo, this is the issue what we see snapd.socket failing17:44
=== leftyfb_ is now known as leftyfb
cachiomvo, sorry, this error is caused by systemd17:46
zygamvo: reviewed your pr18:11
zygaand I'm gone for real18:11
mvozyga: thank you! and totally agree, we may need to think about this in a deeper level :) enjoy your evening!18:21
cachiomvo, this is the error18:32
cachiohttps://paste.ubuntu.com/p/KQjX3SYNXz/18:32
cachioat least one error easy to reproduce18:32
cachioseem to be a race18:32
* cachio afk19:01
zygakenvandine: hey19:15
zygakenvandine: just FYI there's an issue with desktop-launcher on Fedora19:15
kenvandinezyga: what kind of issue?19:16
kenvandinei tested the GNOME snaps recently on fedora19:16
zygakenvandine: calibri doesn't start with it19:16
zygaI spent some time debugging19:16
zygaif the launcher runs and sets up stuff the app doesn't start, just quits (I didn't strace it)19:17
zygaif I run the app directly it runs but some stuff is wonky (fonts)19:17
zygakenvandine: oSoMoN also looked at it I believe19:17
zygakenvandine: the script is full of shellcheck warnings, not sure if related19:17
kenvandinezyga: do other snaps work?19:17
kenvandinelike gnome-calculator?19:17
zygakenvandine: I haven't tried many snaps, let me look19:17
kenvandinezyga: those are just places where we could quote variables19:18
kenvandinebut shouldn't effect this19:18
zygakenvandine: perhaps but maybe there are real bugs in the noise19:18
kenvandineperhaps19:18
zygainstalling now19:19
zygakenvandine: it runs19:20
kenvandineok, interesting19:21
zygakenvandine: I'll leave the rest to you though, it's far too late for work now :)19:21
kenvandinei can't debug right now, working on release stuff19:21
zygaack :)19:21
kenvandinezyga: i'll look at it soon though19:22
zygasnapd gets killed on fedora ...19:28
zygasnapd gets killed on fedora by systemd https://www.irccloud.com/pastebin/3VlZmBvX/19:28
oSoMoNkenvandine : I managed to observe the issue described by zyga in a fedora VM, but I'm afraid  I didn't go much further… chromium runs, and I've compared the desktop-launch scripts for chromium and colibri, the one for colibri appears to be a much older version, I wonder if rebuilding with a recent version would make things better?19:54
kenvandinemaybe19:55
mupPR snapcraft#2362 opened: python plugin: add support for bases <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2362>20:01
oSoMoNhrmmm, snapcraft is not available in fedora, and installing classic snaps doesn't appear to be supported :/20:04
kenvandineoSoMoN: nope20:10
oSoMoNkenvandine, I'm rebuilding the snap with a more recent desktop-launch script and will test in my fedora VM, will let you know how that goes20:11
oSoMoNkenvandine, zyga: a more recent desktop-launch script didn't change anything, the snap still won't run20:25
oSoMoNI wonder what's so special about that snap20:26
koala_manare there any snaps written in Haskell that I can look at? I can make my build work locally with 'snapcraft cleanbuild' but not on snapcraft.io20:31
oSoMoNkenvandine, zyga: I'm going offline and won't be around until Monday, if there hasn't been progress on that issue by then I can pick it up and continue investigatingq20:54
mupPR snapcraft#2361 closed: schema: remove deprecated plugin pull and build-properties <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2361>21:50
mupPR snapcraft#2363 opened: {make,cmake,autotools} plugin: add support for bases <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2363>23:14

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