=== brlin_ is now known as brlin [05:50] morning [05:59] mborzecki: hi! [06:00] mborzecki: about the opensuse issue, when you said that apparmor is disabled, did you refer to the kernel or to snapd itself? [06:01] asking because I noticed that apparmor seems to be correctly supported by the kernel (profiles are loaded) [06:15] mardy: so for the stable releases (15.0/1/2) we had it disabled but agreed to enable it for the next stable release (15.3 in this case), which i forgot to do [06:16] mardy: but in tumbleweed which is very close to mainline kernel, we've had it enabled for a longer while [06:19] mardy: hm since we have 2.53.1 i'll enable it in the next update for 15.3 🙂 [06:20] hopefully we won't break users [06:25] mborzecki: OK; in the meantime, is there some way to check (from within the spread tests) if it's enabled or not? [06:27] mardy: no, just switch based on $SPREAD_SYSTEM [07:24] morning [07:25] pstolowski, zyga-mbp: hi! [07:25] * zyga-mbp goood morning, happy Friday [07:25] * zyga-mbp brb, need to restart my client [07:27] hmm didn't we have a mode where there was some time reference file left in writable on each boot that we then use to restore the time on systems where there is no rtc? [07:27] pstolowski: zyga-mbp hey [07:28] * zyga-mbp hey guys [07:28] * zyga-mbp is going to be busy migrating two dozen projects between gitlab instances today [07:28] time to put on a worker's hard hat and get to work :) [08:40] PR snapd#10953 closed: tests/main/snapd-sigterm: fix race conditions [08:45] PR snapd#10818 closed: tests: test for enforcing with prerequisites [08:55] PR snapd#10966 opened: packaging/opensuse: sync with openSUSE packaging, enable AppArmor on 15.3+ [09:00] PR snapd#10964 closed: release-tools/repack-debian-tarball.sh: fix c-vendor dir [09:33] mardy: for reference on apparmor and opensuse leap releases: https://github.com/snapcore/snapd/pull/9740 [09:33] PR #9740: packaging/opensuse: enable AppArmor on Leap [09:35] PR snapd#10967 opened: interface/modem-manager: allow connecting to the mbim/qmi proxy [10:09] mardy: pstolowski: can you take a look at https://github.com/snapcore/snapd/pull/10959 ? [10:09] PR #10959: tests/main/selinux-data-context: use session when performing actions as test user [10:09] sure [10:27] hm i think there's a slight bug in how we handle matching devices in snap-confine [10:27] oh? [10:34] zyga-mbp: yeah, with current tags support we know that there were devices assigned to the snap only after we go through all the devices that matched the udev rule, so in case no devices are actually assigned to the snap, we would still set up a device filtering for the process, just with a minimal set of allowed entries, a think we said we would not do [10:34] hmm hmm [10:35] right but is that the new state after-i-left? I recall we had some quick check that did nothing in the code I remember [10:35] I recall we ran into this [10:35] and even added a test to verify it's right (AFAIR) [10:37] zyga-mbp: yeah, kind of, i think you were still around when systemd introduced CURRENT_TAGS, and TAGS became sticky, and we have to first get the list of tagged devices and then check the current tags one by one [11:00] * zyga-mbp I recall that change but I didn't read the details, so are you saying that we create the constrained device cgroup before checking if that's needed now? [11:04] I need some reviews on https://github.com/snapcore/snapd/pull/10933 [11:04] PR #10933: interfaces: suppress denial of sys_module capability [11:05] PR snapd#10968 opened: cmd/snap-confine: lazy set up of device cgroup, only when devices were assigned [11:45] PR snapd#10965 closed: packaging: merge 2.53.1 changelog back to master [12:17] zyga-mbp: when you're around: https://build.opensuse.org/request/show/926969 [12:26] PR snapd#10969 opened: o/snapstate, assertsate: validation sets/undo on partial failure [12:51] PR snapd#10951 closed: sandbox/apparmor, interfaces/apparmor: detect bpf capability, generate snippet for s-c [12:56] PR snapd#10970 opened: cmd/snap: improve snap disconnect arg parsing and err msg [12:59] miguelpires: thanks for tackling this^ [13:23] pstolowski: no problem, I had a bit of time :] [14:06] PR snapd#10971 opened: tests/main/apparmor-batch-reload: fix fake apparmor_parser to handle --preprocess [14:07] trivial PR ^^ [15:27] miguelpires: some real failures on snap disconnect PR [15:28] unfortunately there were always dragons there... and this arg parsing and swapping was always confusing [15:53] Ah right, the snap can be empty if it's the core. It's more subtle than it looks at first =p [15:55] miguelpires: yes.. and there is a bit of magic on the api side as well (not affecting your PR i think, but something to keep in mind when changing any of this) [15:58] pstolowski: yes, I'll read the api side to really be sure what the cmd needs to validate. Thanks for the heads-up [16:03] mborzecki I'll look at opensuse stuff in a moment [20:08] PR snapd#10972 opened: tests: skip the interfaces-openvswitch on fedora 33 === popey6 is now known as popey [22:46] Hi, I have this snap installed: wine-platform-5-staging [22:46] where do I find the binary for it?