=== ChanServ changed the topic of #ubuntu-security to: Twitter: @ubuntu_sec || https://usn.ubuntu.com || https://wiki.ubuntu.com/SecurityTeam || https://wiki.ubuntu.com/Security/Features || Community: leosilva [13:50] argh! You know how two weeks ago or so I downgraded on jammy from firefox snap to deb bc the snap broke ability to use textern, bc of snap's/apparmor's refusal to run things from the host? [13:50] now apt-get upgrade is telling me it's going to forcibly upgrade mt to the snap [13:51] it says they recomend i close all windows, but does not give me an 'abort' option [13:51] I'm working here! What did I buy a mac by mistake? [13:52] * hallyn goes to take a peek at void linux [18:00] hallyn: :\ note, afair, this is actually mozilla's doing (they've been pushing for the snap by default). I wonder about what installing from https://www.mozilla.org/en-US/firefox/linux/ is like? it has you download a tarball... [18:02] hallyn: (not that 'fault' helps you get your work done :( ) [19:05] jdstrand: yeah doesn't help me but good to know :) thank you. [19:05] i do suspect i can install a gvim snap or something (or make my own) and 'connect' firefox snap to it, and then ff will be able to shell out to gvim fo rediting fields. which is what i want. [19:14] that is possible in theory. the snaps would need to coordinate. it might be worth discussing in the forum before you spend much time on it [19:26] hallyn: I hit the same pos snap problem. Forcabily killed the window instead of saying okay, unfortunately broke apt/deb so no more updates until I fix it and I haven't bothered [19:27] jdstrand: I know the push has come some from mozilla, but it is not ready and breaks people [19:27] snap updates in the background and every time the snap firefox updates it breaks [19:27] ... [19:27] its an absolute mess [19:28] all I can say for it, is that at least the chromium snap is just as bad about breaking ... [19:39] I wonder if firefox snap will work with my smart card reader, which I use to login to government sites... [19:45] how is the smart card reader connected? Doe sit use a daemon (like gnupg or yubioauth?)? [19:46] ahasenack: ogra might have something for that https://forum.snapcraft.io/t/cant-make-firefox-snap-work-with-smart-card-reader/19244 [19:46] hallyn: usb reader, with all that smart card middleware stack [19:47] pcscd daemon [19:47] also a proprietary lib for the actual card that I've been copying to /usr/lib since bionic [19:47] or even earlier [19:51] I have that setup for chrome too [19:51] chrome snap? [19:52] no, chrome. I did something in the nss lib [19:52] I thought chromium would read that too, maybe it does, but chromium snap isn't [19:53] ah, ~/.pki/nssdb/pkcs11.txt [19:54] I have this in there, after the default "internal pkcs11 module" [19:54] library=/usr/lib/x86_64-linux-gnu/libaetpkss.so.3 [19:54] name=safesign [19:54] that's the proprietary lib [19:55] the same one I load in firefox [19:55] but there with a gui in firefox itself [20:03] yeah, certutil(1) can read the details of the smartcard, that's from libnss3-tools [21:09] jjohansen1: so you're just not upgrading, and using the ff deb? or do you have another browser you're using? [21:09] (i've got some tabs i have to have available for the next two days for moving/rent reasons, so i'm going to not mess with it until after that) [21:12] hallyn: atm, I just haven't had time to fix it, so I am stuck with a machine I can't update at all [21:13] I haven't figured out if I am going with the ff deb, or another browser solution. I know the chromium snap does not work for me [21:15] hallyn: is it just the apparmor profile that is the problem, or other breakage around snap updates etc that is the main problem? [21:16] I keep hoping someone pops up with a shell script to wget the latest firefox binary from mozilla, unpack it, and double-plus brownie points if it also has ann apparmor profile and bwrap wrappers.. [21:17] wouldn't that be nice [21:18] jjohansen1: it's not just the apparmor profile i don't think. I use 'textern' which calls out to a script on the host which then runs the editor you choose, for me "st" "-e" "vim" "+cols[whatever]" . st and the editor are not in the chroot the snap runs in. [21:18] iiuc [21:18] ah yeah [21:19] which is why i say if i can 'link' to a gvim snap maybe it'll work well enough for me. [21:19] i did not have breakages on snap updates, but then i didn't run jammy long before i downgraded from snap to deb [21:19] like, a few days. [21:20] if there was a concept of "here's a 10 line script which creates a virtual snap that binds in a binary from the host and lets another snap link to it", that would be cool... [21:21] ah, yeah its a known issue, not just me, we keep getting bugs like https://bugs.launchpad.net/bugs/1962718 [21:21] Launchpad bug 1962718 in snapd (Ubuntu) "Firefox snap crashes on every upgrade" [High, Confirmed] [21:21] and yeah that would be nice [21:22] sarnold: how about a script that repackages the upstream tarball as a deb? [21:22] mdeslaur: oooo, that'd be *very* fancy indeed [21:23] though honestly maybe less pants than what I had in mind, hah