/srv/irclogs.ubuntu.com/2021/07/28/#snappy.txt

mborzeckimorning05:26
pstolowskimorning06:19
mborzeckipstolowski: hey06:21
mborzeckipstolowski: can you take a look at https://github.com/snapcore/snapd/pull/10567 ?06:22
pstolowskisure06:30
mborzeckipstolowski: thanks!06:41
mborzeckihmm i was checking something with refresh and saw this in snap refresh --time: `next: yesterday at 19:27 CEST`06:41
mborzeckisomething isn't right there06:41
pstolowskimborzecki: that's sounds like the issue i'm investigating06:42
mborzeckipstolowski: do you want anything? logs? state?06:43
pstolowskimborzecki: 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 more06:44
mborzeckipstolowski: https://paste.ubuntu.com/p/9JgDktNKvg/06:49
mvogood morning mborzecki and pstolowski 06:51
mborzeckipstolowski: 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
mborzeckimvo: hey06:51
pstolowskihey mvo06:51
* _moep_ waves…06:53
pstolowskimborzecki: reviewed06:56
zygagoood morning :)07:12
mborzeckimvo: can you take a look at https://github.com/snapcore/snapd/pull/10540 ?07:14
zygamborzecki, how about weakly linked symbol instead?07:17
zygano dlopen hassle07:17
zygasame semantics07:17
zygayou can just check if it's null07:17
zygawe link to libudev dynamically anyway, because it is required07:18
mborzeckizyga: hm that might work07:19
zygamborzecki, give it a try :)07:20
zyga__attribute__((weak)) IIRC07:20
pstolowskimborzecki: is next-refresh still bogus on your system?07:24
pstolowskihey zyga 07:24
zygahey pstolowski :)07:24
mborzeckipstolowski: 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 too07:25
mborzeckiso right at the time i was collecting the logs07:26
pstolowskimborzecki: right. and before you restarted snapd was it running long enough for ensure to kick in right?07:32
zygapstolowski, maybe suspend and stale time or something?07:32
mborzeckipstolowski: yeah, i'm around since ~730 so it shoudl have more than enough time to execute ensure a couple of times07:33
pstolowskizyga: could be, although we have a vaguely similar issue from the field where suspend isn't the case07:33
zygahmm07:34
zygawould it happen if the state lock was held for a long time?07:34
zygaI guess so07:34
pstolowskiyes, probably, but no evidence of this atm07:36
mborzeckimvo: pstolowski: https://paste.ubuntu.com/p/pWFnT6yKfK/ snap changes13:10
mvomborzecki: \o/13:10
ijohnson[m]zyga: around by any chance ?14:11
ijohnson[m]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/2571514:12
ijohnson[m]seems pretty problematic for our nvidia story14:12
* cachio afk14:51
zyga-mbpijohnson[m] re15:20
zyga-mbpijohnson[m] yes15:20
zyga-mbplooking15:20
zyga-mbpijohnson[m] can we just add the new .so files and keep the current setup going?15:21
ijohnson[m]problem is new .so files need libc6 that is not compatible with the base snap15:21
zyga-mbpohhh15:22
zyga-mbpwait15:22
zyga-mbpwait15:22
zyga-mbpis it?15:22
zyga-mbpijohnson[m] all the .so files come from nv15:22
zyga-mbpwe have no way to rebuild them15:22
zyga-mbpand traditionally nv has been using very old libc as build base15:23
zyga-mbphas that changed?15:23
ijohnson[m]I dunno15:23
ijohnson[m]this is on impish, so something could have changed15:23
zyga-mbpdid you check that you need new libc or is that something you've deduced out of the output15:23
zyga-mbpbecause seeing ldd there is not conclusive15:23
ijohnson[m]although I'm not sure that specific lib that laney saw is nvidia specific 15:23
zyga-mbpijohnson[m] which specific one?15:24
zyga-mbplibgnv0?15:24
zyga-mbp*libglvnd015:24
ijohnson[m]libEGL.so.115:24
zyga-mbpno, that's not specific15:25
zyga-mbpit's just a version from nvidia that they provide15:25
ijohnson[m]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
zyga-mbpijohnson[m] sure but I want to confirm that the dependency is real15:44
zyga-mbpis the old libc from (whatever the base is) able to resolve all the symbols in that set of nv libs?15:44
zyga-mbpijohnson[m] I'll be rebooting for updates in 5 minutes15:45
ijohnson[m]zyga-mbp: I don't know, I would need to look, but that's a good point15:45
ijohnson[m]it may be an artificial dependency15:45
zyga-mbpit's just resolved with host libc15:46
zyga-mbpthat's harmless 15:46
ijohnson[m]well it's not harmless cause snaps don't work on impish due to this15:46
zyga-mbpwait15:47
zyga-mbpthat's backwards15:47
zyga-mbpthe problem is new nvidia libs15:47
ijohnson[m]yeah let me ask laney to confirm if the new nvidia libs also need new libc615:50
ijohnson[m]cause that would be a larger problem15:50
ijohnson[m]yeah it seems libe libEGL.so.1 does indeed depend on symbols from glibc 2.33, it uses fstat6416:32
ijohnson[m]this could be a large problem :-/16:33
zyga-mbpijohnson[m] ouch20:14
zyga-mbpijohnson[m] what's the affected base?20:14
ijohnson[m]zyga-mbp: core18 I think, but core20 would also be affected, the host OS is 21.10 (dev)20:15
zyga-mbphmm20:15
zyga-mbpright20:15
zyga-mbpbut20:15
zyga-mbpfstat64 is ancient20:15
zyga-mbpI'm sure it's in older libc20:15
zyga-mbpperhaps the symbol version is different20:15
ijohnson[m]Hmm, why is it marked as being necessary from glibc 2.3320:16
zyga-mbpbut the syscall is not by any chance new20:16
zyga-mbpglibc is famously versioning symbols20:16
zyga-mbpso it's not foo20:16
zyga-mbpit's foo@1.2320:16
ijohnson[m]ah right20:16
zyga-mbpanyway, I'm sure it's solvable 20:16
zyga-mbpmay require something mildly hacky20:16
ijohnson[m]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 system20:17
zyga-mbpis that libEGL.so?20:17
zyga-mbpif that's the nv version then it cannot be rebuilt20:17
zyga-mbpremember that nvidia provides several interfaces, some have a "common" name20:18
zyga-mbplike libEGL perhaps20:18
zyga-mbpthere are many files with that name,20:18
zyga-mbpI need to run20:18
ijohnson[m]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 those20:18
zyga-mbprain is coming and I'm only here to close windows20:18
ijohnson[m]thanks for your insight!20:18
ijohnson[m]ttyl20:18
zyga-mbpthose get dpkg-diverted IIRC20:18
zyga-mbpor something equivalent20:18
zyga-mbpI'm running impish20:18
zyga-mbp_and_ i have nv on that laptop20:19
zyga-mbpwhat's the snap name that lanely mentioned?20:19
ijohnson[m]ah, you should try to see if flokk-contacts works on your machine I assume it will not20:19
zyga-mbpthanks20:19
zyga-mbpI'll try20:19
zyga-mbpgotta close other windows20:19
zyga-mbplooks like nightly thunderstorm20:19
zyga-mbpo/20:19
=== diddledan is now known as diddledani

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