=== jamesh_ is now known as jamesh [04:49] morning [04:52] mborzecki: integration tests failed for PR #6849 [04:52] PR #6849: many: introduce a gadget helper for locating device matching given structure [04:53] cmatsuoka: hey, yes, just restarted the jobs [04:53] ah ok [04:53] wish we recorded timestamps before the test, and displayed only the relevant part of the journal log, otherwise it's hard to find out what is the issue when you have to scroll through screens of log output [04:56] cmatsuoka: hm mkfs.ext* seems to truncate the label on input [04:58] and this truncation is not on codepoint boundaries, right? or is it codepoint-aware? [04:58] my guess was that it would just clip on 16 narrow chars [05:05] Good morning [05:05] cmatsuoka: heh, so it's bit misleading, dumpe2fs and e2label seem to hide the truncated codepoint [05:05] Hey mborzecki, cmatsuoka :-) [05:06] cmatsuoka: but udev properties show the whole sequence: ID_FS_LABEL_ENC=abcdabcdabcdabc\xc4 [05:06] zyga: hey [05:06] good morning zyga [05:07] mborzecki: and how does snapd read the label? could it panic on the string conversion or something like that? [05:08] cmatsuoka: so, our problem is reverse, the input is the value that came from gadget yaml, which is valid utf8, then we try to find something under /dev/disk/by-{part}label matching that value, we don't read the labels ourselves [05:09] cmatsuoka: in which case, there would be no match [05:19] cmatsuoka: I'm in the plenary room in case you're post breakfast [05:20] mborzecki: oh ok, we're safe then [05:21] cmatsuoka: yup, i'll ask pstolowski|afk to do antoher pass on the PR too [05:22] zyga: ack [05:35] IT WORKS! [05:35] mborzecki: remember ausearch [05:35] mborzecki: so, found another bug there [05:35] zyga: oh? [05:35] mborzecki: it doesn't show *anything* when apparmor denial is for propagation change [05:35] mborzecki: mount --make-shared -- nope, _nothing_ in dmesg, nothing in audit log [05:36] zyga: try ausearch -m AVC --debug [05:36] it'll show entries that could not be parsed too [05:36] mborzecki: nothing [05:36] zyga: unless, there's nothing logged :P [05:36] maybe deeper LSM bug [05:36] but man, that drove me crazy yesterday [05:37] mborzecki: patches coming soon, I need to adjust tests and then shove some of the patches to the earlier branch [05:37] btw, are you certain that's caused by apparmor? [05:37] mborzecki: yes [05:37] mborzecki: 100% [05:37] mborzecki: I'm only editing the apparmor profile [05:37] mhm [05:37] and now it works, found one last place that lacked the permission [05:38] mborzecki: haha [05:38] ausearch uses 100% cpu [05:38] I think it failed to parse [05:38] anyway [05:38] happy this is solved now === pstolowski|afk is now known as pstolowski [07:04] morning [07:04] pstolowski: hey [07:04] pstolowski: can you take another look at https://github.com/snapcore/snapd/pull/6849 ? it changed a bit [07:04] PR #6849: many: introduce a gadget helper for locating device matching given structure [07:05] k [07:21] pstolowski: thanks for the review [07:22] yw [08:08] PR snapd#6867 opened: gadget: offset-write: fix validation, calculate absolute position [09:47] could I get reviews for #6862? the check-health pr is ready to go, but it includes this and is rather big so keeping it lean would be nice [09:47] PR #6862: overlord/hookstate: don't run handler unless hooksup.Always [10:24] PR snapd#6868 opened: systemd: workaround systemctl show quirks on older systemd versions [10:29] mborzecki: nice [10:30] Chipaca: it'd be nicer if we didn't have to do that :) [10:30] totes [10:32] Chipaca: noticed we don't really have a spread test for snap services output, so the problem was not caught earlier [10:35] mborzecki: noticed [10:54] Stepping out for a walk and lunch. I'd call it a wunch, but that's the collective noun of 'banker'. [11:04] meh, gofmt 1.10 vs gofmt 1.11 is super annoying [11:13] * pstolowski lunch [11:23] degville, hey [11:23] cachio: hello! [11:32] PR snapd#6849 closed: many: introduce a gadget helper for locating device matching given structure === ricab is now known as ricab|lunch [12:11] off to school, back before standup === Eleventh_Doctor is now known as Pharaoh_Atem [12:51] @jdstrand I appreciate I took forever and a day to try your suggestions, but we have a successfully working makemkv with some fiddling with the apparmor and udev rules: https://forum.snapcraft.io/t/openat-returning-eperm-for-dev-sg0/10069/15 [13:00] Hey hey [13:01] mborzecki: found one more bug in the same area [13:01] The synthetic mount change retention logic is incorrect [13:16] cachio: Fedora-Cloud-Base-30-1.2.x86_64.qcow2 seems to behave just fine, just updated the kernel, was at 5.0.9-301.fc30.x86_64, rebooted and 5.0.13-300.fc30.x86_64 is running now [13:17] mborzecki, weird [13:17] I am using http://fedora.c3sl.ufpr.br/linux/releases/30/Cloud/x86_64/images/Fedora-Cloud-Base-30-1.2.x86_64.raw.xz [13:18] it is the same [13:18] cachio: shuld be the same [13:18] yes [13:18] cachio: all i'm doing is sudo dnf upgrade -y && sudo reboot [13:18] I'll need to review if something installed during the image creation is causing this [13:19] pstolowski: idk if you noticed, but tests/main/auto-refresh-retry is failing more often now, usually the last line is: [13:19] May 14 11:30:49 arch nsenter[2289]: retry.go:113: DEBUG: Retrying because of temporary net error (DNS): &net.DNSError{Err:"Temporary failure in name resolution", Name:"api.snapcraft.io", Server:"", IsTimeout:false, IsTemporary:false} === ricab|lunch is now known as ricab [13:32] mborzecki: hmm i saw it once [13:34] cachio: i'm looking at fedora, it's using some bootloader specification now, https://systemd.io/BOOT_LOADER_SPECIFICATION [13:35] mborzecki, I updated the scripts to create the image [13:35] mborzecki, I am running now [13:39] mborzecki: nice mess, the volumes thing [13:43] Chipaca: heh ;) maybe the spec is user friendly at least [13:44] for sure it's not parser friendly [13:44] mborzecki: the yaml is very easy to follow [13:44] mborzecki: but even the names of the things in there seem to be designed to conflict with other homonymous things [13:45] anyhoo [13:45] * Chipaca makes tea === Trevinho is now known as Trevinho_ === Trevinho_ is now known as Trevinho [14:45] diddledan: ack, thanks! :) I'm sprinting this week and will give it some thought. I've added it to my list for profile additions for 2.40. I too am not sure if it should be a separate interface or not [14:46] cool, many thanks :-) [14:46] thank you :) [14:58] brb rebooting [15:19] mborzecki, it is fixed the issue with the kernel [15:19] on fedora [15:19] cachio: what was the fix? [15:20] Initially I was installing kernel-modules with the base image [15:20] now I am installing kernel modules and kernel core during the update [15:20] then reboot [15:21] basically [15:21] I was installing kernel-modules then doing upgrade then instlaling kernel-core then during upgrade [15:21] in 2 scripts [15:21] ah [15:22] cachio: so once you push the new image, we can restart the PR with fedora 30 [15:22] now I upgrade, then install the kernel-modules and kernel core and then reboot [15:23] mborzecki, done [15:24] thanks for the support [15:36] * cachio lunch === pstolowski is now known as pstolowski|afk [17:19] PR snapd#6865 closed: cmd/snap: allow option descriptions to start with the command