this post was submitted on 06 Feb 2024
620 points (98.9% liked)
Technology
57472 readers
3585 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I got downvoted to hell for saying it before, but what Ubuntu and Firefox are up to together is kinda what Microsoft went to court over Internet Explorer for in the 90s.
Firefox is my go-to today, but I'm watching them closely.
Edit: typical fanboy downvotes. The writing is on the wall. Mark my words y'all. In 2035 you'll be saying "get off Firefox" like you're currently saying "get off chrome". I've seen this song and dance before.
Also, look at this super cool not disgusting abomination of a bug that's not a bug. Remap my fucking root directory?
Read on
I am not convinced that's what's going on. It looks more like some weird thing snap does to make hunspell available to snap Firefox.
Have you seen this behavior on your own Ubuntu install? In other words, can you reproduce the described scenario?
Yes. I literally have a cron job to unmount and rename my root directory to / that runs every 12 hours.
And how does that work? How do you unmount the root directory of a live system and invoke a script?
Like that?
It's not unmounting my root directory it's unmounting what Firefox mounted on my root directory.
You are misinterpreting the information here. Neither Firefox nor Ubuntu are doing anything to your root directory. The behavior described and what you are undoing is that your storage device is being made available at two locations: both at / and at the hunspell path.
lsblk outputs that my NVMe0n1p1 is mounted at /var/snap/Firefox/common/host-hunspell.
This drive and partition is where my root is.
lsblk
is just lacking a lot of information and creating a false impression of what is happening. I did a bind mount to try it out.This mounts
/var/log
to/mnt
without making any other changes. My root partition is still mounted at/
and fully functional. However, all thatlsblk
shows under MOUNTPOINTS is/mnt
. There is no indication that it's just/var/log
that is mounted and not the entire root partition. There is also no mention at all of/
.findmnt
shows this correctly. Omitting all irrelevant info, I get:Here you can see that the same device is used for both mountpoints and that it's just
/var/log
that is mounted at/mnt
.Snap is probably doing something similar. It is mounting a specific directory into the directory of the firefox snap. It is not using your entire root partition and it's not doing something that would break the
/
mountpoint. This by itself should cause no issues at all. You can see in the issue you linked as well that the fix to their boot issue was something completely irrelevant.