/srv/irclogs.ubuntu.com/2021/08/17/#snappy.txt

mupPR snapd#10620 closed: release: 2.51.5 <Simple 😃> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/10620>02:47
mupPR snapd#10621 opened: packaging: changelog for 2.51.5 to master <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10621>03:32
=== bigpod9 is now known as bigpod
mborzeckimorning05:50
pstolowskimorning06:03
mardy'morning all!06:07
mborzeckipstolowski: mardy: heya06:24
mvogood morning mborzecki, pstolowski and mardy 06:32
mupPR snapd#10622 opened: many: merge release/2.51 change to release/2.52 <Created by mvo5> <https://github.com/snapcore/snapd/pull/10622>06:33
mvomborzecki: I guess 10577 is ready to merge, yes?06:33
mborzeckimvo: i'm looking at one more tweak, i'll let you know when it's ready06:33
mvomborzecki: but 10616 is ready?06:35
mborzeckimvo: yup06:36
mborzeckimvo: thanks for landing it!06:37
mupPR snapd#10616 closed: cmd/libsnap-confine-private: fix coverity issues in tests, tweak uses of g_assert() <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10616>06:38
mborzeckimvo: on second thought, I think that https://github.com/snapcore/snapd/pull/10577 is a go too. there's one issue that amurray raised which I think is ok, but there will be more things to consider when I open a PR with device cgroup v2 so maybe at that time the usage scenario will be clearer06:51
mupPR #10577: cmd/snap-device-helper: reimplement snap-device-helper <cgroupv2> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10577>06:51
mupPR snapd#10623 opened: usersession/agent: refactor common JSON validation into own function <Created by mardy> <https://github.com/snapcore/snapd/pull/10623>06:58
mupPR core#121 opened: Generate the dpkg.yaml file <Created by ilasc> <https://github.com/snapcore/core/pull/121>07:06
mardymmm... could this error (https://paste.ubuntu.com/p/t4PjhyFz5D/) be due to my changes (https://github.com/snapcore/snapd/pull/10623)? I can't seem to reproduce it locally07:29
mupPR #10623: usersession/agent: refactor common JSON validation into own function <Created by mardy> <https://github.com/snapcore/snapd/pull/10623>07:29
mborzeckianyone has a raspberry pi up and running?07:32
mvomborzecki: o/07:38
mborzeckimvo: can you do `find /sys/devices/platform -ls` for me?07:40
mborzeckimvo: i think we have a bug in apparmor rules in the raw-usb interface 07:40
mvomborzecki: https://paste.ubuntu.com/p/YPQcg5qrVh/07:42
mvomborzecki: 3k lines07:42
mborzeckimvo: this is pi 3?07:43
mupPR snapd#10624 opened: interfaces/builtin/raw_usb: fix platform typo, fix access to usb devices accessible through platform <Simple 😃> <Needs security review> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10624>07:43
mvomborzecki: yes07:43
mborzeckimvo: you don't have a pi4 that's up and runnig by any chance too?07:43
mvomborzecki: unfortuantely no, I guess I should order one but never got around07:43
mborzeckimvo: i've pushed a fix in #1062407:44
mupBug #10624: grub: new changes from Debian require merging <grub (Ubuntu):Fix Released by cjwatson> <https://launchpad.net/bugs/10624>07:44
mupPR #10624: interfaces/builtin/raw_usb: fix platform typo, fix access to usb devices accessible through platform <Simple 😃> <Needs security review> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10624>07:44
mvomborzecki: ta!07:44
mborzeckiadded a security review label, although it's quite simple so not sure we need to involve the security team07:55
mupPR snapd#10625 opened: cmd/snap: print logs in local timezone <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10625>08:33
mborzeckimvo: we can land https://github.com/snapcore/snapd/pull/1057708:47
mupPR #10577: cmd/snap-device-helper: reimplement snap-device-helper <cgroupv2> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10577>08:47
mardywe have some XDG portals stuff in cmd/snap/cmd_run.go and usersession/xdgopenproxy/portal_launcher.go; I'm planning to add more, so maybe we should move all of these into a new module (desktop/portals/). Any objections or better suggestions?09:12
mupPR snapd#10626 opened: Refresh control/pending from snap <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10626>09:13
mborzeckimardy: usersession/desktop maybe?09:23
mborzeckiah w8, we already have desktop package, so yeah desktop/portals sounds ok to me09:24
zyga-mbpgood morning09:27
zyga-mbpback from all that travel (for now at least)09:27
zyga-mbphow have you been guys?09:27
mupPR snapd#10627 opened: o/snapstate: remove commented out code <Simple 😃> <Skip spread> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10627>09:28
zyga-mbppstolowski approved09:29
zyga-mbpthe little I can do :)09:29
pstolowskizyga-mbp: hey zyga! thanks :)09:33
zyga-mbppleasure :)09:33
mvomborzecki: looking - in a meeting but will land 09:40
mvomborzecki: done, thank you09:40
mborzeckimvo: thanks!09:42
mupPR snapd#10577 closed: cmd/snap-device-helper: reimplement snap-device-helper <cgroupv2> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10577>09:43
zyga-mbphey mvo 09:50
mvohey zyga-mbp ! nice to see you09:53
mupPR snapd#10627 closed: o/snapstate: remove commented out code <Simple 😃> <Skip spread> <Created by stolowski> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/10627>10:03
pstolowskimiguelpires: hey, nice job with these little bug fixies! 10:09
miguelpiresThank you! =)10:20
pstolowskimiguelpires: btw, please update the bug to 'in progress' when the PR is up (and link to the PR from the bug report), then to commited and eventually released (when we release new snapd version that includes it); i tend to forget these things from time to time myself ;)10:25
mupPR snapd#10624 closed: interfaces/builtin/raw_usb: fix platform typo, fix access to usb devices accessible through platform <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10624>10:28
miguelpirespstolowski will do, thanks for the heads up! =)10:40
mupPR snapd#10628 opened: usersession/xdgopenproxy: move PortalLauncher class to own package <Created by mardy> <https://github.com/snapcore/snapd/pull/10628>11:03
mardymborzecki: I created https://github.com/snapcore/snapd/pull/10628 where I'm moving only one part (usersession/xdgopenproxy/portal_launcher.go); I think I'll move the parts in cmd/snap/cmd_run.go in another PR, to make reviewing easier11:04
mupPR #10628: usersession/xdgopenproxy: move PortalLauncher class to own package <Created by mardy> <https://github.com/snapcore/snapd/pull/10628>11:04
ijohnson[m]mvo: morning, do you think we need security review for https://github.com/snapcore/snapd/pull/10589 ?12:05
mupPR #10589: cgroup-support: allow to hide cgroupv2 warning via ENV <Simple 😃> <Needs security review> <cgroupv2> <Created by slyon> <https://github.com/snapcore/snapd/pull/10589>12:05
zygahey ijohnson[m] :)12:06
zygalong time no see12:06
zygaback from holidays12:06
ijohnson[m]hi zyga 12:06
ijohnson[m]enjoy your holiday break? was it really hot wherever you were in Europe (I assume?)12:06
zygaI did!12:07
zygaweather was mixed12:07
zygait was 14C in the morning today12:07
zygawe had hot days but nothing crazy up here12:07
zyga27C was really hot a few days ago12:08
ijohnson[m]good, I read that it has been really hot in most parts of Europe lately but that is a pretty geographically broad statement :-)12:08
zygait's 18C now, I think the heat moved further south now12:08
ijohnson[m]I was on vacation in Seattle when there was a "heat dome" there and it was super hot like 35-40 C pretty much the entire time I was there12:08
zygaI read the news, it's a bit scary how quickly it showed up and how long that stayed12:09
ijohnson[m]ironically, Seattle is famous for rain and cool temps, and there wasn't a single drop of rain the entire week I was there and it was so hot. Still was a great trip though, got to go to a bunch of national parks and do hiking12:09
zygathat's lovely12:10
zygawe stayed north-west for some time, countryside, goats, slow life12:10
ijohnson[m]It is a really beautiful place if you like mountains and the ocean :-D12:10
zygaPawel went south to the mountains12:11
zygaand I went north to the sea :)12:11
ijohnson[m]nice12:11
mupPR snapd#10607 closed: o/snapstate: install snap after prereq snaps are done installing <Needs Samuele review> <Created by MiguelPires> <Closed by MiguelPires> <https://github.com/snapcore/snapd/pull/10607>12:19
mvoijohnson[m]: probably not IMO12:35
ijohnson[m]mvo: ack should we land it then? it would help the folks transition systemd for impish apparently12:35
mborzeckicachio: hi, around?12:46
cachiohi12:46
cachiomborzecki, yes12:46
mborzeckicachio: we'll need a special 21.10 image, with cgroup v2 enabled12:46
cachiook12:46
cachiomborzecki, the idea is to test that image regularly?12:47
cachioor you need that just to try it12:47
mborzeckicachio: this is exactly like the current 21.10 image we have, but inside /etc/default/grub we'll need to have `GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1"`, once that's added you can run grub-mkconfig -o /boot/grub/grub.cfg and after a reboot that systemd... bit should be present in the kernel command line12:47
mborzeckicachio: that's something we need for testing with device cgroup v2 before it becomes part of the daily impish images12:48
zygamborzecki is there a copr for latest snapd in fedora?12:48
zygaor something I can get from bodhi?12:48
zygahappy to provide feedback from my system12:48
mborzeckicachio: i took the current daily impish image, did that modification and the system booted fine, hopefully it'll be the same case for the images that we have in the CI12:48
cachiomborzecki, for 21.10 we use the images published by ubuntu-cloud12:49
cachioI don't update that image12:49
cachioIf I enable cgroups 2 I'll need to update that image everyday12:50
cachioI can do that12:50
mborzeckizyga: hm? you can just grab the repo, run `cd packages && ./pack-source 2.51.5`, copy the artifacts to ~/rpmbuild/SOURCES and run rpmbuild manually12:50
cachioI can create a cron job to update the image daily12:50
mborzeckicachio: that's fine, we can update it occasionally12:50
zygamborzecki mmm, perhaps that's the way12:50
* zyga is just pretty lazy lately but that's no excuse12:50
mborzeckizyga: anything in particular you need from the latest version that's not in 2.51?12:52
zygaI want to check if anything change in lxd support12:52
zygaone sec12:52
zygaright, I'm on 2.51-1 now12:53
mborzecki(2.52 hasn't been released yet and afair all changes in point releasese were for core)12:53
zygaI'm mainly after v2 support12:53
cachiomborzecki, when you have time, could you please take a look to #10443 which I updated12:56
mupBug #10443: X pointer persistent in middle of screen on login <xfree86 (Ubuntu):Invalid by daniels> <https://launchpad.net/bugs/10443>12:56
mupPR #10443: tests: check files and dirs are cleaned for each test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10443>12:56
mborzeckicachio: sure will do12:57
cachiotx12:57
mborzeckicachio: /proc/cmdline shoudl contain that systemd. bit that you add to the config13:27
jawn-smithCan I get a bump on PR #10592 when someone has a chance? If it needs anything else I'm happy to update it.13:54
mupBug #10592: EOG is freezed on slow resizing <eog (Ubuntu):Invalid by seb128> <https://launchpad.net/bugs/10592>13:54
mupPR #10592: gadget: Export mkfs functions for use in ubuntu-image <Created by GlenPickle> <https://github.com/snapcore/snapd/pull/10592>13:54
mborzeckidamn, that wtf moment and weak symbols, a binary built on xenial behaves differntly than one built on focal14:01
zygamborzecki !14:10
mborzeckizyga: if you're interested https://github.com/snapcore/snapd/pull/10540#issuecomment-900277133 and the next comment14:13
mupPR #10540: cmd/snap-confine: handle CURRENT_TAGS on systems that support it <â›” Blocked> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10540>14:13
pedronismiguelpires: I re-reviewed https://github.com/snapcore/snapd/pull/10584, lgtm but it needs a master merge and then a fix. Maybe it's a good idea if pstolowski looks at it as well after, as it has bits that he worked on/will use14:17
mupPR #10584: o/assertstate: fix missing 'scheduled' header when auto refreshing assertions <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10584>14:17
miguelpirespedronis: ok, I'll fix that and then ping pstolowski for a review. Thanks14:21
pstolowskisure14:22
ijohnson[m]pedronis: do you have strong opinions on moving the Mkfs functions from gadget/internal to gadget so they are usable from outside of snapd? it's for the ubuntu-image rewrite, see https://github.com/snapcore/snapd/pull/1059214:23
mupPR #10592: gadget: Export mkfs functions for use in ubuntu-image <Created by GlenPickle> <https://github.com/snapcore/snapd/pull/10592>14:23
pedronisijohnson[m]: except for using gadget/quantity which really needs to move, it seems they don't use gadget bits? so they could move even somewhere more generic?14:25
ijohnson[m]pedronis: yes14:27
ijohnson[m]pedronis: I suppose it could become something in osutil/mkfs/foo.go ?14:27
pedronisyes14:27
ijohnson[m]but then the names become duplicative like mkfs.MkfsFat32()14:28
ijohnson[m]but I suppose that's okay14:28
pedronisit's ok, the other option is mkfs.MakeFat3214:28
ijohnson[m]ack, I will ask them to move the functions and rename them in that PR then14:28
mupPR snapd#10529 closed: devicestate: add `snap debug timings --ensure=install-system` <Run nested> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10529>14:39
mupPR snapd#10629 opened: build-aux: build with go-1.13 in the snapcraft build too <Simple 😃> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10629>14:39
mupPR snapd#10630 opened: o/snapstate: update default provider if missing required content <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10630>14:44
ijohnson[m]mvo: one issue with https://github.com/snapcore/snapd/pull/1062215:14
mupPR #10622: many: merge release/2.51 change to release/2.52 <Created by mvo5> <https://github.com/snapcore/snapd/pull/10622>15:14
mvoijohnson[m]: thanks, I have a look (in a meeting right now)15:15
ijohnson[m]no worries should be simple15:15
mardywhat can I have forgotten to do, if `go test` does not find my tests? (it prints: "ok   github.com/snapcore/snapd/desktop/portal 0.003s [no tests to run]")15:15
ijohnson[m]mardy: did you register the suite with `var _ = Suite(&fooSuite{})` ? 15:16
ijohnson[m]mardy: also this bit:15:17
ijohnson[m]/ Hook up check.v1 into the "go test" runner15:17
ijohnson[m]func Test(t *testing.T) { TestingT(t) }15:17
mardyijohnson[m]: oh, I was missing the second one15:19
mardythanks, that indeed helped15:22
ijohnson[m]nice15:22
jawn-smithPR:#10592 updated, thanks for the feedback!15:43
mupBug #10592: EOG is freezed on slow resizing <eog (Ubuntu):Invalid by seb128> <https://launchpad.net/bugs/10592>15:43
mupPR #10592: gadget: Export mkfs functions for use in ubuntu-image <Created by GlenPickle> <https://github.com/snapcore/snapd/pull/10592>15:43
mupPR snapd#10597 closed: config: rename "virtual" config to "external" config <Skip spread> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10597>15:49
mvoijohnson[m]: thanks for your comments in 10622 - you rock!16:38
ijohnson[m]haha well I introduced the confusion to begin with so it's only fair if I can help :-)16:41
mupPR snapd#10629 closed: build-aux: build with go-1.13 in the snapcraft build too <Simple 😃> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10629>16:49
=== alan_g__ is now known as alan_g
=== bigpod9 is now known as bigpod
jawn-smithIs flakiness with some of the spread tests expected? I had a few fail, including a couple required ones: ubuntu-18.04-32 and ubuntu-core-20-6417:49
mupPR snapd#10621 closed: packaging: changelog for 2.51.5 to master <Simple 😃> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10621>18:00
mupPR snapd#10625 closed: cmd/snap: print logs in local timezone <Created by MiguelPires> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10625>18:05
ijohnson[m]jawn-smith yeah sometimes the tests can be flaky, I'll have a look this afternoon I'd be very surprised if it was legitimately caused by your or 18:05
ijohnson[m]*your PR18:05
jawn-smithgreat, thanks ijohnson[m]!18:06

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