=== pleia2_ is now known as pleia2 [05:34] morning [06:13] https://github.com/snapcore/snapd/pull/6992 needs a 2nd review and can land === morphis16 is now known as morphis [06:54] good morning [06:54] coffee and work [07:01] zyga: https://github.com/snapcore/snapd/pull/6992 just needs a 2nd review and we can land it [07:01] should be easy, just some test cleanup === pstolowski|afk is now known as pstolowski [07:04] morning [07:10] pstolowski: hey [07:10] +1 [07:15] yay [07:27] mborzecki: looking [07:27] hey pawel :) [07:27] 9:30 [07:27] better than yesterday [07:27] 26C and looking great [07:29] zyga: nice [07:30] zyga: sorry to keep poking you :) https://github.com/snapcore/snapd/pull/6922 [07:30] doing now [07:32] anyone managed to order pi4 4GB variant? [07:38] mborzecki: I was considering [07:38] but [07:38] mborzecki: here I can get the es keyboard layout (I wanted the desktop kit) [07:39] mborzecki: in poland I can get the .pl keyboard layout [07:39] mborzecki: in both cases I'd have to wait up to a month [07:39] mborzecki: apart from micro-hdmi (WHY!?!) it is ok [07:39] mborzecki: I'd prefer to have 3 usb-c instead [07:39] nobody loves micro hdmi cables [07:40] mborzecki: reviewing, should be done soon [07:40] zyga: i checked a couple of places but sold out [07:40] mborzecki: yeah [07:40] they flew from the shelves [07:40] just wait, GBP/PLN is favourable :) [07:43] zyga: maybe availability was like amd's vega cards ;) [07:49] mborzecki: at this price point they will fly off any store [07:50] mborzecki: I read a funny tweet yesterday, cannot remember it exactly but it roughly read "how many people will buy it just to put it on the shelf next to older pi's, also unused' [07:51] heh, was considering it a few days ago (botland.com.pl). out of stock already [07:53] pstolowski: preorder, they are the only official reseller [07:53] pstolowski: others buy from them === abeato_ is now known as abeato [08:40] mborzecki: https://github.com/snapcore/snapd/pull/6922#pullrequestreview-255050272 [08:41] mborzecki: I'll task switch to work on the feedback from both you and jstrand [08:41] I think this will land today [08:42] zyga: ok, great [08:44] zyga: i think i'll leave a todo about preserving file permissions, osutil.CopyFile can do that but in a funny way by calling cp, and while it's ok for a scenario when you build an image, it feels fragile when you update :/ [08:44] mborzecki: I think it's not needed now but it'd be worth making this explicit (as in, this is not supported and is documented as such) [08:45] zyga: mhm, sounds fair [08:47] mborzecki, pstolowski: desktop set or just bare pi4? (hard questions) [08:49] zyga: i'll try getting the regular one, the keyboard/mouse look like toys tbh [08:50] yeah but OMG shiny :) [08:50] zyga: bare [08:50] zyga: and the desktop set is what $100+? :P [08:51] it's not much, case + psu [08:51] + cables you'd otherwise how to source separately (2$ a piece) [08:51] + keyboard / mouse (with only one usb port) [09:05] xnox: 00-ꜱɴᴀᴘᴅ-ᴄᴏɴꜰɪɢ.ʏᴀᴍʟ [09:11] zyga, It is not straight forward to bind mount /usr from the snap application. Snapd bind mounts several things within /usr, but it does it before the layout binding. So those paths disappear. I would need to make a script to generate all the paths to mount in order not to mount over those paths. [09:11] valentind: yeah, mounting all of usr is tricky :/ [09:11] valentind: can you help me understand why you'd need that? [09:12] valentind: I assumed that the freedesktop runtime would be much like flatpak runtime model [09:12] valentind: with / being a full read only image (mostly) [09:12] valentind: and /app being the application image [09:12] valentind: with extra places for writable data [09:12] Yes. [09:12] valentind: in this model, can you not keep the runtime as the base snap, with /usr and all the other suspects as-is [09:12] Well, if we cannot run commands from /usr/bin it is annoying. [09:13] valentind: perhaps that's what we should fix, we could change snapd to generate different apparmor template for if the base snap is the freedesktop runtime [09:13] I could also just mount /usr/bin from the app with the files copied from the runtime. [09:13] zyga, Yes, this is what I would like. [09:13] But I do not know how much time it would take to get there. [09:14] valentind: perhaps not that much, can you tell me if what you are missing is simply [09:14] (in apparmor terms) [09:14] I do not mind providing a apparmor template for freedesktop sdk, this is fine. [09:14] /usr/bin/** ixr, [09:14] perhaps coupled with something similar for /usr/lib [09:15] This would be enough I think. [09:15] I think we can do that then, is there a thread I can reference in the pull request? [09:15] I think we need run only for ld.so, and it is already there. [09:15] valentind: can you make that modification locally? [09:15] Libraries do not need execution otherwise. Just that the dynamic loader can be executed. [09:15] Sure, I can do that. [09:16] valentind: you can install a snap, edit /var/lib/snapd/apparmor/profiles/snap.$SNAP_NAME.$APP_NAME, reload that using apparmor_parser -r /path/to/profile and see if that fixes it [09:16] valentind: once you have the set of changes I can make a quick PR [09:16] thank you! [09:18] Ah libexec as well [09:18] I'm sure there's a small list you can find by iterating [09:18] Chipaca: ship it! [09:18] Chipaca: i should totally do that somewhere sometime, as the defualt filename. [09:20] zyga, yes that works. I will check a bit more to see what makes sense to add. [09:20] thanks! [09:20] xnox: that's the output of 'unifonter -k k 00-snapd-config.yaml' fwiw [09:25] brb, short walk to the library [09:25] (free wifi, ac and super quiet) [09:42] re [09:42] I forgot how nice this place was [09:43] zyga, I have found few other places than /usr/bin/ and /usr/libexec/ where there are binaries. But I think I will change freedesktop sdk to move them to libexec. Not sure why they are there. [09:52] valentind: what kind of executables were those? [09:52] It is in the library directory. [09:52] They look like libexec things. [09:57] valentind: in /usr/lib? [09:57] valentind: I think it's okay to add to the template instead of changing the base snap too much [09:57] OK, then. [09:59] So yes, {,/usr}/bin/* {,/usr}/libexec/** and {,/usr}/lib/**. Should I make a mr? Or will you take care of that? [10:04] valentind: I can do that [10:04] valentind: I have some ideas where that should be [10:04] OK Great. [10:31] could I have a second review of a very very simple but important pr, #7040 ? [10:31] https://github.com/snapcore/snapd/pull/7040/files [10:39] Chipaca: do you know if we're doing another . release? [10:45] mborzecki: can you do another pass over infofile subset of https://github.com/snapcore/snapd/pull/7026/files [10:45] mborzecki: I will address the remaining comments now [10:47] zyga: sure [10:50] I need to take a break, the library is closing soon [10:50] see you soon [11:06] Can I get any love in the reviews? https://snapcraft.io/gitl [12:00] zyga: added some comments about new info scanner [12:06] Thanks [12:06] Resuming work now [12:09] How often are review-tools updated? [12:21] wieczorek1990: on demand, I think [12:34] wieczorek1990: jdstrand likely knows best [12:37] brb for lunch [12:38] wieczorek1990: or roadmr also knows AFAIK [12:49] mborzecki: jdstrand told me to wait :) [12:54] wieczorek1990: the review-tools are updated. roadmr is getting them to production as we speak. it should be soon [12:54] cool === ricab is now known as ricab|lunch [13:01] mborzecki: trying to join standup [13:23] wieczorek1990: it seems likes you may have auto-uploads setup for gitl? if so, you may want to pause them for the next day or so until they start passing automated review [13:24] just let me find that option :) [13:25] jdstrand: removed from the build list [13:25] wieczorek1990: I'll ping you when the tools are in proc then [13:26] jdstrand: thanks [13:51] Ping kyrofa / sergiusens: https://forum.snapcraft.io/t/cmake-part-with-build-snaps-gets-mangled-include-parameters/ → any quick hint what's going wrong here? [13:52] dot-tobias, what did you break again ? [13:52] :) [13:55] ogra: Just one of my user-errors again, I hope 😄 [13:55] Holding It Wrong™ [13:56] must be the heat [13:56] most definitely === ricab|lunch is now known as ricab [14:37] wieczorek1990: ah, the update is in prod now and gitl passes automated reviews :) (see r141). all the other revisions are now being scanned and passing (up to r147 now) [15:01] jdstrand: hello, I sent several updates to https://github.com/snapcore/snapd/pull/7026 -- could you do another pass please [15:01] jdstrand: I'm still doing a few changes to the comments as you suggested but the "essence" of the changes are good now IMO [15:19] zyga: ok [15:34] * zyga moved closer to home [15:38] Saviq: is is possible to adjust the mirror when using snapcraft with multipass? (maybe that is a question for sergiusens... hi to both of you!) [15:38] I'd like to use something other than archive.ubuntu.com [15:39] jdstrand: not easily with snapcraft, no - it doesn't give you a way to modify the cloud-init [15:39] today, only option would be to `snapcraft pull` a part, then get into the instance and switch the mirror [15:40] long-term, we're working on configurable cloud-init defaults in Multipass, which could help with this (although snapcraft provides a cloud-init, I wonder if we should mess with it…) [15:40] jdstrand: one way or another, yes I'd say it's a sergiusens question :) [15:41] b/c I'd rather see snapcraft allowing you to specify a mirror rather than you hacking the instances under its feet :) [15:41] there's also an option of a snapcraft plugin… [15:42] but you'd need to modify each snapcraft.yaml to make it use the plugni [15:42] so yeah, I really think this kind of thing would be a snapcraft one :) [15:45] jdstrand, you can easily do that by adding an extra part to your snapcraft.yaml that calls add-apt-repository ... i.e. pilibs here adds a PPA (but any proper deb archive should actually work here), pistream (the part afterwards) then uses a package from there (libraspberrypi-bin) https://github.com/ogra1/picamera-streaming-demo/blob/master/snap/snapcraft.yaml#L37 [15:46] that way should work in any build env (multipass, launchpad buildd etc) [15:48] hi, is it possible for a snap to know if it's installed with --devmode? [15:51] ackk: what for? [15:51] Chipaca, basically conditional logic in hooks as you can do stuff like chown if in devmode [15:52] given that devmode isnt something you should/would use permanently you should really not do any permanent hacks in your hooks for it [15:54] ackk: if you really really need to do this, try snap list $SNAP_INSTANCE_NAME [15:54] ackk: if you can do that, you're in devmode* [15:54] * or you have snapd-control [15:55] Chipaca, ah, interesting trick :) [15:55] Chipaca, thanks [15:56] actually it works also if you have snapd-control :) [15:56] because you can't run snap :) [15:56] heh, cool === pstolowski is now known as pstolowski|afk [16:42] * zyga -> nap [16:42] zzzz [17:04] https://www.irccloud.com/pastebin/3kyusPpM/ [17:04] So, I've been trying to enable aliases in gitl run using snap, and I'm kind of blocked. Getting this error: [17:04] error: could not lock file /home/luke/.gitconfig: Permission denied [17:04] Thought there won't be errors after adding the personal-files interface [17:04] Here's my snapcraft.yaml: https://github.com/wieczorek1990/gitl/blob/master/snap/snapcraft.yaml [17:04] Here's the function in git causing problems: https://github.com/git/git/blob/ab15ad1a3b4b04a29415aef8c9afa2f64fc194a2/lockfile.c#L73 [17:04] Any hints? [17:07] Other thing is that normal aliases don't work, they exit with a message like this: [17:07] expansion of alias 's' failed: 'status' is not a git command [17:07] but they work if written as "s = !git status", strange [17:08] did you actually connect the interface ? it surely doesnt automatically connect [17:09] it's there when I run `snap connections gitl` [17:10] and connected ? [17:10] (did you explicitly run snap connect for it after install) [17:10] No, I ran install from the store [17:11] yeah, that wont connec it [17:11] you need to explicitly run snap connect : [17:11] (i never used personal-files so i dont know where to you need to connect) [17:14] connecting did not change a thing [17:24] Did not expect so much work for deploying app with snap :) [17:29] well, the good thing about snap packaging is that once you figured it out you usually do not need to touch it again [17:53] store is somewhat red [17:54] https://www.irccloud.com/pastebin/YI8ilsRW/ [17:54] noise][: ^ https://status.snapcraft.io/ is green, should I see anything ? [17:56] nothing alerting but let me take a look [17:59] it's not all the stuff I do but I've restarted tests over small one-off failures a few times [18:01] Will the "Gnome Software" ever be gaining support for displaying markdown read from a snap apps description properly? [18:01] zyga: we are seeing some elevated err rates, coinciding with a deploy, investigating and will update status page in a minute [18:02] Ascii cast and video support would also be awesome [18:02] as always, thank you for keeping the store running :) [18:13] zyga: all fixed now, was 1 bad unit in a pool, monitoring caught it but as a low-prio so nobody had looked at it right away [18:13] we will fix that as well :) [19:04] noise][: super, thank you === harrisj_ is now known as harrisj [20:13] Saviq: ack, thanks [20:14] ogra: thanks. the thing is I want to change the mirror (not a ppa) only for local builds, not LP builds [20:17] jdstrand: https://github.com/snapcore/snapd/pull/7026 is green [20:17] I have some more tests piled up but I'll wait for your review first [20:17] jdstrand: the only significant change I'd like to introduce is to allow to define a memory cap so that unbound input cannot happen [20:25] zyga: is that in a subsequent PR or this one? [21:41] jdstrand: perhaps subsequent since this is green now [21:42] jdstrand: or either if you'd like to see that earlier [21:42] jdstrand: I'm mainly trying to be practical and land it soon [21:43] zyga: I'd prefer to review 7026 if you're done with it. I think that improvement could come in a subsequent PR (we do control the file after all, so I consider this landable without it (sans my 2nd review)) [21:43] jdstrand: +1 [21:43] jdstrand: I'm happy with that [21:44] zyga: put another way, I didn't want to review it and then have you add more :) [21:44] sure [21:44] if we could avoid it (can't always) [21:44] ok, so I'll take a look at it after a couple things. might be tomorrow morning [21:45] thank you, I'm heading to bed anywa [21:45] I'll work with maciej to get it re-reviewed [21:45] hopefully it could land tomorrow [21:45] zyga: good night! :) [21:45] good night :)