/srv/irclogs.ubuntu.com/2022/03/28/#ubuntu-security.txt

=== 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
hallynargh!   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
hallynnow apt-get upgrade is telling me it's going to forcibly upgrade mt to the snap13:50
hallynit says they recomend i close all windows, but does not give me an 'abort' option13:51
hallynI'm working here!  What did I buy a mac by mistake?13:51
* hallyn goes to take a peek at void linux13:52
jdstrandhallyn: :\ 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:00
jdstrandhallyn: (not that 'fault' helps you get your work done :( )18:02
hallynjdstrand: yeah doesn't help me but good to know :)  thank you.19:05
hallyni 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:05
jdstrandthat is possible in theory. the snaps would need to coordinate. it might be worth discussing in the forum before you spend much time on it19:14
jjohansen1hallyn: 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 bothered19:26
jjohansen1jdstrand: I know the push has come some from mozilla, but it is not ready and breaks people19:27
jjohansen1snap updates in the background and every time the snap firefox updates it breaks19:27
jjohansen1...19:27
jjohansen1its an absolute mess19:27
jjohansen1all I can say for it, is that at least the chromium snap is just as bad about breaking ...19:28
ahasenackI wonder if firefox snap will work with my smart card reader, which I use to login to government sites...19:39
hallynhow is the smart card reader connected?  Doe sit use a daemon (like gnupg or yubioauth?)?19:45
sarnoldahasenack: ogra might have something for that https://forum.snapcraft.io/t/cant-make-firefox-snap-work-with-smart-card-reader/1924419:46
ahasenackhallyn: usb reader, with all that smart card middleware stack19:46
ahasenackpcscd daemon19:47
ahasenackalso a proprietary lib for the actual card that I've been copying to /usr/lib since bionic19:47
ahasenackor even earlier19:47
ahasenackI have that setup for chrome too19:51
hallynchrome snap?19:51
ahasenackno, chrome. I did something in the nss lib19:52
ahasenackI thought chromium would read that too, maybe it does, but chromium snap isn't19:52
ahasenackah, ~/.pki/nssdb/pkcs11.txt19:53
ahasenackI have this in there, after the default "internal pkcs11 module"19:54
ahasenacklibrary=/usr/lib/x86_64-linux-gnu/libaetpkss.so.319:54
ahasenackname=safesign19:54
ahasenackthat's the proprietary lib19:54
ahasenackthe same one I load in firefox19:55
ahasenackbut there with a gui in firefox itself19:55
ahasenackyeah, certutil(1) can read the details of the smartcard, that's from libnss3-tools20:03
hallynjjohansen1: so you're just not upgrading, and using the ff deb?  or do you have another browser you're using?21:09
hallyn(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:09
jjohansen1hallyn: atm, I just haven't had time to fix it, so I am stuck with a machine I can't update at all21:12
jjohansen1I 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 me21:13
jjohansen1hallyn: is it just the apparmor profile that is the problem, or other breakage around snap updates etc that is the main problem?21:15
sarnoldI 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:16
jjohansen1wouldn't that be nice21:17
hallynjjohansen1: 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
hallyniiuc21:18
jjohansen1ah yeah21:18
hallynwhich is why i say if i can 'link' to a gvim snap maybe it'll work well enough for me.21:19
hallyni did not have breakages on snap updates, but then i didn't run jammy long before i downgraded from snap to deb21:19
hallynlike, a few days.21:19
hallynif 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:20
jjohansen1ah, yeah its a known issue, not just me, we keep getting bugs like https://bugs.launchpad.net/bugs/196271821:21
ubottuLaunchpad bug 1962718 in snapd (Ubuntu) "Firefox snap crashes on every upgrade" [High, Confirmed]21:21
jjohansen1and yeah that would be nice21:21
mdeslaursarnold: how about a script that repackages the upstream tarball as a deb?21:22
sarnoldmdeslaur: oooo, that'd be *very* fancy indeed21:22
sarnoldthough honestly maybe less pants than what I had in mind, hah21:23

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