mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2406] Duplicate bookmarks in Firefox #1604
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1604
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bertradio on GitHub (Feb 16, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2406
@bertradio commented on GitHub (Feb 16, 2019):
I run both Firefox and Chrome under firejail. Within Chrome when I try and save a page all my bookmarks are correct. But when I try and save a page in Firefox I see duplicate bookmarks. I am running the latest version of firejail (o.9.28.2). Any idea what might be happening. Evidently the bookmarks are saved somewhere but I cannot find where. I am using Linux Mint 19.1.
@smitsohu commented on GitHub (Feb 17, 2019):
Do you mean 0.9.58.2? Version 0.9.28 is very old, unsupported and has lots of known issues (pick a package with the newest version e.g. from here)
Did you try what happens when you run them without firejail?
@bertradio commented on GitHub (Feb 17, 2019):
You are right, that's a typo. I am running 0.9.58.2, the latest.
Everything is fine if I run without firejail - no duplicates. And Chrome is fine with and without firejail. I also run FF and firejail on another computer and there are no duplicates there. So it must have something to do with my installation or config files.
@bertradio commented on GitHub (Feb 17, 2019):
I did a complete uninstall in Synaptic and reinstall so I have unmodified profiles. Now I have this:
Note that the entry for Home (with a capital H) points to my user home. The entires for "home" (small h) point to the home folder in rook which contains my Home.
@chiraag-nataraj commented on GitHub (Feb 17, 2019):
This is because the
private-*options mounttmpfson top of various directories. Those directories show up as "mounts" in various file managers.The reason you're seeing differences between firefox and chromium is that the chromium profile is much looser than the firefox one (due to chromium needing tons of privileges to set up its own sandbox). I don't see why that would necessarily affect this, but it is what it is.
Regardless, this isn't really a bug. It's mostly just an artifact of the way whitelisting is implemented.
@bertradio commented on GitHub (Feb 17, 2019):
So I guess I'll have to live with this... unless you know of somewhere in the system I could get rid of the duplicates.
@chiraag-nataraj commented on GitHub (Feb 17, 2019):
Not that I know of, nope. Unless you can configure the file manager not to show you mounted stuff (which would probably be inconvenient in the general use case).
The fundamental problem here is that stuff mounted by firejail (to hide things) appears exactly the same as, say, a flash drive you mounted to copy files. It's using the same subsystems (well...tmpfs versus reading from an actual filesystem, but still...same overall subsystem), which means you can't hide one without hiding the other (and users rarely want to hide mounted flash drives from their sidebar).
@bertradio commented on GitHub (Feb 17, 2019):
Thanks. It's a minor inconvenience that I can live with.
On Sun, Feb 17, 2019, at 12:38, ಚಿರಾಗ್ ನಟರಾಜ್ wrote:
Links:
@ghost commented on GitHub (Feb 17, 2019):
@bertradio Have you compared
~/.config/gtk-3.0/bookmarksyet between both installations? Try shutting down your file-manager, remove any duplicates from that file and see if that helps at all.@bertradio commented on GitHub (Feb 17, 2019):
Yes. The bookmarks files are identical and there are no duplicates in the bookmark files.
@chiraag-nataraj commented on GitHub (Feb 18, 2019):
Also, fwiw, this randomly stopped happening for me with my
firefoxprofile (which you can find here).@bertradio commented on GitHub (Feb 18, 2019):
Thanks. But our systems seem different and it did not work on mine. I'll just live with the problem,
@rusty-snake commented on GitHub (Sep 5, 2019):
I figured out when that happened.
Two condtitions must meet:
nobus/etc/fstabHow could firejail prevent that?
blacklist /etc/fstabwhere possible to profiles withnodbusx-gvfs-hideDisclaimber: I have only tried and worked with GTK/GIO/GVFS.
@rusty-snake commented on GitHub (Sep 5, 2019):
@bertradio Adding this
?HAS_NODBUS: blacklist /etc/fstabtoglobals.localshould work.