=== popey7 is now known as popey [02:38] hi how do I start a snap from a terminal if I have multiple isolations of the same snap? https://snapcraft.io/docs/parallel-installs ? [02:39] or create shortcuts to them on the desktop for that matter? [05:51] morning [06:45] PR snapd#11695 closed: libsnap-confine-private: show proper error when aa_change_onexec() fails [06:51] hi all [07:00] morning [07:00] PR snapd#11566 closed: features: enable refresh-app-awareness by default [07:05] PR snapd#11690 closed: o/snapstate: exclude TypeSnapd and TypeOS snaps from refresh-app-awareness [07:15] PR snapd#11097 closed: interfaces: add ACRN hypervisor support [07:20] good morning [09:02] hi all [09:12] hey mardy [09:16] PR snapd#11698 opened: o/snapstate: fix TestSnapdRefreshTasks test after two r-a-a PRs <⚠ Critical> [09:31] PR snapd#11699 opened: interfaces/builtin/system-packages: use a broad AppArmor snippet for mounting /usr/share/*-docs [09:46] PR snapd#11698 closed: o/snapstate: fix TestSnapdRefreshTasks test after two r-a-a PRs <⚠ Critical> [09:58] mardy: I added you to the group of people who can see crash reports in the Error Tracker [10:17] bdmurray: saw it, thanks! [10:31] PR snapd#11700 opened: sandbox: move profile load/unload to sandbox/apparmor [12:02] PR snapd#11701 opened: tests/nested: fix custom-device test [12:37] PR snapd#11456 closed: tests: Initial changes to run nested tests on uc22 [12:37] PR snapd#11622 closed: image/preseed, cmd/snap-preseed: create and sign preseed assertion [12:46] ogra: hey, fyi, zoom-client 5.10.3.2778 fails to launch for me, no sandbox denials. I had to snap revert. unfortunately I don't have time now to debug but did strace and found: write(2, "[0421/074431.324810:FATAL:platform_shared_memory_region_posix.cc(255)] This is frequently caused by incorrect permissions on /dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix.\n", 175 [12:47] jdstrand, reboot ... [12:47] ogra: I thought I read something about new snapd /dev/shm handling. I have snap 2.55.3 [12:47] that seems to be a snapd issue that solves itself after rebooting [12:47] i have seen it on one out of five machines yesterday [12:48] oh, that is super weird. I hope they're looking at that... [12:48] * jdstrand wonders if snap-discard-ns is enough [12:48] * jdstrand tries [12:48] (I have a lot of session state atm) [12:49] i havent filed it et [12:49] *Yet [12:51] ok, if I 'sudo /snap/snapd/current/usr/lib/snapd/snap-discard-ns zoom-client' then do 'sudo rmdir /dev/shm/snap.zoom-client/' then I don't have to reboot. I can say that the snap-discard-ns by itself is not enough to fix it. I don't know if the rmdir alone would fix it [12:51] ogra: thanks for the pointer! :) [12:52] thanks for te test ! [12:52] the rmdir alone didnt help for me [12:52] i tried that [12:53] boy, this bug makes me feel all those browser apps might be affected since I know they use /dev/shm [12:58] well, i think it is unusual that apps and snapd switch at the same time to it ... but yeah, if you hit that corner case ... [12:59] maybe, but if people refresh, say, only on the weekends, etc... [13:00] well, i mean devs ... i dont think any of our browsers use the shared-memory interface yet [13:00] oh I see [13:01] i was ahead with zoom since it actually completely switched its backend and hard-required a private /dev/shm [13:04] this makes things a little clearer on why things might fail if you go from no shared-memory to using shared-memory [13:04] right and both snaps upgraded at the same time [13:04] i think there is some hidden race somewhere [13:05] mardy: fyi ^. also, a snap using shared-memory (eg, the new zoom-client revision), the /dev/shm dir has world-write permissions: drwxrwxrwx 2 root root 40 Apr 21 07:53 /dev/shm/snap.zoom-client [13:05] PR #21: Drop the NotFoundHandler check that relied on undefined behaviour [13:15] mardy, ogra (cc amurray and mvo): here is the security bug https://bugs.launchpad.net/snapd/+bug/1969777 [13:15] Bug #1969777: new shared-memory interface causes /dev/shm/ dir to have world-write permissions [13:16] ogra: I referenced the problem we discussed in it [13:18] jdstrand, well, the point is there was no "before" zoom has not used /dev/shm in former versions IIRC [13:36] ogra: I can rephrase. that directory was present with 170 though [13:36] hmm [13:37] that's just part of the launcher sequence [13:37] iirc [13:38] well, now I don't remember how that all works otoh, *but* that directory was present, was 0755 and I had to rmdir it [15:37] Does snap follow apt's orders regarding when to update, apt freeezes etc or does it have its own mind? [15:40] pikapika: snap doesn't interpret apt directives. It is a completely different system. [15:40] Wimpy, how do we control a given snap [15:40] ie can we tell it to only upgrade manually [15:40] What do you mean by control? [15:40] and where is it's configuration stored [15:40] No, snaps always auto update. [15:41] How can that be disabled? [15:41] You can defer updates for a while, but after 30 days they will update. [15:41] I see [15:41] It can not be completely disabled. [15:42] you can delay updates by 30 days as Wimpy said ... but the new desktoip will have additional integration [15:43] ogra, where is a snaps .config folder [15:43] you get a notification about upgrades ... and eventually you will also be able to manage them [15:43] pikapika, ~/snap//current/ [15:45] pikapika, or if you mean system wide you use "snap set system ..." https://snapcraft.io/docs/system-options [15:46] ogra, is snap set system analogous to etc/ ? [15:47] it is for global snap serttings [15:47] well [15:48] it doesn't seem to be app specific [15:48] so its not analogous [15:48] no, thats up to the app packagers [16:00] jdstrand: thanks, indeed that's not right [16:01] ogra: fyi, the 'Launch meeting' functionality from the browser doesn't work right in zoom-client (separate from the other issue). (This is where you have a zoom url in say your google calendar, click it, takes you to a page that has a button to click that opens zoom) [16:01] ogra: you may need browser-support looking at the denials [16:01] (if you don't already) [16:02] I reverted again [16:02] i dont [16:02] will add ... [16:02] thanks for the report ! [16:02] (in a meeting; a zoom meeting ;) ) [16:02] thanks! [16:03] ogra: ping me and I can test the new version [16:03] will do [17:58] PR snapd#11702 opened: tests: add spread test to test upgrade from release snapd to current [21:29] PR snapd#11703 opened: tests: initial set of tests to uc22 nested execution