/srv/irclogs.ubuntu.com/2022/08/24/#ubuntu-desktop.txt

mdeslaurjbicha: 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 issues00:00
jbichathanks for figuring that out :)00:10
KGB-0gnome-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/88d28b602:24
ubottuCommit 88d28b6 in gnome-team/gnome-initial-setup "pristine-tar data for gnome-initial-setup_43~beta.orig.tar.xz"02:24
KGB-2gnome-initial-setup upstream/latest f45a331 Jeremy Bicha * pushed 78 commits (first 5 follow) * https://deb.li/dcX102:24
KGB-2gnome-initial-setup upstream/latest e1e9b5d Danial Behzadi po/fa.po * Update Persian translation * https://deb.li/31XLN02:24
KGB-2gnome-initial-setup upstream/latest 814355e Piotr Drąg po/POTFILES.in * Update POTFILES.in * https://deb.li/3pBWV02:24
KGB-2gnome-initial-setup upstream/latest 2da4ac3 Kukuh Syafaat po/id.po * Update Indonesian translation * https://deb.li/ijOVg02:24
KGB-2gnome-initial-setup upstream/latest ef95b75 Hugo Carvalho po/pt.po * Update Portuguese translation * https://deb.li/xbpi02:24
KGB-2gnome-initial-setup upstream/latest c0ebe04 Danial Behzadi po/fa.po * Update Persian translation * https://deb.li/3lXbh02:24
KGB-0gnome-online-accounts signed tags 91a5527 Jeremy Bicha upstream/3.45.2 * Upstream version 3.45.2 * https://deb.li/scNj02:28
KGB-0gnome-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/Qpc02:28
KGB-2gnome-online-accounts upstream/latest b3d1665 Jeremy Bicha * pushed 47 commits (first 5 follow) * https://deb.li/3nXER02:28
KGB-2gnome-online-accounts upstream/latest e1332da Paolo Bonzini src/examples/meson.build * do not install examples * https://deb.li/cXVx02:28
KGB-2gnome-online-accounts upstream/latest f81441b Paolo Bonzini .gitlab-ci.yml * add frontend-only build to CI * https://deb.li/39FlE02:28
KGB-2gnome-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/3x2gl02:29
KGB-2gnome-online-accounts upstream/latest d150678 Paolo Bonzini doc/goa-sections.txt * remove more vestiges of GoaOAuthProvider * https://deb.li/ilcII02:29
KGB-2gnome-online-accounts upstream/latest bbdfdb8 Milan Crha src/goabackend/goagoogleprovider.c * Update Google OAuth2 for upcoming changes * https://deb.li/3cc9F02:29
KGB-0gnome-online-accounts ubuntu/master 5baa36f Jeremy Bicha * pushed 66 commits (first 5 follow) * https://deb.li/3C29N02:39
KGB-0gnome-online-accounts ubuntu/master 23665d4 Emmanuele Bassi NEWS * Update for 3.45.1 release * https://deb.li/3PBxD02:39
KGB-2gnome-online-accounts signed tags d632e0b Jeremy Bicha ubuntu/3.44.0-1ubuntu1 * gnome-online-accounts Debian release 3.44.0-1ubuntu1 * https://deb.li/v2Nv02:39
KGB-0gnome-online-accounts ubuntu/master 7874b44 Emmanuele Bassi meson.build * Post-release version bump to 3.45.2 * https://deb.li/snSV02:39
KGB-0gnome-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/36Fng02:39
KGB-0gnome-online-accounts ubuntu/master 05fb1f0 Nart Tlisha po/ LINGUAS ab.po * Add Abkhazian translation * https://deb.li/xn1z02:39
KGB-0gnome-online-accounts ubuntu/master 1a7adf8 Nart Tlisha po/ab.po * Update Abkhazian translation * https://deb.li/3Krxs02:39
=== guiverc2 is now known as guiverc
bittinmorning06:02
didrocksgood morning06:21
oSoMoNgood morning desktoppers06:38
didrockssalut oSoMoN 06:39
oSoMoNsalut didrocks, ça va?06:41
bittinoSoMoN, got the Firefox 104 update today :)06:50
seb128goood morning desktopers06:56
didrocksoSoMoN: ça va, et toi ?07:00
didrockshey seb128 07:00
oSoMoNdidrocks, bien, merci!07:03
oSoMoNsalut seb128 07:03
oSoMoNand good morning bittin 07:03
dufluHi bittin, didrocks, oSoMoN, seb128 07:04
didrockshey duflu 07:04
oSoMoNhey duflu 07:04
seb128lut didrocks, oSoMoN, duflu, how are you?07:07
dufluseb128, pretty good. You?07:09
didrocksseb128: FYI, I let you promote lerc/.*pixbuf.*loader, just did the final ACK on the MIRs07:12
seb128didrocks, 👍07:13
seb128duflu, I'm alright, wish it would get a bit colder though07:13
seb128didrocks, what's the status of iwd and ell from a MIR team perspective, ready as well? security team gave a +107:19
jibelGood morning all07:22
didrocksseb128: that wasn’t discussed yesterday, I can have a look07:22
didrocksdo you have the bug # handy?07:22
dufluMorning jibel 07:23
seb128didrocks, bug #197173907:23
ubottuBug 1971739 in iwd (Ubuntu) "[MIR] iwd" [Undecided, In Progress] https://launchpad.net/bugs/197173907:23
didrocksand https://bugs.launchpad.net/ubuntu/+source/ell/+bug/1971738, got them07:24
ubottuLaunchpad bug 1971738 in ell (Ubuntu) "[MIR] ell" [High, In Progress]07:24
didrocksseb128: I guess you can change https://bugs.launchpad.net/bugs/1956950 iwd status to fixed released too?07:25
ubottuLaunchpad bug 1956950 in iwd (Ubuntu) "iwd FTBFS with LTO enabled" [Low, Confirmed]07:25
didrocksah no, it has been added there07:26
didrocksI don’t see anything mentioned on the iwd bug that the LTO issue was fixed?07:26
didrockshey jibel 07:28
seb128didrocks, sorry, it seems I failed to upload my change before holidays, I'm still struggling with restoring things in memory, doing that now07:28
seb128I just noticed that security team gave a +1 and ff is tomorrow so was wondering if we still could do it07:29
didrocksno 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 us07:29
didrocksso, I think we should get better at this07:30
seb128indeed, my fault here for sure07:30
oSoMoNsalut jibel 07:30
lissyxoSoMoN or someone else, do you have some hints on launchpad build setup for aarch64 snap?07:56
oSoMoNlissyx, do you mean on the build environment?08:05
lissyxyeah08:05
lissyxhow does it performs it, VM ? real hw? what are the disk / cpu / ram specs ?08:06
oSoMoNI'm not sure there are public specs, the folks on #launchpad might be able to help08:11
lissyxoSoMoN, for https://github.com/snapcore/snapd/pull/11025#issuecomment-1202275770 where I would need to create symlinks08:49
ubottuPull 11025 in snapcore/snapd "interfaces: Allow access to hunspell dictionaries for spellchecking" [Open]08:49
lissyxoSoMoN, when/where would be the best place to perform that?08:49
oSoMoNlissyx, 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)08:55
KGB-0mutter ubuntu/master f6863e5 Jeremy Bicha (574 files in 48 dirs) * Merge tag 'debian/43_beta-3' into ubuntu/master * https://deb.li/iUI7s10:40
KGB-0mutter 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/lwTC10:40
KGB-2gnome-software signed tags ab77add Jeremy Bicha upstream/43_beta * Upstream version 43~beta * https://deb.li/371eI11:47
jbichaseb128: I ran git clone lp:software-properties and grepped for snap. There's nothing there. Can we drop the snap library dependency there?12:48
jbichaI'm working on a snapd-glib transition as part of the libsoup3 fun12:49
seb128jbicha, yes, it was used for livepatch before migrating to 'ua'12:52
lissyxoSoMoN, 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:08
oSoMoNlissyx, it should be, but it will have to be measured to make sure the overhead is acceptable13:11
lissyxbut https://github.com/snapcore/snapd/pull/11025#issuecomment-120227577013:11
ubottuPull 11025 in snapcore/snapd "interfaces: Allow access to hunspell dictionaries for spellchecking" [Open]13:11
lissyxthis mentions using the mount-control interface13:11
lissyxthe doc there https://snapcraft.io/docs/mount-control-interface says it does not autoconnect?13:11
lissyxfrom 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:12
oSoMoNlissyx, I'm not sure I understand why mount-control would be needed13:14
lissyxthat is what is suggested to be able to discover host hunspell dictionnaries13:15
lissyxand then use this list to symlink those dics in the hunspell snap13:15
oSoMoNah, right13:15
oSoMoNsorry I misread the suggestion13:16
oSoMoNthis could also be achieved using the system-files interface, I think13:16
oSoMoNsimilarly to how firefox is allowed to read the host's /etc/firefox/policies directory13:17
oSoMoNit 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
oSoMoNthere shouldn't be any interference13:18
oSoMoNlet me ask mardy on that PR13:18
lissyxright now I have a very simple problem13:25
lissyxI have no idea how to perform the connection :)13:25
lissyxah it seems :mount-control ?13:26
lissyxbut "snap run --shell firefox", I can't see $SNAP_COMMON/host-hunspell13:27
lissyxoSoMoN, this mount-control interface is very unclear in how to be used13:33
lissyxmount command does not work13:33
lissyxsnapctl mount does not work13:34
lissyxboth complain I'm not root, and sudo is blocked within the snap13:34
lissyx(even within firefox.launcher)13:45
seb128lissyx, the interfaces aren't done from within the snap, they are things declared in the snapcraft.yaml and managed by snapd13:48
lissyxseb128, I declared it13:48
lissyxseb128, I plugged it13:48
lissyxseb128, the doc says it is up to the snapped application to maintain the mount point13:48
seb128lissyx, what are you trying to mount and where?13:50
seb128I wonder if mardy's advice was wrong there, the mount-control interface seems to be about mounting devices? 13:56
seb128or is that because it comes from another snap so technically is a mount?13:58
seb128lissyx, https://forum.snapcraft.io/t/using-the-snapctl-tool/15002#heading--mount-control has snapctl examples of how to do a mount13:58
lissyxseb128, yes, but those commands are wrong14:02
seb128:(14:02
lissyxsudo snapctl mount --persistent /usr/share/hunspell $SNAP_COMMON/host-hunspell14:03
seb128maybe write on the discourse post to say so14:03
lissyxI did14:03
lissyxsnapctl mount inside the snap itself cannot work because of sudo14:03
lissyxand the doc says the app has to take care of that14:03
lissyxthat sounds completely contradictory to me14:03
lissyxnot on discourse, on github14:05
lissyxI dont have a discourse account14:05
seb128lissyx, discourse use the ubuntu sso I think?14:06
lissyxI tried to, it refused somehow14:06
seb128:(14:06
lissyxhonestly being blocked on that is really not what I anticipated14:06
seb128anyway I think mardy was wrong there, I pinged him on our internal channel14:06
lissyxI think as well14:07
lissyxbut that's not really good news, because it means the current PR still needs to be merged before I can move forward14:07
seb128lissyx, did you try to do something like https://github.com/canonical/firefox-snap/blob/stable/snapcraft.yaml#L80 ?14:07
lissyxwhat do you mean?14:08
lissyxuse system-files interface to access hunspell?14:08
seb128use the system-files and give access to /usr/share/hunspell14:08
lissyxno, because I assumed the existing PR was the reason this was not done14:08
seb128well, depends what you are trying to do14:09
seb128I though you were trying to read the system files to do the symlink/copy from the content14:09
lissyxI'm doing what mardy said14:10
lissyxso yes, reading the system files to do the symlinks14:10
lissyxbut the PR was opened to grant access to /usr/share/hunspell; so I assumed a system-files would just not work14:10
seb128I pinged him, I wonder if he did a thinko by writing mount-control instead of system-files14:11
seb128they 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 memory14:11
seb128https://github.com/snapcore/snapd/pull/11025#issuecomment-96464783514:12
ubottuPull 11025 in snapcore/snapd "interfaces: Allow access to hunspell dictionaries for spellchecking" [Open]14:12
seb128so 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 use14:14
seb128suggested14:14
seb128at least that was my understanding14:14
lissyxyes14:14
lissyxthat's not the problem14:15
lissyxthis part is clear14:15
lissyxthere it is also mentionned to mount from the host14:15
lissyxso we are back to mount14:15
seb128which I think is the thinko, by mardy isn't around atm it seems14:15
lissyxI've searched a lot on other snap's usage of mount-control but I found nothing14:15
seb128the intend is to make the content of /usr/share/hunspell available in the snap14:15
seb128and I think system-files is the right way14:15
seb128not mount-control14:16
lissyxso given the doc, I have no idea how this is intended to be used besides declaring in the snapcraft.yaml14:16
seb128but let's wait for mardy to clarify14:16
KGB-0gnome-bluetooth3 signed tags 12fa577 Jeremy Bicha upstream/42.3 * Upstream version 42.3 * https://deb.li/NZG014:16
KGB-2gnome-bluetooth3 upstream/latest 1addee4 Jeremy Bicha * pushed 11 commits (first 5 follow) * https://deb.li/igVW214:17
KGB-2gnome-bluetooth3 upstream/latest 347f4fc Maximiliano Sandoval R sendto/ main.c meson.build * sendto: Initialize libadwaita * https://deb.li/2ZoV14:17
KGB-2gnome-bluetooth3 upstream/latest e9b14be Maximiliano Sandoval R sendto/main.c * sendto: Add margins to window * https://deb.li/3hVEg14:17
KGB-2gnome-bluetooth3 upstream/latest 7970623 Nart Tlisha po/ LINGUAS ab.po * Add Abkhazian translation * https://deb.li/8cwN14:17
KGB-2gnome-bluetooth3 upstream/latest e6f6f4d Nart Tlisha po/ab.po * Update Abkhazian translation * https://deb.li/3oMex14:17
KGB-2gnome-bluetooth3 upstream/latest 81ffe36 Bastien Nocera lib/bluetooth-client.c * lib: Better API docs for _connect_service() API * https://deb.li/SM6y14:17
KGB-2gnome-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/3zZI414:17
lissyxseb128, where am I supposed to see the system-files once within the snap?14:18
lissyxthere's no /usr/share/hunspell14:18
seb128lissyx, it should be in the same location, did you snap connect firefox:<plugname>?14:21
seb128lissyx, I don't really understand the issue mardy pointed out with /usr being a mount14:22
seb128I'm trying to get him to join here14:22
lissyxI dont see anything in snap connections firefox for a system-files of hunspell14:22
lissyxmaybe reusing the same connector name was a poor diea14:23
seb128did you add a plug14:23
seb128  hunspell:14:23
seb128    interface: system-files14:23
seb128    read: [hunspell]14:23
seb128or similar?14:23
seb128then rebuilt the snap?14:23
lissyxyes 14:24
mardyhi seb128 :-)14:25
seb128hey mardy, thanks for joining!14:25
lissyxso yes name reuse is a poor idea14:25
seb128lissyx, ^ mardy should be able to help you better than me14:25
lissyxeven after "snap connect firefox:hunspell-host :system-files" I have no /usr/share/hunspell14:26
seb128mardy, 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
ograi dont think that can work, there are namespaces involved and /usr comes from the core snap 14:26
ograso system-files wont gain you what you want here 14:26
ograyou need *something* that bind mounts the hosts dir on top of the core snaps dir ... (and creates a mountpoint etc)14:27
oSoMoNyes, that's what mardy explained at https://github.com/snapcore/snapd/pull/11025#issuecomment-122578719414:27
ubottuPull 11025 in snapcore/snapd "interfaces: Allow access to hunspell dictionaries for spellchecking" [Open]14:27
seb128that's quite limiting :(14:28
lissyxogra, yes, read above?14:28
seb128lissyx, what error do you get trying to use snapctl mount?14:28
seb128maybe share the command and output here for mardy and ogra 14:28
lissyxseb128, where am I supposed to do the snapctl mount14:28
mardyseb128, 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
lissyxand with what arguments14:28
ografrom some script ... ?14:28
KGB-0tracker upstream/latest 68a59cd Jeremy Bicha * pushed 145 commits (first 5 follow) * https://deb.li/aM0E14:28
ograor hook14:28
lissyxI did that, above14:28
KGB-0tracker 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/3MZCe14:28
seb128ogra, should it work from a snap run --shell ?14:28
lissyxsnapctl mount refuses to run unless root14:29
KGB-0tracker 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/IZAD14:29
KGB-0tracker 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/3eVhz14:29
lissyxsudo does not seems to be expected to work within the snap14:29
KGB-0tracker 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/3kciR14:29
ograhmm, i wonder why ... given snapd is running suid you should not need root explicitly 14:29
KGB-0tracker 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/pVGn14:29
seb128lissyx, 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:29
ogra... but mardy implemented mount-control, he should know more than me here 🙂14:30
mardyogra: I wish, but I'm not an expert with all the rest of snapd :-)14:30
ograheh14:31
lissyx 64   host-hunspell:14:31
lissyx 65     interface: mount-control14:31
lissyx 66     mount:14:31
lissyx 67     - what: /usr/share/hunspell14:31
lissyx 68       where: $SNAP_COMMON/host-hunspell14:31
lissyx 69       persistent: true14:31
lissyx 70       options: [ro, bind, noatime, noexec]14:31
mardybut yes, snapctl is a client, the real mount should be executed by snapd, which runs as root14:31
ograright14:31
lissyxand well, the command I dont know how relevant that is, since it refuses to do anything unless root14:31
mardylissyx: what error do you get?14:31
lissyxmardy, it refuses to run unless root ?14:32
didrocksseb128: for your viewing pleasure: https://launchpad.net/ubuntu/kinetic/+queue?queue_state=0&queue_text=aad-auth :)14:32
mardylissyx: I'm not doubting your word, but the exact error message would help me to grep in the snapd source code14:32
lissyx$ snapctl mount --persistent /usr/share/hunspell 14:33
lissyxerror: cannot use "mount" with uid 1000, try with sudo14:33
lissyxplease note also that from the doc, it is far from clear what exactly is the expectd "snapctl mount" to perform14:33
lissyxthe 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 host14:34
ograi'D use it from a connect hook 14:34
mardylissyx: it's from a snap indeed. What if you call it from a hook? Dunno which one would be the most appropriate14:35
ogra(once the interface gets connected, the mount command gets called automatically)14:35
mardyogra: 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:35
lissyxthere is no mention of "connect hook" in https://snapcraft.io/docs/supported-snap-hooks14:36
ograyou defined what and where above in your snapcraft.yaml 14:36
mardylissyx: 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 it14:36
lissyxogra, just pointing that the documentation leaves a lot of interrogations points14:36
mardylissyx: https://snapcraft.io/docs/interface-hooks14:36
ogralissyx, here are some examples: https://github.com/ogra1/config-snap/tree/master/snap/hooks14:37
ogra(the name is the key "connect-plug-<interface name>")14:37
lissyxso much things are not explained :(14:38
ogralissyx, doc is well hidden in a link in the text of "inerface-hooks" https://snapcraft.io/docs/interface-hooks14:38
lissyxit's easy when you know what you want to search for14:38
ograyep ... and if you know the cryptic internal names ... 14:39
lissyxso there is no "hooks/" on the firefox snap14:39
lissyxis it going to be enough to create one?14:39
ograyeah, just create the dir ... dump a script into it with the proper name and thats it14:40
ograshould be under snap/hooks/14:40
lissyx+x ?14:40
mardyyes14:40
lissyxthere's no snap/14:40
ograyeah (though i think snapcraft adds +x automatically nowadays)14:40
lissyxsnapcraft.yaml is at the root14:41
ogracreate it then14:41
ograsnapcraft expects that folder structure to consider it a valid hook14:41
lissyxthat's not consistent with your repo: https://github.com/ogra1/config-snap/tree/master/snap14:41
lissyxwhere it's snapcraft.yaml and hooks/ under snap/14:41
ograyes14:42
lissyxalso what is the correct snapctl command?14:42
ograsnapcraft.yaml can live anywhere 14:42
lissyxdo I need ":" ?14:42
ograhooks can not14:42
seb128mardy, ogra, should the snapctl cmd work from a snap run --shell env? 14:42
ograi'd guess so ... not sure 14:42
seb128mardy, ^14:42
seb128would make easier to try14:42
ograeffectively it is supposed to b identical to you running the snap  ...14:43
lissyxif it is supposed to work, it does not14:43
lissyxthat's the first thing I tested14:43
ograright ... 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 mount14:43
lissyxso: "snapctl mount --persistent /usr/share/hunspell $SNAP_COMMON/host-hunspell" ?14:43
ograyeah14:44
lissyxam I supposed to see anything after installatio and running "snap run --shell firefox"?14:45
lissyxlike it should be mounted in $SNAP_COMMON/host-hunspell right?14:45
ograa different prompt usually14:45
mardyseb128: yes, I think it should work, but as root14:45
lissyxthere is nothing14:46
mardylissyx: to make sure that the hook was invoked, make it create a file under $SNAP_COMMON14:47
ograright, you might need a mkdir -p $SNAP_COMMON/host-hunspell ... so the mountpoint exists14:48
mardylissyx: and I think that the target directory ($SNAP_COMMON/host-hunspell) must exist14:48
ograheh ... *snap*14:48
lissyxthe 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:49
lissyxso, no luck14:50
lissyxno file created under $SNAP_COMMON14:50
lissyxno directory either14:50
lissyxnothing mounted14:50
ograanything in journalctl or snappy-debug output ?14:51
lissyxhttps://paste.mozilla.org/evo0yjO8/raw14:51
ogradont frget a connect hook only runs when you actuvely connect the interface .... 14:52
ogra*forget14:52
ogrageez .... my typing ... 14:52
lissyxwait14:52
lissyxso if it was already connected, installing a new snap will not run the hook?14:52
ograand i'd suggest to always run snappy-debug in a second terminal ... that'll show you all confinement issues 14:53
ograjust installing an update will not re-connect i think ... it just keeps the existing connection14:53
ograso you should disconnect and connect again14:53
lissyxyeah now I get an error when connecting14:54
ogragreat14:54
lissyxso "/usr/share/hunspell not a block device"14:54
ograso it runs .. 14:54
ograwow, our documentation is pretty excessive ... https://snapcraft.io/docs/mount-observe-interface ... 14:55
ograoh ... because i'm looking at the wrong doc 😛14:55
mardylissyx: oops, indeed, try something like snapctl mount --persistent -o bind,ro $SNAP_COMMON/host-hunspell14:56
mardynope, sorry, I missed one part :-)14:57
mardysnapctl mount --persistent -o bind,ro /usr/share/hunspell $SNAP_COMMON/host-hunspell14:57
lissyxso we need the options twice14:57
mardylissyx: those in the yaml are the possible allowed options14:58
mardylissyx: the actual ones are those that you use in the command-line14:58
lissyxok, with the correct options it is mounting14:58
ograYAY !!!14:59
lissyxso, 1000$ question14:59
ograno more whining about root ? 14:59
lissyxshould symlink be done on interface connect hook?14:59
lissyxor another hook?14:59
ograwhere do you want to link ?14:59
lissyxwhere mardy told me to14:59
lissyxwe are just going to use this mount point to know system-level installed dictionnaries15:00
ograwell, i assume you also want to use them too ... not only know about them15:01
lissyxno15:01
ograoh ? 15:01
lissyxwe are going to use snap hunspell ones15:01
ograwhy all the effort then ? 15:01
lissyxto know which ones are installed by the system15:01
lissyxso we present a shorter list to the user15:02
ograAH !15:02
ogranow it makes sense15:02
lissyxI'm not sure exactly what DICPATH I should build15:02
lissyxwould post-refresh be a good candidate? https://snapcraft.io/docs/supported-snap-hooks#heading--post-refresh15:03
lissyxdo I just need a snap/hooks/post-refresh file,15:03
ograto create an env variable ? 15:03
ograi'D do that frm a command-shain wrapper instead15:03
ogra*command-chain15:03
ogra(on app startup)15:04
lissyxno, to create symlinks15:04
ograi'm still not sure what you want to link where exactly 15:04
lissyxcreate a DICPATH full of symlinks15:04
lissyxbased on the content of both host hunspell and snap hunspell15:05
lissyxhost hunspell to know what dic we need15:05
lissyxsnap hunspell for the actual files15:05
ograright, 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-2gtk3 signed tags 6fed356 Sebastien Bacher ubuntu/3.24.34-3ubuntu2 * gtk+3.0 Debian release 3.24.34-3ubuntu2 * https://deb.li/3cOwy15:06
lissyxDICPATH expect a directory ?15:07
lissyxright now I dont know where I can write ...15:07
ograbut not $SNAP_COMMON/host-hunspell since you dont want to use that 15:07
lissyx$SNAP and $SNAP_COMMON are ro 15:07
lissyx(at least from snap shell)15:08
ogranope15:08
ograSNAP_COMMON is rw but lives in /var15:08
lissyx$ mkdir $SNAP_COMMON/snap-hunspell15:08
lissyxmkdir: cannot create directory \u2018/var/snap/firefox/common/snap-hunspell\u2019: Permission denied15:08
ogra(so you can only use it from hooks that run as root15:08
ograright15:08
ograso you have $SNAP_COMMON/host-hunspell ... and you will have $SNAP_COMMON/hunspell-snap-shared-space ... 15:09
ograyou 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
ograso that would be a command-chain script and putting the links into $SNAP_USER_COMMON15:10
ograso you end up with something like: $SNAP_USER_COMMON/hunspell/de_DE.* -> $SNAP_COMMON/hunspell-snap-shared-space/de_DE.*15:11
ograand have DICPATH point to  $SNAP_USER_COMMON/hunspell/15:12
ograalternatively 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:13
lissyxgood to know we might have user-specific things15:14
lissyxso from post-refresh hooks ...15:14
lissyxmkdir: cannot create directory '/snap/firefox/x13/snap-hunspell': Read-only file system15:14
lissyxhm that's $SNAP/ sorry15:14
KGB-0tracker-miners upstream/latest 0c94e30 Jeremy Bicha * pushed 37 commits (first 5 follow) * https://deb.li/3wVCv15:15
KGB-0tracker-miners upstream/latest f990be9 Carlos Garnacho src/libtracker-miner/tracker-miner-fs.c * libtracker-miner: Drop unused stats counter * https://deb.li/3gje15:15
KGB-0tracker-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/3OEv015:15
KGB-2tracker-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/3C6sn15:15
KGB-0tracker-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/zjRA15:15
KGB-0tracker-miners upstream/latest cc655ba Weijia Wang src/libtracker-miners-common/tracker-term-utils.c * macOS: add pipe2 fallback * https://deb.li/3vz6i15:15
KGB-0tracker-miners upstream/latest 112ea98 Carlos Garnacho src/libtracker-miners-common/tracker-term-utils.c * Merge branch 'darwin' into 'master' * https://deb.li/hqDv15:15
ograyeah, i was about to say 🙂15:15
lissyxgood nnews is the error message shows it iterated on the expected content15:16
lissyxbut with $SNAP_USER_COMMON nothing is created15:17
ogranot from a hook, no 15:18
ograhooks run as root ... SNAP_USER_COMMON points to ~/snap15:18
ograwell, ~/snap/<snapname>/common ... 15:18
ograyou might find something in /root/snap if you ran from a hook ... 15:19
lissyxwell I guess $SNAP_COMMON is good neough15:19
ogra(not sure we finally started preventing that)15:19
lissyxwe get on-par with deb/tar15:19
ograpfft ... on par ... we should get *beyond* deb/tar with snaps 😉15:19
ogra(yeah, i'm slightly biased 🙂 )15:20
lissyxogra, given the current status, being on par is already a huge step forward ...15:20
ograheh15:20
lissyxopk15:20
lissyxhttps://paste.mozilla.org/jVAKXGQB/raw15:21
lissyxGood.15:21
ogralovely !15:21
lissyxNow I only see hunspell french + english15:21
lissyxI guess we might want to clean the directory where we create the symlinks on each refresh15:22
lissyxto make sure we dont have stale dics15:22
oSoMoNyes, that makes sense15:23
oSoMoNlissyx, thanks a lot for working on this, btw15:23
lissyxdo we need to keep mount-control always active?15:24
lissyxor would we have a way to unmount once we have done what we need?15:24
ograyou should be able to do that from the hook as well15:24
ograusing snapctl15:24
lissyxfrom the post-refresh hook?15:25
ografrom whatever hook you want ... afer the interface is connected your mount command should always work15:25
lissyxmardy, so you can safely close https://github.com/snapcore/snapd/pull/11025 now15:26
ubottuPull 11025 in snapcore/snapd "interfaces: Allow access to hunspell dictionaries for spellchecking" [Open]15:26
ogralissyx, 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-connect15:27
oSoMoNyes, I can take care of that once we merge that code15:28
ogra(if FF does not have this yet at least)15:28
lissyxso snapctl umount works15:28
ograawesome15:28
lissyxI now only have the mount points from the hunspell snap15:28
ograyou can rm them from the same hook that unmounts i guess15:29
lissyxalso if a user installs a dictionary, the snap needs to be refreshed though15:29
ograoh, mis-read ... ignore that last comment15:29
lissyxdo I have a way locally to override to allow auto-connect ?15:35
lissyxI've reverted to stable firefox and now I'm stuck15:35
lissyxsnap install fails because no dic15:36
lissyxno dic because I have not plugged the mount-control15:36
lissyxI can't plug mount-control until it is installed15:36
KGB-0ghex tags 537fdb7 Jeremy Bicha upstream/43_alpha * Upstream version 43~alpha * https://deb.li/3gqON15:41
KGB-2ghex upstream/latest 4dafe34 Jeremy Bicha * pushed 100 commits (first 5 follow) * https://deb.li/3fEYd15:41
KGB-2ghex upstream/latest 36d2558 Мирослав Николић po/sr.po * Update Serbian translation * https://deb.li/MjrF15:41
KGB-2ghex upstream/latest 29ec482 Asier Sarasua Garmendia po/eu.po * Update Basque translation * https://deb.li/i4zT115:41
KGB-2ghex upstream/latest 92c26b8 Piotr Drąg po/pl.po * Update Polish translation * https://deb.li/7jcj15:41
KGB-2ghex upstream/latest aa38d08 Logan Rathbone src/ (16 files) * UI: fix some GTK4/libadwaita papercuts * https://deb.li/3Fq4R15:41
KGB-2ghex upstream/latest 7ba4b4c Logan Rathbone src/ghex.css * findrep ui: Slight tweak to padding. * https://deb.li/aEyD15:41
ogralissyx, i fear you have to uninstall/reinstall (sorry i'm in meetings for the next hours)15:42
lissyxnow it's not mounting again ...15:45
lissyxbecause I need to disconnect then reconnect15:47
lissyxoSoMoN, should be ready now15:58
oSoMoNlissyx, thanks, I'll review it tomorrow16:00
KGB-2glib-networking upstream/latest 96c1a9c Jeremy Bicha * pushed 23 commits (first 5 follow) * https://deb.li/2TXy16:10
KGB-2glib-networking upstream/latest d5ed4a3 Zurab Kargareteli po/ LINGUAS ka.po * Add Georgian translation * https://deb.li/3Hhd416:10
KGB-2glib-networking upstream/latest 2228cfb Olivier Crête (6 files in 6 dirs) * meson: Export static libraries and deps * https://deb.li/VUWM16:10
KGB-2glib-networking upstream/latest b50f76c Michael Catanzaro .gitlab-ci.yml .gitlab-ci/Dockerfile .gitlab-ci/run-docker.sh * ci: Update CI image * https://deb.li/3NdVj16:10
KGB-2glib-networking upstream/latest 3454aac Michael Catanzaro .gitlab-ci.yml * ci: run the tests fewer times * https://deb.li/qhe016:10
KGB-2glib-networking upstream/latest 10959c6 Michael Catanzaro proxy/environment/genvironmentproxyresolver.c * genvironmentproxyresolver: validate environment variable values * https://deb.li/389Q216:10
KGB-2totem signed tags 69b70b7 Jeremy Bicha upstream/43_beta * Upstream version 43~beta * https://deb.li/ITNE16:29
KGB-2totem 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/3BTbC16:29
KGB-2deja-dup upstream/latest f8c3a8b Jeremy Bicha * pushed 33 commits (first 5 follow) * https://deb.li/ijhlI16:41
KGB-2deja-dup upstream/latest bf99463 Michael Terry libdeja/duplicity/DuplicityJob.vala * duplicity: bump volsize to 200MB * https://deb.li/x9bc16:41
KGB-2deja-dup upstream/latest 8285c1e Michael Terry (8 files in 5 dirs) * preferences: add some in-dialog help for always excluded folders * https://deb.li/3KUky16:41
KGB-2deja-dup upstream/latest d424e1e Yuri Chornoivan po/uk.po * Update Ukrainian translation * https://deb.li/9T5G16:42
KGB-2deja-dup upstream/latest ad85baf Piotr Drąg po/pl.po * Update Polish translation * https://deb.li/3shZM16:42
KGB-2deja-dup upstream/latest 21dc456 Anders Jonsson po/sv.po * Update Swedish translation * https://deb.li/Ch9116:42
KGB-0deja-dup signed tags 448d8b6 Jeremy Bicha ubuntu/43.4-1ubuntu1 * deja-dup Debian release 43.4-1ubuntu1 * https://deb.li/6dXV16:47
lissyxogra, mardy, seb128 thanks all for your help17:53
ogralissyx, well, thanks for doing the work 😉18:14
lissyxseb128, 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/83118:34
ubottuIssue 463 in flatpak/xdg-desktop-portal "Portal to open file and neighbouring files" [Open]18:34
ubottuIssue 831 in flatpak/xdg-desktop-portal "Unauthorized mkdir breaks Firefox Snap 'Save Page As ...' feature" [Open]18:34
lissyxseb128, the latest comment really makes me sad https://github.com/flatpak/xdg-desktop-portal/issues/463#issuecomment-122607315118:34
jbichaseb128: does gted sound good to you? bug 198755619:10
ubottuBug 1987556 in gnome-text-editor (Ubuntu) "Add a short alias (eg 'gted') for gnome-text-editor" [Undecided, New] https://launchpad.net/bugs/198755619:10
KGB-2totem signed tags 16b122f Jeremy Bicha ubuntu/43_beta-1ubuntu1 * totem Debian release 43~beta-1ubuntu1 * https://deb.li/3zgjA19:20
KGB-2totem ubuntu/master c3770a5 Jeremy Bicha * pushed 151 commits (first 5 follow) * https://deb.li/3gaMe19:20
KGB-2totem ubuntu/master f02439e Anders Jonsson po/sv.po * Update Swedish translation * https://deb.li/iOjR019:20
KGB-2totem ubuntu/master 4e93d90 Anders Jonsson help/sv/sv.po * Update Swedish translation * https://deb.li/kqBM19:20
KGB-2totem ubuntu/master bdcf1ba Yosef Or Boczko po/he.po * Update Hebrew translation * https://deb.li/37ghj19:21
KGB-2totem 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/eyi419:21
KGB-2totem ubuntu/master f1da2e4 Bastien Nocera src/ totem-object.c totem.h * main: Simplify TotemObjectClass declaration * https://deb.li/3ajcD19:21
KGB-2gnome-control-center ubuntu/jammy ada7849 Jeremy Bicha debian/gbp.conf * Revert "debian/gbp.conf: Set upstream branch to upstream/42.x" * https://deb.li/rj0g19:21
KGB-0mutter signed tags d08089c Jeremy Bicha ubuntu/43_beta-3ubuntu1 * mutter Debian release 43~beta-3ubuntu1 * https://deb.li/3Ksne21:24
KGB-2mutter ubuntu/master dd35320 Jeremy Bicha debian/changelog * releasing package mutter version 43~beta-3ubuntu1 * https://deb.li/vevI21:25
KGB-0gnome-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/3iR7s22:51
KGB-0gnome-initial-setup ubuntu/master 01548c2 Jeremy Bicha debian/changelog * releasing package gnome-initial-setup version 42.2-1ubuntu2 * https://deb.li/3XePc23:35

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