this post was submitted on 06 Feb 2024
617 points (98.7% liked)

Technology

59370 readers
786 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 
  • Mozilla has launched a paid subscription service called Mozilla Monitor Plus, which monitors and removes personal information from over 190 sites where brokers sell data.
  • The service is priced at $8.99 per month and is an extension of the free dark web monitoring service Mozilla Monitor (previously Firefox Monitor).
  • Basic Monitor members receive a free scan and one-time removal sweep, while Plus members get continual monthly data broker scans and removal attempts.

Archive link: https://archive.ph/YdY3R

you are viewing a single comment's thread
view the rest of the comments
[–] Derp@lemmy.ml 3 points 9 months ago (1 children)

And how does that work? How do you unmount the root directory of a live system and invoke a script?

[–] foggy@lemmy.world -2 points 9 months ago* (last edited 9 months ago) (2 children)

sudo umount /var/snap/Firefox/common/host-hunspell 2>/dev/null

Sudo snap disconnect Firefox:host-hunspell 2>/dev/null

Like that?

It's not unmounting my root directory it's unmounting what Firefox mounted on my root directory.

[–] murderisbad@lemm.ee 2 points 9 months ago (1 children)

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.

[–] foggy@lemmy.world -2 points 9 months ago* (last edited 9 months ago) (1 children)

lsblk outputs that my NVMe0n1p1 is mounted at /var/snap/Firefox/common/host-hunspell.

This drive and partition is where my root is.

[–] patatahooligan@lemmy.world 4 points 9 months ago

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.

sudo mount -o ro --bind /var/log /mnt

This mounts /var/log to /mnt without making any other changes. My root partition is still mounted at / and fully functional. However, all that lsblk 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:

TARGET                                                SOURCE                 [...]
/                                                     /dev/dm-0              [...]
[...]
└─/mnt                                                /dev/dm-0[/var/log]    [...]

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.