[00:00] <mdeslaur> jbicha: ok, so opencv is getting miscompiled by gcc12, which in turn is causing the gst-plugins-bad1.0 failures, building opencv with gcc 11 fixes both issues
[00:10] <jbicha> thanks for figuring that out :)
[02:24] <KGB-0> gnome-initial-setup pristine-tar 88d28b6 Jeremy Bicha gnome-initial-setup_43~beta.orig.tar.xz.delta gnome-initial-setup_43~beta.orig.tar.xz.id * pristine-tar data for gnome-initial-setup_43~beta.orig.tar.xz * https://salsa.debian.org/gnome-team/gnome-initial-setup/-/commit/88d28b6
[02:24] <KGB-2> gnome-initial-setup upstream/latest f45a331 Jeremy Bicha * pushed 78 commits (first 5 follow) * https://deb.li/dcX1
[02:24] <KGB-2> gnome-initial-setup upstream/latest e1e9b5d Danial Behzadi po/fa.po * Update Persian translation * https://deb.li/31XLN
[02:24] <KGB-2> gnome-initial-setup upstream/latest 814355e Piotr Drąg po/POTFILES.in * Update POTFILES.in * https://deb.li/3pBWV
[02:24] <KGB-2> gnome-initial-setup upstream/latest 2da4ac3 Kukuh Syafaat po/id.po * Update Indonesian translation * https://deb.li/ijOVg
[02:24] <KGB-2> gnome-initial-setup upstream/latest ef95b75 Hugo Carvalho po/pt.po * Update Portuguese translation * https://deb.li/xbpi
[02:24] <KGB-2> gnome-initial-setup upstream/latest c0ebe04 Danial Behzadi po/fa.po * Update Persian translation * https://deb.li/3lXbh
[02:28] <KGB-0> gnome-online-accounts signed tags 91a5527 Jeremy Bicha upstream/3.45.2 * Upstream version 3.45.2 * https://deb.li/scNj
[02:28] <KGB-0> gnome-online-accounts pristine-tar adb63d0 Jeremy Bicha gnome-online-accounts_3.45.2.orig.tar.xz.delta gnome-online-accounts_3.45.2.orig.tar.xz.id * pristine-tar data for gnome-online-accounts_3.45.2.orig.tar.xz * https://deb.li/Qpc
[02:28] <KGB-2> gnome-online-accounts upstream/latest b3d1665 Jeremy Bicha * pushed 47 commits (first 5 follow) * https://deb.li/3nXER
[02:28] <KGB-2> gnome-online-accounts upstream/latest e1332da Paolo Bonzini src/examples/meson.build * do not install examples * https://deb.li/cXVx
[02:28] <KGB-2> gnome-online-accounts upstream/latest f81441b Paolo Bonzini .gitlab-ci.yml * add frontend-only build to CI * https://deb.li/39FlE
[02:29] <KGB-2> gnome-online-accounts upstream/latest 67c4eed Paolo Bonzini meson.build src/examples/meson.build src/meson.build * examples can be compiled even if !enable_goabackend * https://deb.li/3x2gl
[02:29] <KGB-2> gnome-online-accounts upstream/latest d150678 Paolo Bonzini doc/goa-sections.txt * remove more vestiges of GoaOAuthProvider * https://deb.li/ilcII
[02:29] <KGB-2> gnome-online-accounts upstream/latest bbdfdb8 Milan Crha src/goabackend/goagoogleprovider.c * Update Google OAuth2 for upcoming changes * https://deb.li/3cc9F
[02:39] <KGB-0> gnome-online-accounts ubuntu/master 5baa36f Jeremy Bicha * pushed 66 commits (first 5 follow) * https://deb.li/3C29N
[02:39] <KGB-0> gnome-online-accounts ubuntu/master 23665d4 Emmanuele Bassi NEWS * Update for 3.45.1 release * https://deb.li/3PBxD
[02:39] <KGB-2> gnome-online-accounts signed tags d632e0b Jeremy Bicha ubuntu/3.44.0-1ubuntu1 * gnome-online-accounts Debian release 3.44.0-1ubuntu1 * https://deb.li/v2Nv
[02:39] <KGB-0> gnome-online-accounts ubuntu/master 7874b44 Emmanuele Bassi meson.build * Post-release version bump to 3.45.2 * https://deb.li/snSV
[02:39] <KGB-0> gnome-online-accounts ubuntu/master b9b8c55 Milan Crha src/goabackend/goautils.c * goautils: Turn runtime warnings into debug prints, which they really are * https://deb.li/36Fng
[02:39] <KGB-0> gnome-online-accounts ubuntu/master 05fb1f0 Nart Tlisha po/ LINGUAS ab.po * Add Abkhazian translation * https://deb.li/xn1z
[02:39] <KGB-0> gnome-online-accounts ubuntu/master 1a7adf8 Nart Tlisha po/ab.po * Update Abkhazian translation * https://deb.li/3Krxs
[06:02] <bittin> morning
[06:21] <didrocks> good morning
[06:38] <oSoMoN> good morning desktoppers
[06:39] <didrocks> salut oSoMoN 
[06:41] <oSoMoN> salut didrocks, ça va?
[06:50] <bittin> oSoMoN, got the Firefox 104 update today :)
[06:56] <seb128> goood morning desktopers
[07:00] <didrocks> oSoMoN: ça va, et toi ?
[07:00] <didrocks> hey seb128 
[07:03] <oSoMoN> didrocks, bien, merci!
[07:03] <oSoMoN> salut seb128 
[07:03] <oSoMoN> and good morning bittin 
[07:04] <duflu> Hi bittin, didrocks, oSoMoN, seb128 
[07:04] <didrocks> hey duflu 
[07:04] <oSoMoN> hey duflu 
[07:07] <seb128> lut didrocks, oSoMoN, duflu, how are you?
[07:09] <duflu> seb128, pretty good. You?
[07:12] <didrocks> seb128: FYI, I let you promote lerc/.*pixbuf.*loader, just did the final ACK on the MIRs
[07:13] <seb128> didrocks, 👍
[07:13] <seb128> duflu, I'm alright, wish it would get a bit colder though
[07:19] <seb128> didrocks, what's the status of iwd and ell from a MIR team perspective, ready as well? security team gave a +1
[07:22] <jibel> Good morning all
[07:22] <didrocks> seb128: that wasn’t discussed yesterday, I can have a look
[07:22] <didrocks> do you have the bug # handy?
[07:23] <duflu> Morning jibel 
[07:23] <seb128> didrocks, bug #1971739
[07:24] <didrocks> and https://bugs.launchpad.net/ubuntu/+source/ell/+bug/1971738, got them
[07:25] <didrocks> seb128: I guess you can change https://bugs.launchpad.net/bugs/1956950 iwd status to fixed released too?
[07:26] <didrocks> ah no, it has been added there
[07:26] <didrocks> I don’t see anything mentioned on the iwd bug that the LTO issue was fixed?
[07:28] <didrocks> hey jibel 
[07:28] <seb128> didrocks, sorry, it seems I failed to upload my change before holidays, I'm still struggling with restoring things in memory, doing that now
[07:29] <seb128> I just noticed that security team gave a +1 and ff is tomorrow so was wondering if we still could do it
[07:29] <didrocks> no worry, just FYI, it’s the third time in 2 days where desktop is asking for the status of a MIR when there is an action pending on us
[07:30] <didrocks> so, I think we should get better at this
[07:30] <seb128> indeed, my fault here for sure
[07:30] <oSoMoN> salut jibel 
[07:56] <lissyx> oSoMoN or someone else, do you have some hints on launchpad build setup for aarch64 snap?
[08:05] <oSoMoN> lissyx, do you mean on the build environment?
[08:05] <lissyx> yeah
[08:06] <lissyx> how does it performs it, VM ? real hw? what are the disk / cpu / ram specs ?
[08:11] <oSoMoN> I'm not sure there are public specs, the folks on #launchpad might be able to help
[08:49] <lissyx> oSoMoN, for https://github.com/snapcore/snapd/pull/11025#issuecomment-1202275770 where I would need to create symlinks
[08:49] <lissyx> oSoMoN, when/where would be the best place to perform that?
[08:55] <oSoMoN> lissyx, that's a tricky question. If it doesn't impact startup time significantly, then in the launcher script. Otherwise, probably in a hook (configure hook?, see https://snapcraft.io/docs/supported-snap-hooks)
[10:40] <KGB-0> mutter ubuntu/master f6863e5 Jeremy Bicha (574 files in 48 dirs) * Merge tag 'debian/43_beta-3' into ubuntu/master * https://deb.li/iUI7s
[10:40] <KGB-0> mutter ubuntu/master 75b9dbd Jeremy Bicha debian/patches/ubuntu/x11-Add-support-for-fractional-scaling-using-Randr.patch * Refresh x11-Add-support-for-fractional-scaling patch * https://deb.li/lwTC
[11:47] <KGB-2> gnome-software signed tags ab77add Jeremy Bicha upstream/43_beta * Upstream version 43~beta * https://deb.li/371eI
[12:48] <jbicha> seb128: I ran git clone lp:software-properties and grepped for snap. There's nothing there. Can we drop the snap library dependency there?
[12:49] <jbicha> I'm working on a snapd-glib transition as part of the libsoup3 fun
[12:52] <seb128> jbicha, yes, it was used for livepatch before migrating to 'ua'
[13:08] <lissyx> oSoMoN, given it would just be about listing dictionaries on the system and doing a few symlinks with hunspell snap, I guess it should be pretty fast?
[13:11] <oSoMoN> lissyx, it should be, but it will have to be measured to make sure the overhead is acceptable
[13:11] <lissyx> but https://github.com/snapcore/snapd/pull/11025#issuecomment-1202275770
[13:11] <lissyx> this mentions using the mount-control interface
[13:11] <lissyx> the doc there https://snapcraft.io/docs/mount-control-interface says it does not autoconnect?
[13:12] <lissyx> from https://snapcraft.io/docs/interface-management#heading--auto-connections does it means once it is installed from the snap store, we can have it autoconnect ?
[13:14] <oSoMoN> lissyx, I'm not sure I understand why mount-control would be needed
[13:15] <lissyx> that is what is suggested to be able to discover host hunspell dictionnaries
[13:15] <lissyx> and then use this list to symlink those dics in the hunspell snap
[13:15] <oSoMoN> ah, right
[13:16] <oSoMoN> sorry I misread the suggestion
[13:16] <oSoMoN> this could also be achieved using the system-files interface, I think
[13:17] <oSoMoN> similarly to how firefox is allowed to read the host's /etc/firefox/policies directory
[13:18] <oSoMoN> it could be allowed to read the host's /usr/share/hunspell, and then if it sets DICPATH to point to some other directory there shouldn'
[13:18] <oSoMoN> there shouldn't be any interference
[13:18] <oSoMoN> let me ask mardy on that PR
[13:25] <lissyx> right now I have a very simple problem
[13:25] <lissyx> I have no idea how to perform the connection :)
[13:26] <lissyx> ah it seems :mount-control ?
[13:27] <lissyx> but "snap run --shell firefox", I can't see $SNAP_COMMON/host-hunspell
[13:33] <lissyx> oSoMoN, this mount-control interface is very unclear in how to be used
[13:33] <lissyx> mount command does not work
[13:34] <lissyx> snapctl mount does not work
[13:34] <lissyx> both complain I'm not root, and sudo is blocked within the snap
[13:45] <lissyx> (even within firefox.launcher)
[13:48] <seb128> lissyx, the interfaces aren't done from within the snap, they are things declared in the snapcraft.yaml and managed by snapd
[13:48] <lissyx> seb128, I declared it
[13:48] <lissyx> seb128, I plugged it
[13:48] <lissyx> seb128, the doc says it is up to the snapped application to maintain the mount point
[13:50] <seb128> lissyx, what are you trying to mount and where?
[13:56] <seb128> I wonder if mardy's advice was wrong there, the mount-control interface seems to be about mounting devices? 
[13:58] <seb128> or is that because it comes from another snap so technically is a mount?
[13:58] <seb128> lissyx, https://forum.snapcraft.io/t/using-the-snapctl-tool/15002#heading--mount-control has snapctl examples of how to do a mount
[14:02] <lissyx> seb128, yes, but those commands are wrong
[14:02] <seb128> :(
[14:03] <lissyx> sudo snapctl mount --persistent /usr/share/hunspell $SNAP_COMMON/host-hunspell
[14:03] <seb128> maybe write on the discourse post to say so
[14:03] <lissyx> I did
[14:03] <lissyx> snapctl mount inside the snap itself cannot work because of sudo
[14:03] <lissyx> and the doc says the app has to take care of that
[14:03] <lissyx> that sounds completely contradictory to me
[14:05] <lissyx> not on discourse, on github
[14:05] <lissyx> I dont have a discourse account
[14:06] <seb128> lissyx, discourse use the ubuntu sso I think?
[14:06] <lissyx> I tried to, it refused somehow
[14:06] <seb128> :(
[14:06] <lissyx> honestly being blocked on that is really not what I anticipated
[14:06] <seb128> anyway I think mardy was wrong there, I pinged him on our internal channel
[14:07] <lissyx> I think as well
[14:07] <lissyx> but that's not really good news, because it means the current PR still needs to be merged before I can move forward
[14:07] <seb128> lissyx, did you try to do something like https://github.com/canonical/firefox-snap/blob/stable/snapcraft.yaml#L80 ?
[14:08] <lissyx> what do you mean?
[14:08] <lissyx> use system-files interface to access hunspell?
[14:08] <seb128> use the system-files and give access to /usr/share/hunspell
[14:08] <lissyx> no, because I assumed the existing PR was the reason this was not done
[14:09] <seb128> well, depends what you are trying to do
[14:09] <seb128> I though you were trying to read the system files to do the symlink/copy from the content
[14:10] <lissyx> I'm doing what mardy said
[14:10] <lissyx> so yes, reading the system files to do the symlinks
[14:10] <lissyx> but the PR was opened to grant access to /usr/share/hunspell; so I assumed a system-files would just not work
[14:11] <seb128> I pinged him, I wonder if he did a thinko by writing mount-control instead of system-files
[14:11] <seb128> they nacked the PR on the basis that they didn't trust the format to not change or the location to be standard accross distro, from memory
[14:12] <seb128> https://github.com/snapcore/snapd/pull/11025#issuecomment-964647835
[14:14] <seb128> so they suggesting getting the list from the system but the content from another snap which is targetting the same snap core serie to ensure we puill content which is compatible with the hunspell version in use
[14:14] <seb128> suggested
[14:14] <seb128> at least that was my understanding
[14:14] <lissyx> yes
[14:15] <lissyx> that's not the problem
[14:15] <lissyx> this part is clear
[14:15] <lissyx> there it is also mentionned to mount from the host
[14:15] <lissyx> so we are back to mount
[14:15] <seb128> which I think is the thinko, by mardy isn't around atm it seems
[14:15] <lissyx> I've searched a lot on other snap's usage of mount-control but I found nothing
[14:15] <seb128> the intend is to make the content of /usr/share/hunspell available in the snap
[14:15] <seb128> and I think system-files is the right way
[14:16] <seb128> not mount-control
[14:16] <lissyx> so given the doc, I have no idea how this is intended to be used besides declaring in the snapcraft.yaml
[14:16] <seb128> but let's wait for mardy to clarify
[14:16] <KGB-0> gnome-bluetooth3 signed tags 12fa577 Jeremy Bicha upstream/42.3 * Upstream version 42.3 * https://deb.li/NZG0
[14:17] <KGB-2> gnome-bluetooth3 upstream/latest 1addee4 Jeremy Bicha * pushed 11 commits (first 5 follow) * https://deb.li/igVW2
[14:17] <KGB-2> gnome-bluetooth3 upstream/latest 347f4fc Maximiliano Sandoval R sendto/ main.c meson.build * sendto: Initialize libadwaita * https://deb.li/2ZoV
[14:17] <KGB-2> gnome-bluetooth3 upstream/latest e9b14be Maximiliano Sandoval R sendto/main.c * sendto: Add margins to window * https://deb.li/3hVEg
[14:17] <KGB-2> gnome-bluetooth3 upstream/latest 7970623 Nart Tlisha po/ LINGUAS ab.po * Add Abkhazian translation * https://deb.li/8cwN
[14:17] <KGB-2> gnome-bluetooth3 upstream/latest e6f6f4d Nart Tlisha po/ab.po * Update Abkhazian translation * https://deb.li/3oMex
[14:17] <KGB-2> gnome-bluetooth3 upstream/latest 81ffe36 Bastien Nocera lib/bluetooth-client.c * lib: Better API docs for _connect_service() API * https://deb.li/SM6y
[14:17] <KGB-2> gnome-bluetooth3 pristine-tar a709cbe Jeremy Bicha gnome-bluetooth3_42.3.orig.tar.xz.delta gnome-bluetooth3_42.3.orig.tar.xz.id * pristine-tar data for gnome-bluetooth3_42.3.orig.tar.xz * https://deb.li/3zZI4
[14:18] <lissyx> seb128, where am I supposed to see the system-files once within the snap?
[14:18] <lissyx> there's no /usr/share/hunspell
[14:21] <seb128> lissyx, it should be in the same location, did you snap connect firefox:<plugname>?
[14:22] <seb128> lissyx, I don't really understand the issue mardy pointed out with /usr being a mount
[14:22] <seb128> I'm trying to get him to join here
[14:22] <lissyx> I dont see anything in snap connections firefox for a system-files of hunspell
[14:23] <lissyx> maybe reusing the same connector name was a poor diea
[14:23] <seb128> did you add a plug
[14:23] <seb128>   hunspell:
[14:23] <seb128>     interface: system-files
[14:23] <seb128>     read: [hunspell]
[14:23] <seb128> or similar?
[14:23] <seb128> then rebuilt the snap?
[14:24] <lissyx> yes 
[14:25] <mardy> hi seb128 :-)
[14:25] <seb128> hey mardy, thanks for joining!
[14:25] <lissyx> so yes name reuse is a poor idea
[14:25] <seb128> lissyx, ^ mardy should be able to help you better than me
[14:26] <lissyx> even after "snap connect firefox:hunspell-host :system-files" I have no /usr/share/hunspell
[14:26] <seb128> mardy, I don't understand why you suggested mount-control, we should be able to mount /usr/share/hunspell from the host using system-files no?
[14:26] <ogra> i dont think that can work, there are namespaces involved and /usr comes from the core snap 
[14:26] <ogra> so system-files wont gain you what you want here 
[14:27] <ogra> you need *something* that bind mounts the hosts dir on top of the core snaps dir ... (and creates a mountpoint etc)
[14:27] <oSoMoN> yes, that's what mardy explained at https://github.com/snapcore/snapd/pull/11025#issuecomment-1225787194
[14:28] <seb128> that's quite limiting :(
[14:28] <lissyx> ogra, yes, read above?
[14:28] <seb128> lissyx, what error do you get trying to use snapctl mount?
[14:28] <seb128> maybe share the command and output here for mardy and ogra 
[14:28] <lissyx> seb128, where am I supposed to do the snapctl mount
[14:28] <mardy> seb128, lissyx: the /usr seen by the snap is not the host's, taht's the problem. It sees the /usr from the base snap (grp ^base /snap/firefox/current/meta/snap.yaml)
[14:28] <lissyx> and with what arguments
[14:28] <ogra> from some script ... ?
[14:28] <KGB-0> tracker upstream/latest 68a59cd Jeremy Bicha * pushed 145 commits (first 5 follow) * https://deb.li/aM0E
[14:28] <ogra> or hook
[14:28] <lissyx> I did that, above
[14:28] <KGB-0> tracker upstream/latest 87d5b79 Carlos Garnacho src/libtracker-sparql/bus/tracker-bus-cursor.c * libtracker-sparql/bus: Initialize string length out value in all paths * https://deb.li/3MZCe
[14:28] <seb128> ogra, should it work from a snap run --shell ?
[14:29] <lissyx> snapctl mount refuses to run unless root
[14:29] <KGB-0> tracker upstream/latest 39d54f1 Carlos Garnacho src/libtracker-sparql/bus/tracker-bus-cursor.c * libtracker-sparql/bus: Check errors and return values reading cursors * https://deb.li/IZAD
[14:29] <KGB-0> tracker upstream/latest 8258631 Carlos Garnacho src/libtracker-sparql/bus/tracker-bus-cursor.c * libtracker-sparql/bus: Validate column offsets in bus cursors * https://deb.li/3eVhz
[14:29] <lissyx> sudo does not seems to be expected to work within the snap
[14:29] <KGB-0> tracker upstream/latest edbbea3 Carlos Garnacho src/libtracker-sparql/bus/tracker-bus.c * libtracker-sparql/bus: Check return value of g_dbus_message_to_error() * https://deb.li/3kciR
[14:29] <ogra> hmm, i wonder why ... given snapd is running suid you should not need root explicitly 
[14:29] <KGB-0> tracker upstream/latest a048662 Sam Thursfield src/libtracker-sparql/bus/ tracker-bus-cursor.c tracker-bus.c * Merge branch 'wip/carlosg/bus-fixes' into 'master' * https://deb.li/pVGn
[14:29] <seb128> lissyx, can you share the declaration you did in the snapcraft.yaml and the cmd/error?
[14:29] <ogra> (though i admittedly never used mount-control outside of Ubuntu Core (where i use it from daemon snaps only ... that run as root)
[14:30] <ogra> ... but mardy implemented mount-control, he should know more than me here 🙂
[14:30] <mardy> ogra: I wish, but I'm not an expert with all the rest of snapd :-)
[14:31] <ogra> heh
[14:31] <lissyx>  64   host-hunspell:
[14:31] <lissyx>  65     interface: mount-control
[14:31] <lissyx>  66     mount:
[14:31] <lissyx>  67     - what: /usr/share/hunspell
[14:31] <lissyx>  68       where: $SNAP_COMMON/host-hunspell
[14:31] <lissyx>  69       persistent: true
[14:31] <lissyx>  70       options: [ro, bind, noatime, noexec]
[14:31] <mardy> but yes, snapctl is a client, the real mount should be executed by snapd, which runs as root
[14:31] <ogra> right
[14:31] <lissyx> and well, the command I dont know how relevant that is, since it refuses to do anything unless root
[14:31] <mardy> lissyx: what error do you get?
[14:32] <lissyx> mardy, it refuses to run unless root ?
[14:32] <didrocks> seb128: for your viewing pleasure: https://launchpad.net/ubuntu/kinetic/+queue?queue_state=0&queue_text=aad-auth :)
[14:32] <mardy> lissyx: I'm not doubting your word, but the exact error message would help me to grep in the snapd source code
[14:33] <lissyx> $ snapctl mount --persistent /usr/share/hunspell 
[14:33] <lissyx> error: cannot use "mount" with uid 1000, try with sudo
[14:33] <lissyx> please note also that from the doc, it is far from clear what exactly is the expectd "snapctl mount" to perform
[14:34] <lissyx> the only relevant link https://snapcraft.io/docs/using-snapctl#heading--mount-control does not even state whether this is supposed to be running within a snap or on the host
[14:34] <ogra> i'D use it from a connect hook 
[14:35] <mardy> lissyx: it's from a snap indeed. What if you call it from a hook? Dunno which one would be the most appropriate
[14:35] <ogra> (once the interface gets connected, the mount command gets called automatically)
[14:35] <mardy> ogra: ah, you beat me :-)
[14:35] <lissyx> --help on "snapctl mount" mentions some "<what>:" and "<where>:" but it is unclear whether you need some snap name or what?
[14:36] <lissyx> there is no mention of "connect hook" in https://snapcraft.io/docs/supported-snap-hooks
[14:36] <ogra> you defined what and where above in your snapcraft.yaml 
[14:36] <mardy> lissyx: you don't need a snap name; if the snapctl command is called from within a snap's confinement, snapd detects that and knows what is the snap calling it
[14:36] <lissyx> ogra, just pointing that the documentation leaves a lot of interrogations points
[14:36] <mardy> lissyx: https://snapcraft.io/docs/interface-hooks
[14:37] <ogra> lissyx, here are some examples: https://github.com/ogra1/config-snap/tree/master/snap/hooks
[14:37] <ogra> (the name is the key "connect-plug-<interface name>")
[14:38] <lissyx> so much things are not explained :(
[14:38] <ogra> lissyx, doc is well hidden in a link in the text of "inerface-hooks" https://snapcraft.io/docs/interface-hooks
[14:38] <lissyx> it's easy when you know what you want to search for
[14:39] <ogra> yep ... and if you know the cryptic internal names ... 
[14:39] <lissyx> so there is no "hooks/" on the firefox snap
[14:39] <lissyx> is it going to be enough to create one?
[14:40] <ogra> yeah, just create the dir ... dump a script into it with the proper name and thats it
[14:40] <ogra> should be under snap/hooks/
[14:40] <lissyx> +x ?
[14:40] <mardy> yes
[14:40] <lissyx> there's no snap/
[14:40] <ogra> yeah (though i think snapcraft adds +x automatically nowadays)
[14:41] <lissyx> snapcraft.yaml is at the root
[14:41] <ogra> create it then
[14:41] <ogra> snapcraft expects that folder structure to consider it a valid hook
[14:41] <lissyx> that's not consistent with your repo: https://github.com/ogra1/config-snap/tree/master/snap
[14:41] <lissyx> where it's snapcraft.yaml and hooks/ under snap/
[14:42] <ogra> yes
[14:42] <lissyx> also what is the correct snapctl command?
[14:42] <ogra> snapcraft.yaml can live anywhere 
[14:42] <lissyx> do I need ":" ?
[14:42] <ogra> hooks can not
[14:42] <seb128> mardy, ogra, should the snapctl cmd work from a snap run --shell env? 
[14:42] <ogra> i'd guess so ... not sure 
[14:42] <seb128> mardy, ^
[14:42] <seb128> would make easier to try
[14:43] <ogra> effectively it is supposed to b identical to you running the snap  ...
[14:43] <lissyx> if it is supposed to work, it does not
[14:43] <lissyx> that's the first thing I tested
[14:43] <ogra> right ... and it seems you get the error from the mount command, not from snapd ... which indicates the suid bit is dropped somewhere on the way to call mount
[14:43] <lissyx> so: "snapctl mount --persistent /usr/share/hunspell $SNAP_COMMON/host-hunspell" ?
[14:44] <ogra> yeah
[14:45] <lissyx> am I supposed to see anything after installatio and running "snap run --shell firefox"?
[14:45] <lissyx> like it should be mounted in $SNAP_COMMON/host-hunspell right?
[14:45] <ogra> a different prompt usually
[14:45] <mardy> seb128: yes, I think it should work, but as root
[14:46] <lissyx> there is nothing
[14:47] <mardy> lissyx: to make sure that the hook was invoked, make it create a file under $SNAP_COMMON
[14:48] <ogra> right, you might need a mkdir -p $SNAP_COMMON/host-hunspell ... so the mountpoint exists
[14:48] <mardy> lissyx: and I think that the target directory ($SNAP_COMMON/host-hunspell) must exist
[14:48] <ogra> heh ... *snap*
[14:49] <lissyx> the good news is that if such a hook is required to perform the mount, this is also where I will be able to perform the symlinks ...
[14:50] <lissyx> so, no luck
[14:50] <lissyx> no file created under $SNAP_COMMON
[14:50] <lissyx> no directory either
[14:50] <lissyx> nothing mounted
[14:51] <ogra> anything in journalctl or snappy-debug output ?
[14:51] <lissyx> https://paste.mozilla.org/evo0yjO8/raw
[14:52] <ogra> dont frget a connect hook only runs when you actuvely connect the interface .... 
[14:52] <ogra> *forget
[14:52] <ogra> geez .... my typing ... 
[14:52] <lissyx> wait
[14:52] <lissyx> so if it was already connected, installing a new snap will not run the hook?
[14:53] <ogra> and i'd suggest to always run snappy-debug in a second terminal ... that'll show you all confinement issues 
[14:53] <ogra> just installing an update will not re-connect i think ... it just keeps the existing connection
[14:53] <ogra> so you should disconnect and connect again
[14:54] <lissyx> yeah now I get an error when connecting
[14:54] <ogra> great
[14:54] <lissyx> so "/usr/share/hunspell not a block device"
[14:54] <ogra> so it runs .. 
[14:55] <ogra> wow, our documentation is pretty excessive ... https://snapcraft.io/docs/mount-observe-interface ... 
[14:55] <ogra> oh ... because i'm looking at the wrong doc 😛
[14:56] <mardy> lissyx: oops, indeed, try something like snapctl mount --persistent -o bind,ro $SNAP_COMMON/host-hunspell
[14:57] <mardy> nope, sorry, I missed one part :-)
[14:57] <mardy> snapctl mount --persistent -o bind,ro /usr/share/hunspell $SNAP_COMMON/host-hunspell
[14:57] <lissyx> so we need the options twice
[14:58] <mardy> lissyx: those in the yaml are the possible allowed options
[14:58] <mardy> lissyx: the actual ones are those that you use in the command-line
[14:58] <lissyx> ok, with the correct options it is mounting
[14:59] <ogra> YAY !!!
[14:59] <lissyx> so, 1000$ question
[14:59] <ogra> no more whining about root ? 
[14:59] <lissyx> should symlink be done on interface connect hook?
[14:59] <lissyx> or another hook?
[14:59] <ogra> where do you want to link ?
[14:59] <lissyx> where mardy told me to
[15:00] <lissyx> we are just going to use this mount point to know system-level installed dictionnaries
[15:01] <ogra> well, i assume you also want to use them too ... not only know about them
[15:01] <lissyx> no
[15:01] <ogra> oh ? 
[15:01] <lissyx> we are going to use snap hunspell ones
[15:01] <ogra> why all the effort then ? 
[15:01] <lissyx> to know which ones are installed by the system
[15:02] <lissyx> so we present a shorter list to the user
[15:02] <ogra> AH !
[15:02] <ogra> now it makes sense
[15:02] <lissyx> I'm not sure exactly what DICPATH I should build
[15:03] <lissyx> would post-refresh be a good candidate? https://snapcraft.io/docs/supported-snap-hooks#heading--post-refresh
[15:03] <lissyx> do I just need a snap/hooks/post-refresh file,
[15:03] <ogra> to create an env variable ? 
[15:03] <ogra> i'D do that frm a command-shain wrapper instead
[15:03] <ogra> *command-chain
[15:04] <ogra> (on app startup)
[15:04] <lissyx> no, to create symlinks
[15:04] <ogra> i'm still not sure what you want to link where exactly 
[15:04] <lissyx> create a DICPATH full of symlinks
[15:05] <lissyx> based on the content of both host hunspell and snap hunspell
[15:05] <lissyx> host hunspell to know what dic we need
[15:05] <lissyx> snap hunspell for the actual files
[15:06] <ogra> right, but why do you need symlinks for this ... you only want the list from $SNAP_COMMON/host-hunspell ... which is a simple ls -1 ... 
[15:06] <KGB-2> gtk3 signed tags 6fed356 Sebastien Bacher ubuntu/3.24.34-3ubuntu2 * gtk+3.0 Debian release 3.24.34-3ubuntu2 * https://deb.li/3cOwy
[15:07] <lissyx> DICPATH expect a directory ?
[15:07] <lissyx> right now I dont know where I can write ...
[15:07] <ogra> but not $SNAP_COMMON/host-hunspell since you dont want to use that 
[15:07] <lissyx> $SNAP and $SNAP_COMMON are ro 
[15:08] <lissyx> (at least from snap shell)
[15:08] <ogra> nope
[15:08] <ogra> SNAP_COMMON is rw but lives in /var
[15:08] <lissyx> $ mkdir $SNAP_COMMON/snap-hunspell
[15:08] <lissyx> mkdir: cannot create directory \u2018/var/snap/firefox/common/snap-hunspell\u2019: Permission denied
[15:08] <ogra> (so you can only use it from hooks that run as root
[15:08] <ogra> right
[15:09] <ogra> so you have $SNAP_COMMON/host-hunspell ... and you will have $SNAP_COMMON/hunspell-snap-shared-space ... 
[15:10] <ogra> you only want to provide the list of langs in the first one by creating symlinks into the second one from a place you can write to, correct ? 
[15:10] <ogra> so that would be a command-chain script and putting the links into $SNAP_USER_COMMON
[15:11] <ogra> so you end up with something like: $SNAP_USER_COMMON/hunspell/de_DE.* -> $SNAP_COMMON/hunspell-snap-shared-space/de_DE.*
[15:12] <ogra> and have DICPATH point to  $SNAP_USER_COMMON/hunspell/
[15:13] <ogra> alternatively you can do it all from hooks and then can use SNAP_COMMON for everything ... (but wont have a per-user list then ... not sure that is wanted or not)
[15:14] <lissyx> good to know we might have user-specific things
[15:14] <lissyx> so from post-refresh hooks ...
[15:14] <lissyx> mkdir: cannot create directory '/snap/firefox/x13/snap-hunspell': Read-only file system
[15:14] <lissyx> hm that's $SNAP/ sorry
[15:15] <KGB-0> tracker-miners upstream/latest 0c94e30 Jeremy Bicha * pushed 37 commits (first 5 follow) * https://deb.li/3wVCv
[15:15] <KGB-0> tracker-miners upstream/latest f990be9 Carlos Garnacho src/libtracker-miner/tracker-miner-fs.c * libtracker-miner: Drop unused stats counter * https://deb.li/3gje
[15:15] <KGB-0> tracker-miners upstream/latest fe630e9 Carlos Garnacho src/ libtracker-miner/tracker-miner-fs.c miners/fs/tracker-main.c * libtracker-miner: Make stat reports in debug output clearer * https://deb.li/3OEv0
[15:15] <KGB-2> tracker-miners pristine-tar 3a7e193 Jeremy Bicha tracker-miners_3.4.0~beta.orig.tar.xz.delta tracker-miners_3.4.0~beta.orig.tar.xz.id * pristine-tar data for tracker-miners_3.4.0~beta.orig.tar.xz * https://deb.li/3C6sn
[15:15] <KGB-0> tracker-miners upstream/latest 5bb579e Carlos Garnacho src/miners/fs/tracker-miner-files.c * tracker-miner-fs: Do not use unrestricted queries moving files * https://deb.li/zjRA
[15:15] <KGB-0> tracker-miners upstream/latest cc655ba Weijia Wang src/libtracker-miners-common/tracker-term-utils.c * macOS: add pipe2 fallback * https://deb.li/3vz6i
[15:15] <KGB-0> tracker-miners upstream/latest 112ea98 Carlos Garnacho src/libtracker-miners-common/tracker-term-utils.c * Merge branch 'darwin' into 'master' * https://deb.li/hqDv
[15:15] <ogra> yeah, i was about to say 🙂
[15:16] <lissyx> good nnews is the error message shows it iterated on the expected content
[15:17] <lissyx> but with $SNAP_USER_COMMON nothing is created
[15:18] <ogra> not from a hook, no 
[15:18] <ogra> hooks run as root ... SNAP_USER_COMMON points to ~/snap
[15:18] <ogra> well, ~/snap/<snapname>/common ... 
[15:19] <ogra> you might find something in /root/snap if you ran from a hook ... 
[15:19] <lissyx> well I guess $SNAP_COMMON is good neough
[15:19] <ogra> (not sure we finally started preventing that)
[15:19] <lissyx> we get on-par with deb/tar
[15:19] <ogra> pfft ... on par ... we should get *beyond* deb/tar with snaps 😉
[15:20] <ogra> (yeah, i'm slightly biased 🙂 )
[15:20] <lissyx> ogra, given the current status, being on par is already a huge step forward ...
[15:20] <ogra> heh
[15:20] <lissyx> opk
[15:21] <lissyx> https://paste.mozilla.org/jVAKXGQB/raw
[15:21] <lissyx> Good.
[15:21] <ogra> lovely !
[15:21] <lissyx> Now I only see hunspell french + english
[15:22] <lissyx> I guess we might want to clean the directory where we create the symlinks on each refresh
[15:22] <lissyx> to make sure we dont have stale dics
[15:23] <oSoMoN> yes, that makes sense
[15:23] <oSoMoN> lissyx, thanks a lot for working on this, btw
[15:24] <lissyx> do we need to keep mount-control always active?
[15:24] <lissyx> or would we have a way to unmount once we have done what we need?
[15:24] <ogra> you should be able to do that from the hook as well
[15:24] <ogra> using snapctl
[15:25] <lissyx> from the post-refresh hook?
[15:25] <ogra> from whatever hook you want ... afer the interface is connected your mount command should always work
[15:26] <lissyx> mardy, so you can safely close https://github.com/snapcore/snapd/pull/11025 now
[15:27] <ogra> lissyx, note that you (or oSoMoN)  will need to file an aut-connect request for mount-control to make it work automatically 
[15:27] <ogra> *auto-connect
[15:28] <oSoMoN> yes, I can take care of that once we merge that code
[15:28] <ogra> (if FF does not have this yet at least)
[15:28] <lissyx> so snapctl umount works
[15:28] <ogra> awesome
[15:28] <lissyx> I now only have the mount points from the hunspell snap
[15:29] <ogra> you can rm them from the same hook that unmounts i guess
[15:29] <lissyx> also if a user installs a dictionary, the snap needs to be refreshed though
[15:29] <ogra> oh, mis-read ... ignore that last comment
[15:35] <lissyx> do I have a way locally to override to allow auto-connect ?
[15:35] <lissyx> I've reverted to stable firefox and now I'm stuck
[15:36] <lissyx> snap install fails because no dic
[15:36] <lissyx> no dic because I have not plugged the mount-control
[15:36] <lissyx> I can't plug mount-control until it is installed
[15:41] <KGB-0> ghex tags 537fdb7 Jeremy Bicha upstream/43_alpha * Upstream version 43~alpha * https://deb.li/3gqON
[15:41] <KGB-2> ghex upstream/latest 4dafe34 Jeremy Bicha * pushed 100 commits (first 5 follow) * https://deb.li/3fEYd
[15:41] <KGB-2> ghex upstream/latest 36d2558 Мирослав Николић po/sr.po * Update Serbian translation * https://deb.li/MjrF
[15:41] <KGB-2> ghex upstream/latest 29ec482 Asier Sarasua Garmendia po/eu.po * Update Basque translation * https://deb.li/i4zT1
[15:41] <KGB-2> ghex upstream/latest 92c26b8 Piotr Drąg po/pl.po * Update Polish translation * https://deb.li/7jcj
[15:41] <KGB-2> ghex upstream/latest aa38d08 Logan Rathbone src/ (16 files) * UI: fix some GTK4/libadwaita papercuts * https://deb.li/3Fq4R
[15:41] <KGB-2> ghex upstream/latest 7ba4b4c Logan Rathbone src/ghex.css * findrep ui: Slight tweak to padding. * https://deb.li/aEyD
[15:42] <ogra> lissyx, i fear you have to uninstall/reinstall (sorry i'm in meetings for the next hours)
[15:45] <lissyx> now it's not mounting again ...
[15:47] <lissyx> because I need to disconnect then reconnect
[15:58] <lissyx> oSoMoN, should be ready now
[16:00] <oSoMoN> lissyx, thanks, I'll review it tomorrow
[16:10] <KGB-2> glib-networking upstream/latest 96c1a9c Jeremy Bicha * pushed 23 commits (first 5 follow) * https://deb.li/2TXy
[16:10] <KGB-2> glib-networking upstream/latest d5ed4a3 Zurab Kargareteli po/ LINGUAS ka.po * Add Georgian translation * https://deb.li/3Hhd4
[16:10] <KGB-2> glib-networking upstream/latest 2228cfb Olivier Crête (6 files in 6 dirs) * meson: Export static libraries and deps * https://deb.li/VUWM
[16:10] <KGB-2> glib-networking upstream/latest b50f76c Michael Catanzaro .gitlab-ci.yml .gitlab-ci/Dockerfile .gitlab-ci/run-docker.sh * ci: Update CI image * https://deb.li/3NdVj
[16:10] <KGB-2> glib-networking upstream/latest 3454aac Michael Catanzaro .gitlab-ci.yml * ci: run the tests fewer times * https://deb.li/qhe0
[16:10] <KGB-2> glib-networking upstream/latest 10959c6 Michael Catanzaro proxy/environment/genvironmentproxyresolver.c * genvironmentproxyresolver: validate environment variable values * https://deb.li/389Q2
[16:29] <KGB-2> totem signed tags 69b70b7 Jeremy Bicha upstream/43_beta * Upstream version 43~beta * https://deb.li/ITNE
[16:29] <KGB-2> totem pristine-tar 90bfa74 Jeremy Bicha totem_43~beta.orig.tar.xz.delta totem_43~beta.orig.tar.xz.id * pristine-tar data for totem_43~beta.orig.tar.xz * https://deb.li/3BTbC
[16:41] <KGB-2> deja-dup upstream/latest f8c3a8b Jeremy Bicha * pushed 33 commits (first 5 follow) * https://deb.li/ijhlI
[16:41] <KGB-2> deja-dup upstream/latest bf99463 Michael Terry libdeja/duplicity/DuplicityJob.vala * duplicity: bump volsize to 200MB * https://deb.li/x9bc
[16:41] <KGB-2> deja-dup upstream/latest 8285c1e Michael Terry (8 files in 5 dirs) * preferences: add some in-dialog help for always excluded folders * https://deb.li/3KUky
[16:42] <KGB-2> deja-dup upstream/latest d424e1e Yuri Chornoivan po/uk.po * Update Ukrainian translation * https://deb.li/9T5G
[16:42] <KGB-2> deja-dup upstream/latest ad85baf Piotr Drąg po/pl.po * Update Polish translation * https://deb.li/3shZM
[16:42] <KGB-2> deja-dup upstream/latest 21dc456 Anders Jonsson po/sv.po * Update Swedish translation * https://deb.li/Ch91
[16:47] <KGB-0> deja-dup signed tags 448d8b6 Jeremy Bicha ubuntu/43.4-1ubuntu1 * deja-dup Debian release 43.4-1ubuntu1 * https://deb.li/6dXV
[17:53] <lissyx> ogra, mardy, seb128 thanks all for your help
[18:14] <ogra> lissyx, well, thanks for doing the work 😉
[18:34] <lissyx> seb128, would be nice to get some traction on https://github.com/flatpak/xdg-desktop-portal/issues/463 / https://github.com/flatpak/xdg-desktop-portal/issues/831
[18:34] <lissyx> seb128, the latest comment really makes me sad https://github.com/flatpak/xdg-desktop-portal/issues/463#issuecomment-1226073151
[19:10] <jbicha> seb128: does gted sound good to you? bug 1987556
[19:20] <KGB-2> totem signed tags 16b122f Jeremy Bicha ubuntu/43_beta-1ubuntu1 * totem Debian release 43~beta-1ubuntu1 * https://deb.li/3zgjA
[19:20] <KGB-2> totem ubuntu/master c3770a5 Jeremy Bicha * pushed 151 commits (first 5 follow) * https://deb.li/3gaMe
[19:20] <KGB-2> totem ubuntu/master f02439e Anders Jonsson po/sv.po * Update Swedish translation * https://deb.li/iOjR0
[19:20] <KGB-2> totem ubuntu/master 4e93d90 Anders Jonsson help/sv/sv.po * Update Swedish translation * https://deb.li/kqBM
[19:21] <KGB-2> totem ubuntu/master bdcf1ba Yosef Or Boczko po/he.po * Update Hebrew translation * https://deb.li/37ghj
[19:21] <KGB-2> totem ubuntu/master 21b0a07 Gabor Karsay docs/reference/meson.build meson.build src/grilo.ui src/totem-search-entry.c * main: Make search entry keyboard navigable * https://deb.li/eyi4
[19:21] <KGB-2> totem ubuntu/master f1da2e4 Bastien Nocera src/ totem-object.c totem.h * main: Simplify TotemObjectClass declaration * https://deb.li/3ajcD
[19:21] <KGB-2> gnome-control-center ubuntu/jammy ada7849 Jeremy Bicha debian/gbp.conf * Revert "debian/gbp.conf: Set upstream branch to upstream/42.x" * https://deb.li/rj0g
[21:24] <KGB-0> mutter signed tags d08089c Jeremy Bicha ubuntu/43_beta-3ubuntu1 * mutter Debian release 43~beta-3ubuntu1 * https://deb.li/3Ksne
[21:25] <KGB-2> mutter ubuntu/master dd35320 Jeremy Bicha debian/changelog * releasing package mutter version 43~beta-3ubuntu1 * https://deb.li/vevI
[22:51] <KGB-0> gnome-shell ubuntu/master c31f71d Jeremy Bicha debian/patches/ubuntu/search-call-XUbuntuCancel-method-on-providers-when-no-dat.patch * Don't try to use gcr4! * https://deb.li/3iR7s
[23:35] <KGB-0> gnome-initial-setup ubuntu/master 01548c2 Jeremy Bicha debian/changelog * releasing package gnome-initial-setup version 42.2-1ubuntu2 * https://deb.li/3XePc