/srv/irclogs.ubuntu.com/2022/06/10/#ubuntu-desktop.txt

oSoMoNgood morning desktoppers05:38
dufluHi oSoMoN 05:39
oSoMoNhey duflu 05:39
didrocksgood morning05:49
dufluMorning didrocks 05:51
didrockshappy Friday duflu 05:51
oSoMoNsalut didrocks 05:56
didrockssalut oSoMoN 06:00
lissyxoSoMoN, https://github.com/snapcore/snapd/pull/1186106:49
ubottuPull 11861 in snapcore/snapd "interfaces/system-packages-doc: allow read-only access to /usr/share/cups/doc-root/ and /usr/share/gimp/2.0/help/ (https://bugzilla.mozilla.org/show_bug.cgi?id=1770462)" [Open]06:49
lissyxbut CLA mess :(06:49
seb128goood morning desktopers07:02
dufluHi seb128. How are you now?07:06
seb128duflu, hey, a bit better though my stomach is still isn't great. How are you?07:07
dufluI'm relatively good. You should rest if you need to07:10
lissyxoSoMoN, FTR for a few weeks I'm suffering https://bugzilla.mozilla.org/show_bug.cgi?id=177362407:21
ubottuMozilla bug 1773624 in Core "Firefox Snap no longer able to save file on SMB share" [--, New]07:21
lissyxis there a way with snap to see some sandbox logs?07:21
seb128lissyx, usually snapd confirmenent problems show in the journalctl log, at least apparmor denials07:33
lissyxseb128, good catch I see some reports07:34
lissyxseb128, do you know from https://bugzilla.mozilla.org/show_bug.cgi?id=1773624#c1 whether this is a bug on our side or the xdg portal one?07:34
ubottuMozilla bug 1773624 in Core "Firefox Snap no longer able to save file on SMB share" [--, New]07:34
seb128lissyx, but file save should use the portals, you can also try to /usr/libexec/xdg-desktop-portal-gnome -rv in case that has issues07:35
lissyxfrom the log it looks like it's hitting the portal at least07:35
seb128lissyx, I don't sorry, if that's a recent regression I would guess firefox since the portal didnd't change07:37
lissyxok07:38
lissyxxdg-desktop-portal-gnome -rv did nothing but xdg-desktop-portal -rv reveal the same as journalct07:38
lissyxI'm wondering if we are passing a correct dbus message ...07:38
seb128what's the error you see in the log?07:39
lissyxseb128, the one on the comment07:41
lissyxassertions about file_name != NULL07:41
lissyxexcept I can't find where we hit SaveFile in our codebase :)07:41
lissyxoSoMoN, any opinion on https://bugzilla.mozilla.org/show_bug.cgi?id=1770682#c2 ?07:57
ubottuMozilla bug 1770682 in Core "Solokeys Solo v2 fido key not supported in linux snap builds" [--, Unconfirmed]07:57
lissyxoSoMoN, I can file a bug against ubuntu in launchpad if needed07:58
seb128lissyx, that's an easy snapd change needed08:00
oSoMoNlissyx, it looks like this was fixed already: https://github.com/snapcore/snapd/commit/9c94b67eb4fe64bd5fe26d8e1968f73f957d1cf008:00
ubottuCommit 9c94b67 in snapcore/snapd "interfaces/u2f-devices: add Solo V2"08:00
lissyxnice08:00
oSoMoNprobably not released in a stable snapd yet08:01
seb128I was going to say, it's marked as snap 2.5608:01
lissyxand latest stable is 2.55.x ?08:01
seb128yes08:01
lissyxoh I have 2.5608:01
oSoMoNright, I didn't see the tag08:01
lissyxupdated two days ago?08:01
seb128ah, right08:02
seb128well then it should be fixed :)08:02
oSoMoNlissyx, do you have the hardware to test?08:02
lissyxno08:02
seb128tjaalton, hey. I would like to see https://github.com/intel/media-driver/commit/e25478c4 cherrypicked and SRUed to fix bug #1962630 , I confirmed that the fix works. Do you want to handle it or should I just cherry pick + SRU?08:05
ubottuBug 1962630 in intel-media-driver (Ubuntu Jammy) "Video playback crashes with SIGSEGV in KernelDll_AllocateStates (intel-media-driver)" [High, Triaged] https://launchpad.net/bugs/196263008:05
ubottuCommit e25478c in intel/media-driver "Fix driver crash with no kernel binary"08:05
lissyxhm no debugging package for xdg-desktop-portal08:22
lissyxok, xdg-desktop-portal-dbgsym is here with the specific apt repo08:29
lissyxoSoMoN, if it works for you, do you mind r+ on phab? thanks :)08:39
oSoMoNlissyx, yeah, I'll do that08:40
oSoMoNlissyx, FYI, I'm working on backporting a fix to xdg-desktop-portal to Ubuntu 20.04 so that OpenDirectory highlights the downloaded file as expected, see bug #197829508:40
ubottuBug 1978295 in xdg-desktop-portal (Ubuntu Focal) "org.freedesktop.portal.OpenURI.OpenDirectory doesn't highlight the selected file" [Undecided, New] https://launchpad.net/bugs/197829508:40
lissyxyeah I saw your comment08:41
lissyxoSoMoN, do you happen to know of recent changes around snap that could lead to https://bugzilla.mozilla.org/show_bug.cgi?id=1773624 ?08:41
ubottuMozilla bug 1773624 in Core "Firefox Snap no longer able to save file on SMB share" [--, New]08:41
lissyxi'm checking and what we send to the XDG portal makes sense08:41
lissyxxdg-desktop-portal receives a smb:// URI and it seems to be rather on the side of gio that it fails?08:42
oSoMoNyou've already gone deeper into investigating the issue than I have08:44
lissyxthe g_file_new_for_uri is kinda opaque to me08:45
seb128oSoMoN, reminds me that we should probably sponsor the changes mardy suggested on https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1851250 to 08:54
ubottuLaunchpad bug 1851250 in chromium-browser (Ubuntu Focal) "[snap] chromium-browser snap cannot upload files outside ~" [Undecided, Confirmed]08:54
seb128oSoMoN, unsure if that would also fix your issue08:55
oSoMoNlet me see08:55
seb128oSoMoN, #19 has the details08:55
oSoMoNI just checked, it's a different set of commits08:56
seb128k08:56
oSoMoNso two separate SRUs, probably08:56
seb128well if we do a SRU we should also include those I think08:56
seb128or do another round, as you prefer08:57
seb128I just had that for a while in my backlog so I mentioned it08:57
oSoMoNyes, it's relevant.08:57
lissyxoSoMoN, btw do you know what is blocking having debug symbols uploaded for snap package?08:57
lissyxhttps://crash-stats.mozilla.org/signature/?product=Firefox&version=103.0a1&signature=libxul.so%400x369d8d3%20%7C%20libxul.so%400x369e33c%20%7C%20libxul.so%400x2d48ee9%20%7C%20libxul.so%400x2d48343%20%7C%20libxul.so%400x2d47c66%20%7C%20libxul.so%400x2d43b9e%20%7C%20libxul.so%400x2d438dd%20%7C%20libxul.so%400x2d4a1ce%20%7C%20libxul.so%400xcbf71c%20%7C%20libxul.so%400xccefd0%20%7C%20libxul.so%400xcc9d76%20%7C%208:57
lissyx0libxul.so%400xc...&date=%3E%3D2022-06-08T00%3A00%3A00.000Z&date=%3C2022-06-09T23%3A59%3A00.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_columns=startup_crash&_columns=release_channel&_columns=distribution_id&_sort=-date&page=108:57
seb128I also discussed it a bit with Ken, we agreed that we should probably try to roll new portal versions as SRUs since usually they had support of newer features in snaps/flatpak which aren't tired to the Ubuntu serie08:58
oSoMoNseb128, the changes mardy is proposing are even more intrusive, so there's a a non-negligible regression risk 08:58
seb128it's sort of 'enablement of newer versions to keep working on older Ubuntu series'08:58
seb128oSoMoN, right, at the same time if your portal don't support current versions of the apps you are screwed08:58
oSoMoNthat would solve both issues nicely, if it's acceptable for the SRU team08:59
seb128but one problem at the time08:59
seb128I think it's going to take some more time to get the SRU team to decide on allowing those, so maybe don't le me distract you from doing that selected fix08:59
oSoMoNlissyx, that's https://bugzilla.mozilla.org/show_bug.cgi?id=1766901, I simply haven't had the time to work on it yet09:00
ubottuMozilla bug 1766901 in Toolkit "Scrape symbols from Ubuntu snap builds" [S1, New]09:00
lissyxoSoMoN, do you have ideas to fix?09:01
lissyxmaybe I can help?09:01
lissyx(also I can land the other fix as soon as you r+ it)09:01
oSoMoNaccepted09:07
oSoMoNsorry for the delay09:07
oSoMoNI'm multitasking too much for my taste09:07
lissyxthankss09:08
lissyxI can sense the feeling :)09:08
lissyxlast round of addressing emilio's comment and we're good09:08
tjaaltonseb128: go for it :)09:09
lissyxoSoMoN, the SMB access issue might be a snap-level one: https://bugzilla.mozilla.org/show_bug.cgi?id=1773624#c309:23
ubottuMozilla bug 1773624 in Core "Firefox Snap no longer able to save file on SMB share" [--, New]09:23
lissyxoSoMoN, I'm not sure how snapd can impact there09:25
seb128tjaalton, in fact the fix was already uploaded to Debian and synced, I did the SRU for J now, maybe you want to review it from the queue? ;-)09:29
seb128tjaalton, I would appreciate if you could also review wpa/J , it fixes another openssl3 related issue which prevents users to connect to legacy stack APs09:30
tjaaltonseb128: sure thing09:33
seb128thanks!09:43
KGB-0gnome-calculator Sebastien Bacher 312634 * commented merge request !8 * https://deb.li/34yNz11:35
KGB-0gnome-calculator tags abec9ed Sebastien Bacher upstream/42.1 * Upstream version 42.1 * https://deb.li/p3JU11:36
KGB-0gnome-calculator upstream/latest cb230c7 Sebastien Bacher * pushed 9 commits (first 5 follow) * https://deb.li/iiWSc11:37
KGB-0gnome-calculator upstream/latest 1f82a7b Rūdolfs Mazurs po/lv.po * Update Latvian translation * https://deb.li/1Wa711:37
KGB-0gnome-calculator upstream/latest 5b88d49 Nathan Follens po/nl.po * Update Dutch translation * https://deb.li/3V1Hd11:37
KGB-0gnome-calculator upstream/latest 2a50c55 Hugo Carvalho po/pt.po * Update Portuguese translation * https://deb.li/D1m211:37
KGB-0gnome-calculator upstream/latest 9f9e95b Fabio Tomat po/fur.po * Update Friulian translation * https://deb.li/3L3QC11:37
KGB-0gnome-calculator upstream/latest 4f0f435 Robert Roth lib/math-equation.vala * Fixed undo/redo broken (#266) * https://deb.li/Tyuh11:37
KGB-0gnome-calculator pristine-tar 544a0da Nathan Pratta Teodosio gnome-calculator_42.1.orig.tar.xz.delta gnome-calculator_42.1.orig.tar.xz.id * pristine-tar data for gnome-calculator_42.1.orig.tar.xz * https://deb.li/Q5Ux11:37
tjaaltonseb128: the intel-media-driver sru is also a new upstream release?11:40
seb128tjaalton, oh crap, I overlooked that, let me fix11:40
tjaaltonthere's also -non-free11:41
tjaaltonversion of it11:41
seb128tjaalton, I reuploaded11:48
seb128tjaalton, the bug impacts only -DENABLE_NONFREE_KERNELS=OFF builds from what I understand11:48
KGB-2gnome-calculator signed tags 965129a Sebastien Bacher ubuntu/1%42.1-1ubuntu1 * gnome-calculator Debian release 1:42.1-1ubuntu1 * https://deb.li/3TPNI11:50
seb128tjaalton, thanks!12:21
tjaaltonah ok12:32
lissyxhm osomon is not here :/13:39
lissyxI'm wondering where is snap/command-chain/desktop-launch coming from on firefox snap13:39
diddledanilissyx: it's coming from the `extensions: [gnome-3-38]` or similar line in the `apps:` block13:51
diddledanithat tells snapcraft to insert the desktop-launch script which is housed in the snapcraft source13:52
lissyxok13:53
lissyxso ultimately the fix is the one requested by gimp people13:53
lissyxhttps://bugzilla.mozilla.org/show_bug.cgi?id=1773624#c613:54
ubottuMozilla bug 1773624 in Core "Firefox Snap no longer able to save file on SMB share" [--, New]13:54
diddledanithe best fix would be to petition @kenvandine and team to add gvfsdbus into the gnome extensions13:58
lissyxyes13:58
tjaaltonseb128: the wpa sru bug description isn't formatted for sru13:59
seb128tjaalton, sorry I was sure I had updated it, did that now14:06
seb128lissyx, sounds like libgvfsdbus should perhaps be in the platform snap14:08
lissyxseb128, this is something the link from the forum requests, but there has been no action since14:09
lissyxand honestly, trying to replicate the gimp workaround is starting to get very hairy14:09
tjaaltonseb128: yes, better14:10
seb128lissyx, the snapcraft extension is https://github.com/snapcore/snapcraft/tree/main/extensions/desktop/common14:11
lissyxseb128, I'm not going to be able to hack more on that today unfortunately14:12
diddledaniyeah the solution is to add libgvfsdbus to the platform snaps - I would push back on adding my "fix" for gimp into the extension desktop-launch script14:12
lissyxseb128, I'm leaving brain dump at https://bugzilla.mozilla.org/show_bug.cgi?id=1773624#c814:12
ubottuMozilla bug 1773624 in Core "Firefox Snap no longer able to save file on SMB share" [--, New]14:12
seb128lissyx, ack14:12
lissyxdiddledani, ah you are the one who did it?14:12
diddledani(I'm the primary maintainer of the gimp snap)14:12
seb128also gvfs in snaps is an issue14:12
seb128unsure if it is one for that particular case14:12
seb128but libgvfs needs to talk to gvfsd but that can't be allowed for security reason14:13
lissyxusecase: accessing files from my NAS from Firefox14:13
seb128since there is no mediation at this level and it would basically give a free access to the host14:13
lissyxi've already spotted at least one report, probably more linked to that14:13
seb128lissyx, the issue is that gvfs has no way today to limit the access to the one thing you request14:13
lissyxdiddledani, well, thanks for that, although I'm lost on how you endup with libgvfsdbus.so14:14
seb128lissyx, also it's weird that this report make it sound like it's a regression, I would have expected that it never worked14:14
lissyx(I mean how you get it packaged in your snap)14:14
lissyxseb128, it was working a few weeks ago14:14
lissyxseb128, maybe it was using the debian package back then?14:14
seb128probably?14:14
lissyxeither way, from a user perspective, it's a regression14:14
seb128yes14:14
lissyxthere are at least three reports that complains about network files and snap14:15
diddledanilissyx: I've got `gvfs-backends` as a dependency (stage-packages)14:15
lissyxI'm waiting on needinfo so I can't be sure, but it sounds like it14:15
seb128diddledani, is that really fixing it?14:15
lissyxdiddledani, I did that as well as the layout thigns14:15
seb128I think we are basically talking about https://github.com/flatpak/xdg-desktop-portal/issues/10214:15
ubottuIssue 102 in flatpak/xdg-desktop-portal "A portal for network (and other mounts)" [Open]14:15
seb128'Currently, if you need access to gvfs functionality inside the sandbox, the only option is to allow access to gvfs-daemon, which makes all network mounts available.'14:15
lissyxdiddledani, but I end up with nothing in my snap's usr/lib/...14:15
lissyxseb128, how do I give access to gvfs-daemon ?14:16
seb128you can't14:16
lissyxok so it's not an option then14:16
seb128snapd doesn't allow to open random holes like flatpak do, that would make snaps unsecure14:16
seb128no14:16
seb128that's a platform problem that we need to fix, it's not trivial though14:17
diddledaniseb128: I think I'm relying on gvfs mounts already being mounted - by that point they'll be in a path located at a place that removable-media allows IIRC14:17
seb128diddledani, through the fuse mounts?14:17
diddledaniI forget, the change was quite a while ago now14:17
lissyxseb128, and would a hack like the one on gimp be doable?14:18
lissyxhonestly, it's above my current level of snap14:18
lissyx(which was undefined two hours ago)14:18
diddledaniit might be that my fix doesn't even do the job that I wanted it to do and I never reverted it ;-)14:19
seb128lissyx, by CIFS mount in that bug do we mean a smb:// location mounted through gio/nautilus?14:20
lissyxyes14:20
diddledaniI think this is the issue report that I "fixed" with that change to add gvfs-backends and other related changes https://github.com/snapcrafters/gimp/issues/9914:21
ubottuIssue 99 in snapcrafters/gimp "Gimp cannot access all drives" [Closed]14:21
diddledanino maybe not14:21
diddledanidonno then :-)14:21
lissyxneed to go anyway14:21
* lissyx &14:21
seb128bye!14:21

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