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

=== popey7 is now known as popey
transhumanisthi 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:38
transhumanistor create shortcuts to them on the desktop for that matter?02:39
mborzeckimorning05:51
mupPR snapd#11695 closed: libsnap-confine-private: show proper error when aa_change_onexec() fails <Simple 😃> <Created by mardy> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/11695>06:45
mardyhi all06:51
pstolowskimorning07:00
mupPR snapd#11566 closed: features: enable refresh-app-awareness by default <Squash-merge> <Run nested> <cherry-picked> <refresh app awareness> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11566>07:00
mupPR snapd#11690 closed: o/snapstate: exclude TypeSnapd and TypeOS snaps from refresh-app-awareness <Needs Samuele review> <cherry-picked> <refresh app awareness> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11690>07:05
mupPR snapd#11097 closed: interfaces: add ACRN hypervisor support <Squash-merge> <Needs Samuele review> <Created by igorljubuncic> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11097>07:15
zyga[m]good morning07:20
mardyhi all09:02
pstolowskihey mardy 09:12
mupPR snapd#11698 opened: o/snapstate: fix TestSnapdRefreshTasks test after two r-a-a PRs <⚠ Critical> <Simple 😃> <Skip spread> <Created by stolowski> <https://github.com/snapcore/snapd/pull/11698>09:16
mupPR snapd#11699 opened: interfaces/builtin/system-packages: use a broad AppArmor snippet for mounting /usr/share/*-docs <Simple 😃> <Needs security review> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/11699>09:31
mupPR snapd#11698 closed: o/snapstate: fix TestSnapdRefreshTasks test after two r-a-a PRs <⚠ Critical> <Simple 😃> <Skip spread> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/11698>09:46
bdmurraymardy: I added you to the group of people who can see crash reports in the Error Tracker09:58
mardybdmurray: saw it, thanks!10:17
mupPR snapd#11700 opened: sandbox: move profile load/unload to sandbox/apparmor <Simple 😃> <Created by mardy> <https://github.com/snapcore/snapd/pull/11700>10:31
mupPR snapd#11701 opened: tests/nested: fix custom-device test <Simple 😃> <Run nested> <Created by mardy> <https://github.com/snapcore/snapd/pull/11701>12:02
mupPR snapd#11456 closed: tests: Initial changes to run nested tests on uc22 <Run nested> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11456>12:37
mupPR snapd#11622 closed: image/preseed, cmd/snap-preseed: create and sign preseed assertion <Preseeding 🍞> <Run nested> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11622>12:37
jdstrandogra: 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 <unfinished ...>12:46
ograjdstrand, reboot ... 12:47
jdstrandogra: I thought I read something about new snapd /dev/shm handling. I have snap 2.55.312:47
ograthat seems to be a snapd issue that solves itself after rebooting12:47
ograi have seen it on one out of five machines yesterday12:47
jdstrandoh, that is super weird. I hope they're looking at that...12:48
* jdstrand wonders if snap-discard-ns is enough12:48
* jdstrand tries12:48
jdstrand(I have a lot of session state atm)12:48
ograi havent filed it et 12:49
ogra*Yet12:49
jdstrandok, 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 it12:51
jdstrandogra: thanks for the pointer! :)12:51
ograthanks for te test !12:52
ograthe rmdir alone didnt help for me 12:52
ograi tried that12:52
jdstrandboy, this bug makes me feel all those browser apps might be affected since I know they use /dev/shm12:53
ograwell, 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:58
jdstrandmaybe, but if people refresh, say, only on the weekends, etc...12:59
ograwell, i mean devs ... i dont think any of our browsers use the shared-memory interface yet 13:00
jdstrandoh I see13:00
ograi was ahead with zoom since it actually completely switched its backend and hard-required a private /dev/shm13:01
jdstrandthis makes things a little clearer on why things might fail if you go from no shared-memory to using shared-memory13:04
ograright and both snaps upgraded at the same time 13:04
ograi think there is some hidden race somewhere13:04
jdstrandmardy: 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-client13:05
mupPR #21: Drop the NotFoundHandler check that relied on undefined behaviour <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/21>13:05
jdstrandmardy, ogra (cc amurray and mvo): here is the security bug https://bugs.launchpad.net/snapd/+bug/196977713:15
mupBug #1969777: new shared-memory interface causes /dev/shm/<snap> dir to have world-write permissions <snapd:New> <https://launchpad.net/bugs/1969777>13:15
jdstrandogra: I referenced the problem we discussed in it13:16
ograjdstrand, well, the point is there was no "before" zoom has not used /dev/shm in former versions IIRC13:18
jdstrandogra: I can rephrase. that directory was present with 170 though13:36
ograhmm13:36
jdstrandthat's just part of the launcher sequence13:37
jdstrandiirc13:37
jdstrandwell, now I don't remember how that all works otoh, *but* that directory was present, was 0755 and I had to rmdir it13:38
pikapikaDoes snap follow apt's orders regarding when to update, apt freeezes etc or does it have its own mind?15:37
Wimpypikapika: snap doesn't interpret apt directives. It is a completely different system.15:40
pikapikaWimpy, how do we control a given snap15:40
pikapikaie can we tell it to only upgrade manually15:40
WimpyWhat do you mean by control?15:40
pikapikaand where is it's configuration stored15:40
WimpyNo, snaps always auto update.15:40
pikapikaHow can that be disabled?15:41
WimpyYou can defer updates for a while, but after 30 days they will update.15:41
pikapikaI see15:41
WimpyIt can not be completely disabled.15:41
ograyou can delay updates by 30 days as Wimpy said ... but the new desktoip will have additional integration 15:42
pikapikaogra, where is a snaps .config folder15:43
ograyou get a notification about upgrades ... and eventually you will also be able to manage them15:43
ograpikapika, ~/snap/<snapname>/current/15:43
ograpikapika, or if you mean system wide you use "snap set system ..." https://snapcraft.io/docs/system-options15:45
pikapikaogra, is snap set system analogous to etc/ ?15:46
ograit is for global snap serttings15:47
pikapikawell15:47
pikapikait doesn't seem to be app specific15:48
pikapikaso its not analogous15:48
ograno, thats up to the app packagers 15:48
mardyjdstrand: thanks, indeed that's not right16:00
jdstrandogra: 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
jdstrandogra: you may need browser-support looking at the denials16:01
jdstrand(if you don't already)16:01
jdstrandI reverted again16:02
ograi dont 16:02
ograwill add ... 16:02
ograthanks for the report !16:02
jdstrand(in a meeting; a zoom meeting ;) )16:02
jdstrandthanks!16:02
jdstrandogra: ping me and I can test the new version16:03
ograwill do 16:03
mupPR snapd#11702 opened: tests: add spread test to test upgrade from release snapd to current <Created by mvo5> <https://github.com/snapcore/snapd/pull/11702>17:58
mupPR snapd#11703 opened: tests: initial set of tests to uc22 nested execution <Run nested> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/11703>21:29

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