[05:26] morning [06:19] morning [06:21] pstolowski: hey [06:22] pstolowski: can you take a look at https://github.com/snapcore/snapd/pull/10567 ? [06:30] sure [06:41] pstolowski: thanks! [06:41] hmm i was checking something with refresh and saw this in snap refresh --time: `next: yesterday at 19:27 CEST` [06:41] something isn't right there [06:42] mborzecki: that's sounds like the issue i'm investigating [06:43] pstolowski: do you want anything? logs? state? [06:44] mborzecki: yes, also run snapd with SNAPD_DEBUG till auto refresh logic kicks in. I got this on the bug report but it won't hurt to collect more [06:49] pstolowski: https://paste.ubuntu.com/p/9JgDktNKvg/ [06:51] good morning mborzecki and pstolowski [06:51] pstolowski: btw. i'm thinkign that the refresh was scheduled for 5:30pm yday, but then i suspended the system before that so that the refresh didn't run, that's why it's showing yesterday in next refresh time, but it should have been triggered during the usual 5 minute ensure cycle, shouldn't it? [06:51] mvo: hey [06:51] hey mvo [06:53] * _moep_ waves… [06:56] mborzecki: reviewed [07:12] goood morning :) [07:14] mvo: can you take a look at https://github.com/snapcore/snapd/pull/10540 ? [07:17] mborzecki, how about weakly linked symbol instead? [07:17] no dlopen hassle [07:17] same semantics [07:17] you can just check if it's null [07:18] we link to libudev dynamically anyway, because it is required [07:19] zyga: hm that might work [07:20] mborzecki, give it a try :) [07:20] __attribute__((weak)) IIRC [07:24] mborzecki: is next-refresh still bogus on your system? [07:24] hey zyga [07:24] hey pstolowski :) [07:25] pstolowski: no it's correct now, it ran at 8:42 and calculated next time to be 2021-07-28T15:08:04+02:00, which is reported by snap refresh --time too [07:26] so right at the time i was collecting the logs [07:32] mborzecki: right. and before you restarted snapd was it running long enough for ensure to kick in right? [07:32] pstolowski, maybe suspend and stale time or something? [07:33] pstolowski: yeah, i'm around since ~730 so it shoudl have more than enough time to execute ensure a couple of times [07:33] zyga: could be, although we have a vaguely similar issue from the field where suspend isn't the case [07:34] hmm [07:34] would it happen if the state lock was held for a long time? [07:34] I guess so [07:36] yes, probably, but no evidence of this atm [13:10] mvo: pstolowski: https://paste.ubuntu.com/p/pWFnT6yKfK/ snap changes [13:10] mborzecki: \o/ [14:11] zyga: around by any chance ? [14:12] wondering if you have any drive by thoughts on https://forum.snapcraft.io/t/egl-using-snaps-on-impish-seem-to-be-broken-when-using-the-nvidia-proprietary-driver/25715 [14:12] seems pretty problematic for our nvidia story [14:51] * cachio afk [15:20] ijohnson[m] re [15:20] ijohnson[m] yes [15:20] looking [15:21] ijohnson[m] can we just add the new .so files and keep the current setup going? [15:21] problem is new .so files need libc6 that is not compatible with the base snap [15:22] ohhh [15:22] wait [15:22] wait [15:22] is it? [15:22] ijohnson[m] all the .so files come from nv [15:22] we have no way to rebuild them [15:23] and traditionally nv has been using very old libc as build base [15:23] has that changed? [15:23] I dunno [15:23] this is on impish, so something could have changed [15:23] did you check that you need new libc or is that something you've deduced out of the output [15:23] because seeing ldd there is not conclusive [15:23] although I'm not sure that specific lib that laney saw is nvidia specific [15:24] ijohnson[m] which specific one? [15:24] libgnv0? [15:24] *libglvnd0 [15:24] libEGL.so.1 [15:25] no, that's not specific [15:25] it's just a version from nvidia that they provide [15:44] zyga-mbp: right but if that library has a dependency on a new libc, and a snap depends on that library, then doesn't the problem still exist ? [15:44] ijohnson[m] sure but I want to confirm that the dependency is real [15:44] is the old libc from (whatever the base is) able to resolve all the symbols in that set of nv libs? [15:45] ijohnson[m] I'll be rebooting for updates in 5 minutes [15:45] zyga-mbp: I don't know, I would need to look, but that's a good point [15:45] it may be an artificial dependency [15:46] it's just resolved with host libc [15:46] that's harmless [15:46] well it's not harmless cause snaps don't work on impish due to this [15:47] wait [15:47] that's backwards [15:47] the problem is new nvidia libs [15:50] yeah let me ask laney to confirm if the new nvidia libs also need new libc6 [15:50] cause that would be a larger problem [16:32] yeah it seems libe libEGL.so.1 does indeed depend on symbols from glibc 2.33, it uses fstat64 [16:33] this could be a large problem :-/ [20:14] ijohnson[m] ouch [20:14] ijohnson[m] what's the affected base? [20:15] zyga-mbp: core18 I think, but core20 would also be affected, the host OS is 21.10 (dev) [20:15] hmm [20:15] right [20:15] but [20:15] fstat64 is ancient [20:15] I'm sure it's in older libc [20:15] perhaps the symbol version is different [20:16] Hmm, why is it marked as being necessary from glibc 2.33 [20:16] but the syscall is not by any chance new [20:16] glibc is famously versioning symbols [20:16] so it's not foo [20:16] it's foo@1.23 [20:16] ah right [20:16] anyway, I'm sure it's solvable [20:16] may require something mildly hacky [20:17] well as @laney pointed out that particular lib could be rebuilt with an older base distro, but that's not something that snapd can do, that has to be done to the archive and/or the host system [20:17] is that libEGL.so? [20:17] if that's the nv version then it cannot be rebuilt [20:18] remember that nvidia provides several interfaces, some have a "common" name [20:18] like libEGL perhaps [20:18] there are many files with that name, [20:18] I need to run [20:18] yes that's from the archive, I think that can be rebuilt easily, but the nv specific libs yes you're right I don't think we can re-compile those [20:18] rain is coming and I'm only here to close windows [20:18] thanks for your insight! [20:18] ttyl [20:18] those get dpkg-diverted IIRC [20:18] or something equivalent [20:18] I'm running impish [20:19] _and_ i have nv on that laptop [20:19] what's the snap name that lanely mentioned? [20:19] ah, you should try to see if flokk-contacts works on your machine I assume it will not [20:19] thanks [20:19] I'll try [20:19] gotta close other windows [20:19] looks like nightly thunderstorm [20:19] o/ === diddledan is now known as diddledani