/srv/irclogs.ubuntu.com/2021/02/15/#snappy.txt

oerheksreading https://forum.snapcraft.io/t/snapd-from-hirsute-proposed-wont-allow-snaps-to-run/22733/8 and the home dir change https://discourse.ubuntu.com/t/private-home-directories-for-ubuntu-21-04-onwards/1953300:03
oerhekssome progress, popey https://forum.snapcraft.io/t/snapd-from-hirsute-proposed-wont-allow-snaps-to-run/22733/1000:11
mborzeckimorning07:16
pstolowskimorning08:07
mvogood morning pstolowski08:08
mborzeckimvo: pstolowski; hey08:09
zygahey guys08:10
zygamborzecki I'll review the suse bits after breakfast and standup08:11
mvohey mborzecki08:11
mvogood morning zyga!08:11
zygagood morning08:12
zygalate wake-up, dog wanted to go out at 4AM :D08:12
mvozyga: woah, 4am is hard!08:14
zygamvo yeah, he was not feeling well lately08:17
zygaquite responsible dog to wake me up and guide me downstairs to show what he wants08:17
zyga4AM is quite serene08:18
mupPR snapd#9899 closed: gadget: improve error handling around resolving content sources <Run nested> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9899>08:26
mupPR snapd#9931 closed: asserts: repeat the authority cross-check in CheckSignature as well <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9931>08:26
mupPR snapd#9825 closed: tests: using labeler action to add automatically a label to run nested tests <Squash-merge> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9825>08:31
mupPR snapd#9594 closed: findpartitions rewrite <Created by xnox> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/9594>08:51
mvomborzecki: do you remember what your branch that implemented ubuntu-image in  go was named?08:52
mborzeckimvo: yes, this branch: https://github.com/bboozzoo/snapd/commits/bboozzoo/gadget-update-snap-image-rfc08:54
mvomborzecki: \o/08:57
pedronismborzecki: hi, I thought a bit more about try recovery systems and reseal, I left some notes in the doc but we should probably chat a bit more at some point09:00
mborzeckipedronis: thanks, saw them, i'm finishing up some amazon stuff and i'll be looking at the recovery systems again in a bit09:01
pedronis#9901 needs a 2nd review09:10
mupPR #9901: o/devicestate,many: introduce DeviceManager.preloadGadget for EarlyConfig <Run nested> <Created by pedronis> <https://github.com/snapcore/snapd/pull/9901>09:10
gbissonHi! is the uc20 rpi image supposed to work on rpi3b? In my case it fails to boot with "cannot open TPM connection: no TPM2 device is available"09:29
gbissonAlso, last week I reported an issue where the boot.sel crc was wrong, it is because boot.sel is generated for bootloader with ENV_REDUNDANT enabled, therefore will fail on bootloaders without that option... it should be documented09:30
Wimpressjamesh: Morning o/09:34
jameshhi Wimpress09:35
WimpressI've been working on integrating Wayland support in the OBS snap.09:35
WimpressI've got to the point when trying to add Screen/Window captures.09:35
Wimpress`error: [OBS XDG] Error creating screencast session: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface β€œorg.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop`09:35
WimpressJust checking to see if this might be because screencast support isn't a thing yet?09:36
jameshWimpress: the Ubuntu build of xdg-desktop-portal doesn't enable PipeWire support, so those portals aren't available09:36
WimpressAha!09:37
jameshI'll have to double check the status in hirsuite, but that might be an option for testing09:37
WimpressSo, I'd need to build xdg-desktop-portal as a source part in the snap, with PipeWire support?09:37
WimpressI'm already build current pipewire as a source part.09:37
jameshand probably have a gnome-shell with PipeWire support.  I haven't really investigated the details09:38
WimpressOK.09:38
WimpressSo, I may have run out of road here then.09:38
jameshwelcome to the bleeding edge :-)09:38
* Wimpress looks over the edge09:38
jameshhttps://launchpad.net/ubuntu/+source/xdg-desktop-portal/1.8.0-3 <- looks like hirsute-proposed has what you're after09:39
WimpressSo, is it xdg-desktop-portal on the host that needs pipewire support?09:42
jameshyes09:42
WimpressUnderstood.09:42
WimpressSo, if you're running Hirsture or a.n.other distro with pipewire enabled xdg-desktop-portal, should be good to go?09:42
jameshYes.  I'd expect a recent Fedora would probably also do for testing09:43
WimpressOK, great. Then I think I've done what is required on the OBS snap side of things with the recent Wayland and DMA-BUF commits.09:45
WimpressI'll fire up a 21.10 test system later.09:46
WimpressThanks.09:46
jameshI suspect the older Ubuntus simply won't work, even if you install an xdg-desktop-portal/xdg-desktop-portal-gtk09:49
jameshdue to missing gnome-shell support09:49
zyga-mbphey jamesh, Wimpress :)09:50
zyga-mbpnice to see you guys here09:50
zyga-mbpmborzecki check this out https://github.com/package-url/purl-spec09:50
Wimpressjamesh: Thanks for the info.09:50
Wimpresszyga-mbp: o/09:50
zyga-mbpit'd be nice to install packages in spread tests using something like that09:50
zyga-mbpWimpress how have you been?09:51
mupPR snapd#9268 closed: daemon: add API for checking and installing available theme snaps <Needs Samuele review> <Created by jhenstridge> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9268>09:51
jameshWimpress: no problem.  Shout out if you run into more problems.09:52
jameshhi zyga-mbp09:52
Wimpressjamesh: Will do, but I think I have everything I need in the snap. I'll test to confirm...09:53
pedronispstolowski: hi, what is the status of this https://bugs.launchpad.net/snapd/+bug/1899665 , is it released or at least committed?10:14
mupBug #1899665: Failed refresh of snapd drops current symlink <snapd:In Progress by stolowski> <https://launchpad.net/bugs/1899665>10:14
pstolowskichecking10:14
pstolowskipedronis: fixed, i updated the bug, thanks10:17
pedronisjamesh: what's the status of this bug on the snapd side:  https://bugs.launchpad.net/snapd/+bug/1897224 ?10:17
mupBug #1897224: Graphical snaps can't run in Gnome 3.38 Wayland sessions (can't open X display) <amd64> <apport-bug> <fixed-in-3.38.2> <fixed-upstream> <groovy> <rls-gg-incoming> <snap> <verification-done-groovy> <wayland-session> <Mutter:Unknown> <snapd:In Progress by zyga> <mutter (Ubuntu):Fix10:17
mupReleased> <snapd (Ubuntu):Won't Fix> <mutter (Ubuntu Groovy):Fix Released> <snapd (Ubuntu Groovy):Won't Fix> <mutter (Ubuntu Hirsute):Fix Released> <snapd (Ubuntu Hirsute):Won't Fix> <https://launchpad.net/bugs/1897224>10:17
pedronismmh, actually I think the bug contains the answer I need already10:18
jameshpedronis: independent fixes have landed on both the gnome-shell and snapd sides10:18
pedronisjamesh: was that in 2.48 ?10:19
pedronisseems so10:19
jameshpedronis: if you've got mutter >= 3.38.2, < 4.0 installed, then it will work with any snapd.  If you've got a snapd with zyga's X11 socket changes, then it will work with any gnome-shell10:20
jameshlet me check10:20
jameshhttps://github.com/snapcore/snapd/pull/9530 is the PR.  It looks like it is in the 2.48 branch yes.10:22
mupPR #9530: interfaces: share /tmp/.X11-unix/ from host or provider <Squash-merge> <⚠ Critical> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9530>10:22
pedronisjamesh: thanks for comfirming, was about to ask if indeed 9530 was the fix10:22
pedronisjamesh: your recent work on the desktop interface is addressing this I think right?:  https://bugs.launchpad.net/snapd/+bug/187710910:24
mupBug #1877109: incompatible host fonts cache causing snap app instability <desktop> <snapd:Confirmed> <https://launchpad.net/bugs/1877109>10:24
pedronismvo: do you know if this one is fixed in the end now: https://bugs.launchpad.net/snapd/+bug/1878541 ?10:25
mupBug #1878541: Grub fails to load kernel from squashfs if mem < 1500mb <fr-167> <id-5ec540751c801c607c3d8c33> <patch> <uc20> <verification-done> <verification-done-focal>10:25
mup<snapd:In Progress> <grub2 (Ubuntu):Fix Released> <grub2 (Ubuntu Focal):Fix Released> <grub2 (Ubuntu Groovy):Fix Released> <https://launchpad.net/bugs/1878541>10:25
mvopedronis: yes, this is fixed10:27
mvopedronis: let me update it10:27
pedronismvo: thx10:27
jameshpedronis: yes.  Although it is up to snaps to opt in to the change.  I'd like to see this as automatic for snaps using one of the Snapcraft extensions though.10:28
pedronisjamesh: is it ok if I assign it to you?10:29
jameshpedronis: sure.10:29
pedronisas you are working on it10:29
pedronisjamesh: thx10:29
pedronismvo: did the patch you proposed here  get anywhere:  https://bugs.launchpad.net/snappy/+bug/1650688 ?10:32
mupBug #1650688: timedatectl set-timezone fails on UC16 <hwe> <Snappy:Triaged> <https://launchpad.net/bugs/1650688>10:32
mvopedronis: unfortunately not AFAICT :/10:35
mvopedronis: to complete this it would have to be a proper systemd quilt patch/debdiff10:35
* zyga-mbp needs a coffee10:38
zyga-mbpthat dog run has a toll10:38
zyga-mbpmvo I had a look fragile mounts but I didn't write an algorithm that does the right thing yet11:08
zyga-mbpmvo I'll talk to Maciek about this later but I don't have a working patch yet11:09
mupPR snapd#9933 opened: packaging/opensuse: sync with openSUSE packaging <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9933>11:27
mupPR snapd#9934 opened: packaging: disable Go modules in snapd.mk <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9934>11:27
* pstolowski lunch11:51
cjwatsonI noticed https://bugs.debian.org/923500 ("snapd: non-classic snap not confined") on the Debian bullseye RC bugs list.  Symptoms still seem similar.  Is anyone working on this, and would it be possible to communicate something to the bug so that the Debian release team have some idea of the state of things?11:51
jameshcjwatson: The default AppArmor template gives access to "/".11:53
jameshcjwatson: it's worth noting that the root directory as seen by a snap is not the host system's root directory though.11:53
cjwatsonjamesh: Could you possibly update the Debian bug?  That's certainly worth noting11:54
cjwatson(and maybe enough to make it clearly non-RC)11:54
* jamesh wonders why the core18 snap now has a file "stdout" at the top level11:55
jameshcjwatson: it's a while since I've used debbugs.  Just sending something to the bug number email address is enough, right?11:56
cjwatsonjamesh: Yes, though I'd probably manually CC people who've commented11:56
zyga-mbpcjwatson, jamesh unless something major changed debian is probably unconfined11:57
cjwatson(if I were still working on debbugs, some kind of better subscription handling would be near the top of the list, shortly after a proper database)11:57
zyga-mbpwe had long discussions about this11:57
zyga-mbpand in the end it all got back to apparmor patches upstreaming11:57
ograjamesh, $ cat /snap/core18/current/stdout11:58
ograUbuntu Core does not use apt-get, see 'snap --help'!11:58
zyga-mbpapart from Ubuntu, Solus and other distributions that explicitly pick up apparmor patches from Ubuntu, everyone has partial confinement11:58
zyga-mbpand snapd chooses an open profile then IIRC11:58
ograjamesh, seems like a bug in the build that something tries to call apt11:58
jameshzyga-mbp: would they benefit from file based access rules though?11:58
zyga-mbpand it's not that parts of apparmor are not effective11:58
zyga-mbpsnapd chooses an open profile to avoid bugs11:59
zyga-mbpjamesh it's a super long topic between jdstrand, me and samuele11:59
zyga-mbpI wanted to enable it but that was nacked11:59
jameshzyga-mbp: okay.  It looks to be orthogonal to this bug though.11:59
zyga-mbpas we don't have time to support anything11:59
zyga-mbpjamesh no, it's not11:59
zyga-mbpdebian has no apparmor confinement by choice11:59
zyga-mbpthat's my point11:59
zyga-mbpthere's a piece of code in snapd that says "no - no confinement for this system"12:00
jameshokay12:00
mvojamesh: I take care of the stdout file from core18, looks like an incrrect script, I will also add a test12:00
mvo(cc ogra -^)12:01
ogramvo, hah, you are to fast (i was about to ping lukasz πŸ™‚ )12:02
jameshmvo: okay.  I just noticed it when running the steps in that debian bug12:03
zyga-mbpcjwatson, jamesh: https://github.com/snapcore/snapd/blob/master/interfaces/apparmor/backend.go#L61412:03
mvoogra: it's quicker to sent a PR probably than to talk and explain :)12:03
zyga-mbpand the very much related: https://github.com/snapcore/snapd/blob/master/interfaces/apparmor/backend.go#L65312:04
ograyeah12:04
jameshzyga-mbp: thanks12:06
zyga-mbpjamesh perhaps one way to make progress is to add debian sid to the exception list12:07
zyga-mbpand see what happens12:07
zyga-mbpbut it also means that if someone uses snapd on sid and on non-sid, they will get different experience12:07
cjwatsonDetecting Debian sid as distinct from testing is basically a non-starter I think12:09
jameshcjwatson: I hadn't realised how late it got here.  I probably won't reply until tomorrow morning my time.  If you need something sooner, perhaps someone else can post a summary.12:10
cjwatsone.g. there's no distinction at the os-release level12:10
zyga-mbpcjwatson yeah sid == testing, I meant sid vs non-testing named release12:10
cjwatsonjamesh: It's not today-urgent, I just wanted to make sure the snapd team were aware because it seems at least possible that snapd might get kicked out of bullseye if something isn't done one way or another and y'all might care about that12:10
cjwatsonzyga-mbp: having the experience suddenly change when bullseye goes stable seems not ideal :)12:11
mvocjwatson: thanks, raising that is really appreciated12:11
zyga-mbpI also agree12:11
zyga-mbpdebian is in soft-freeze mode now12:11
zyga-mbpso any changes now are tricky to say the least12:11
mupPR core18#178 opened: hook-tests: fix leaked /stdout file and add test <Created by mvo5> <https://github.com/snapcore/core18/pull/178>12:56
mupPR snapd#9935 opened: data/selinux: allow system dbus to watch /var/lib/snapd/dbus-1 <Simple πŸ˜ƒ> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9935>13:17
mborzeckipstolowski: can you take a look at ^^ ?13:17
pstolowskisure13:19
mborzeckipstolowski: thanks!13:26
mborzeckifunny how dbus became a single point of failure here13:26
pstolowskiyw13:30
pedronispstolowski: hi, I looked #9922 finally, yes your question about using Pool is valid and indeed is needed, we should chat about that and how we can have consistent behavior across13:37
mupPR #9922: api: validation sets monitor mode (1/2) <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9922>13:37
pstolowskipedronis: great, thanks. sure, let's discuss this when you have a moment (maybe changes to bulk in #9930 will be relevant to this discussion?)13:39
mupPR #9930: asserts: pool changes and RefreshValidationSetAssertions method for validation-sets <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9930>13:39
pedronispstolowski: maybe tomorrow morning?13:41
pstolowskipedronis: that's fine13:48
gbissonhi, can someone point me to the pi-kernel snapcraft.yaml?13:52
mupPR snapd#9909 closed: snap: add deprecation noticed to "snap run --gdb" <Needs Samuele review> <Skip spread> <Created by mvo5> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9909>16:13
mupPR snapd#9934 closed: packaging: disable Go modules in snapd.mk <Simple πŸ˜ƒ> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9934>17:08
mupPR snapd#9936 opened: Remove apparmor downgrade feature <Created by zyga> <https://github.com/snapcore/snapd/pull/9936>17:23
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
mupPR snapd#9937 opened: tests/lib/prepare.sh: split reflash.sh into two parts <Simple πŸ˜ƒ> <Test Robustness> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9937>23:04

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