/srv/irclogs.ubuntu.com/2022/04/06/#snappy.txt

mupPR snapd#11638 opened: tests: skip interfaces-many-core-provided on 14.04 <⚠ Critical> <Simple 😃> <Created by mardy> <https://github.com/snapcore/snapd/pull/11638>05:40
mborzeckimorning05:54
mardy'morning!06:17
mupPR snapd#11614 closed: seed,many: allow to limit LoadMeta to snaps of a precise mode <Run nested> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/11614>06:56
mupPR snapd#11621 closed: tests: allow ubuntu-image to be built with a compatible snapd tree <Run nested> <Created by bboozzoo> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/11621>06:56
pstolowskimorning07:03
mupPR snapd#11635 closed: many: fix failing golangci checks <Simple 😃> <Skip spread> <Created by MiguelPires> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/11635>07:56
mupPR snapd#11446 closed: asserts: extend optional primary keys support to the in-memory backend <snap-revision-delegation> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/11446>09:17
mupPR snapd#11625 closed: tests: update the lxd-no-fuse test <⚠ Critical> <Simple 😃> <Created by sergiocazzolato> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/11625>09:17
mardypstolowski: hi! Can "snapctl refresh --proceed" be run from within a snap (not as a hook) to trigger the update of the invoking snap?09:36
pstolowskimardy: it is but the snap needs to have snap-refresh-control interface10:03
mardypstolowski: yep, thanks. Just to be sure I understood correctly, can this also be used to ask snapd to check if a new release of the snap is available?10:22
pstolowskimardy: do you want to check or trigger an update? because for checking there is 'snapctl refresh --pending' command10:27
mardypstolowski: if I understood the use-case from the customer, this is about triggering an update10:30
mardypstolowski: or maybe both :-)10:30
pstolowskimardy: nb this is behind experimental feature flag10:31
mardypstolowski: so, if I run "snapctl refresh --pending", this will check the availability of an update with the snap store?10:31
pstolowskimardy: kind of. it doesn't query the store. it uses cached data from "refresh-candidates" in the state, we periodically update it  10:34
mardyok, thanks10:40
pstolowskimardy: there is a doc: https://forum.snapcraft.io/t/refresh-control/2721310:40
mupPR snapd#11634 closed: overlord: add missing grub.cfg assets mocks in manager_tests.go <⚠ Critical> <Squash-merge> <cherry-picked> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11634>11:02
mupPR snapd#11638 closed: tests: skip interfaces-many-core-provided on 14.04 <⚠ Critical> <Simple 😃> <Created by mardy> <Closed by mardy> <https://github.com/snapcore/snapd/pull/11638>12:12
dob1is there any way to have alacritty to work ?  is the snap package bugged?12:34
mupPR snapd#11639 opened: asserts,store: complete support for optional primary key headers for assertions <snap-revision-delegation> <Created by pedronis> <https://github.com/snapcore/snapd/pull/11639>12:38
mardydob1: hi! I never used it, but if you explain the problem we might be able to help12:47
dob1when I run it I get this error: "Error creating GL context; Received multiple errors. Errors: `[OsError("eglInitialize failed"), OsError("GL context creation failed")]`"12:48
dob1asked time ago on the official #alacritty channel, I don't remember technical details, but they said the problem is in the snap package12:48
mardydob1: if you check the journalctl output, do you see some lines that might be related, like some apparmor denials?12:49
dob1mardy, no errors on journalctl12:49
mardydob1: what does `snap connections alacritty` say?12:52
dob1mardy, nothing12:52
mupPR snapd#11202 closed: tests: Test initrd systemd configuration refactoring <Run nested> <Created by valentindavid> <Closed by valentindavid> <https://github.com/snapcore/snapd/pull/11202>12:53
mupPR snapd#11244 closed:  tests: Test initrd systemd configuration refactoring (alternative patch set) <⛔ Blocked> <Run nested> <Created by valentindavid> <Closed by valentindavid> <https://github.com/snapcore/snapd/pull/11244>12:53
mardydob1: that might be part of the issue; I think that the alacritty snap needs to declare at least an "opengl" plug, if it needs to use OpenGL12:54
dob1mardy, this is something that the package have to do, right? not me12:55
mardydob1: correct12:55
mardydob1: but here I see that they recommend install it with the --classic flag: https://github.com/snapcrafters/alacritty12:55
mardysudo snap install alacritty --classic12:56
dob1I used the snapstore12:56
mardythat might be the problem, try running a `sudo snap remove alacritty` and then the command above (it worked for me, I tried now)12:57
ogradob1, FYI https://github.com/snapcrafters/alacritty serems to be the bugtracker they use13:27
dob1mardy, but classic is just a workaround "Put snap in classic mode and disable security confinement"  because the maintainer didn't declared what the app need, or am I wrong?13:28
ograclassic is not a workaround for anything13:28
ograclassic is a packaging mode ... you can not use --classic on confined snaps 13:28
ograa snap has to be specifically packaged for classic mode13:29
ogra(and making a classic snap also means you need to get a full manual review of the ubuntu security team before being able to upload13:29
ogra)13:29
ograclassic snaps are massively hard to get right though, sicne oyu need to ship all libraries inside and need to make sure nothing leaks into your snap from the host13:30
dob1but same error13:31
ograone of the hardest bits is to get GL right in that context btw13:31
ograas https://github.com/tunix/alacritty-snap/issues/20 shows to for alacritty ... 13:32
ogra*too13:32
dob1I read some time ago before asking, this one too, never found a solution so I just let time pass but unfortunately it's the same13:33
dob1time pass for a new relase I mean13:33
ograyes, that is the issue i described above ... libs leaking in and out of the snap environment and the app not finding the correct bits 13:34
ograthough the debug output in teh issue looks like it is simply missing some bits in the shipped libs13:35
ogra(i.e. the ryzen renoir drivers)13:36
dob1in my case is an intel gpu card13:36
ograthat should be fine with standard mesa libs ... 13:37
dob1but ok nevermind, thanks anyway for the help, I will retry after some time13:37
ograeither way, you should comment on that bug 13:37
dob1to be honest, nonthing against people work and this project, but I hope they release they classic deb...13:38
dob1no more problems and more simple13:39
ograask them 🙂13:39
ograsurely not more simple fo the developer ... 🙂13:39
dob1I premis, I am not arguing, but as soon as they continue to create the snap package they will not create the deb one13:40
dob1so when they stop, no need to ask, they will create it13:40
ograwell, as long as they fix the snap this should be fine 🙂13:40
dob1imho is the classic linux problem: a lot of projects for the same goal. snap is a good idea, but then there is at least 3 similar projects for the same goal (flat, appimage, another one that I don't remember), and so people will spend time around different projects... at least deb are more common used13:42
dob1don't take it polemic :)13:44
ograwell, i dont, but debs are rather limiting in your scenario ... only a small margin of distros supports debs 13:45
ograso to support them all you'd at least need deb and rpm ... 13:45
ogranow ... different distros will have different versions of libs ... so you will need multiple debs and rpms to support all of them ... 13:46
dob1the are pro and cons, for sure13:46
ograand at some point you wont have the manpower anymore to test all of them in all their differebnt scenarios 13:47
dob1ok but on che cons you are shipping a program with all the libs, all its requirements and so on, good and bad 13:47
ograthis is why tehse "three diferent projects" as you called it exist 13:47
ograall of them allow you to only having to care for one package that runs everywhere 13:48
ograif you dont care for security at all, appimage is probably the way to go ... but it is also the one thing that none of the software apps in the distros support ... so your package is hard to discover for users13:49
dob1for example, I use intellij idea, snap is nice for it, for other ides too. I like how simply is to install it and it will be not so easy as a deb. but not all program can be a snap package imho13:49
ogracorrect 13:49
mupPR snapd#11640 opened: boot,bootloader: add missing grub.cfg assets mocks in some tests <Created by alfonsosanchezbeato> <https://github.com/snapcore/snapd/pull/11640>14:28
mupPR snapd#11637 closed: interfaces/u2f-devices: add Solo V2 <Created by rolandd> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11637>15:13
mupPR snapd#11620 closed: i/b/kernel_module_load: expand $SNAP_COMMON in module options <Squash-merge> <Created by mardy> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11620>15:28
mupPR snapd#11605 closed: cmd/snap,wrappers: fix wrong implementation of zero count cpu quota <Squash-merge> <Created by Meulengracht> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11605>15:39
mupPR snapd#11574 closed: o/snapstate: rename XDG dirs during HOME migration <cherry-picked> <Created by MiguelPires> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11574>16:04
mupPR snapd#11641 opened: cmd/snap-update-ns: apply content mounts before layouts <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/11641>18:09
mupPR snapd#11632 closed: tests: skip the test interfaces-many-snap-provided in trusty <⚠ Critical> <Simple 😃> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11632>18:39
mupPR snapd#11642 opened: Update README.md <Created by bucha-irpin> <https://github.com/snapcore/snapd/pull/11642>21:30

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