/srv/irclogs.ubuntu.com/2023/03/24/#snappy.txt

mupPR snapcraft#4079 closed: update craft-archives and support apt pinning <Created by tigarmo> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/4079>00:11
mupPR snapd#12671 opened: cmd/snap-bootstrap: Add support for essential snaps with integrity data (run mode) <Created by sespiros> <https://github.com/snapcore/snapd/pull/12671>06:34
mupPR snapd#12668 closed: image: fix odd output of 'Fetching ...' text <Created by Meulengracht> <Merged by Meulengracht> <https://github.com/snapcore/snapd/pull/12668>11:15
kyrofaHey folks. ogra you about, by any chance? Still looking to learn a bit about `refresh-mode: endure`15:08
ograkyrofa, well, that is (to my knowlede) only for services where you knoe it will not do any harm ... i.e. someting tht doesnt use SNAP_DATA for important things but only SNAP_COMMON etc etc 15:09
ogra*know15:09
kyrofaOkay so no magic as far as you're aware15:09
ograthe confinement should not get in your way here since your old namespace should stay around15:09
kyrofaIs that a recent development? The entire reason for app refresh awareness was because that WASN'T the case15:10
ograyeah, no magic ... you should really know what you are ding when using it 15:10
ogra*doing15:10
ograthe app refreh awareness was mainly because your dirs change underneath you as i understood ... so SNAP_DATA becomes un-writable 15:11
ograwhich essentially means your browser history/cache that lives in there can not be updated15:11
ograthe rest of confinement suld not be affected as long as the app is running 15:12
ogra*should15:12
* ogra needs a new kbd ...15:12
ogra(or new fingers)15:12
kyrofaMy understanding was not that the dirs changed, but that your access to the old dirs was no longer possible due to the confinement update15:14
kyrofaIndeed, the dirs don't change at all. A new one is created and the current symlinks are updated it all15:15
ograright ... 15:16
kyrofaIf rev 1 updates to rev 2, rev 1's data is still there, but the confinement now only allows access to rev 2, so rev 1's app explodes15:17
ograyou lose access ... thats the point15:17
kyrofaRight. Maybe we're talking past each other-- I was trying to say your old namespace doesn't stay around, but maybe you weren't saying what I thought you were saying there15:17
ograbut only on a filesystem level, the runtime stuff in ram persists just fine 15:17
kyrofaAh, indeed15:17
ograif you have a service that doesnt use the disk at all or only uses _COMMON, endure will actually wrok well 15:18
ogra*work15:18
kyrofaAny chance you know the history? That seems highly specific15:20
kyrofaI'm curious in the use-case that caused this development15:20
kyrofaAh ha, I found https://forum.snapcraft.io/t/process-lifecycle-on-snap-refresh/140/2015:22
ograIIRC chromium15:23
ograoh, you mean endure ... not sure, but IIRC a customer asked for it 15:24
kyrofaThanks ogra, I appreciate the help. Always a pleasure :) . I hope you're well?15:26
ograyeah, i am 🙂15:27
ograyou too ? 15:27
kyrofaYeah, things are good! Baby #6 is due here pretty soon-- our second girl!15:27
ograOMG !15:28
ograhalf a football team !15:28
kyrofaYeah I'll get there one day15:28
kyrofa:P15:28
ogralol15:28
lissyxtaking a look at https://bugs.launchpad.net/snapd/+bug/1998980/comments/421:58
mupBug #1998980: Snap sandbox blocks kcmp, used by Mesa <snapd:New> <https://launchpad.net/bugs/1998980>21:58
lissyxI am unsure where to look for "base template for all snaps"21:58
lissyxis it https://github.com/snapcore/snapd/blob/master/interfaces/seccomp/template.go ?22:00
mupPR snapd#12672 opened: interfaces/seccomp/template,Adding kcmp to allow Mesa usecases <Created by lissyx> <https://github.com/snapcore/snapd/pull/12672>22:13
mupPR snapd#12672 closed: interfaces/seccomp/template: Adding kcmp to allow Mesa usecases <Created by lissyx> <Closed by lissyx> <https://github.com/snapcore/snapd/pull/12672>22:33
mupPR snapd#12673 opened: interfaces/seccomp/template: Adding kcmp to allow Mesa usecases <Created by lissyx> <https://github.com/snapcore/snapd/pull/12673>22:33
mupPR snapcraft#4081 opened: Kernel plugin improvements 1 <Created by kubiko> <https://github.com/snapcore/snapcraft/pull/4081>23:08

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