-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate bookmarks in Firefox #2406
Comments
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. |
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?
|
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. |
This is because the 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. |
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. |
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). |
Thanks. It's a minor inconvenience that I can live with.
On Sun, Feb 17, 2019, at 12:38, ಚಿರಾಗ್ ನಟರಾಜ್ wrote:
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).> — You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub[1], or mute the
thread[2].
|
@bertradio Have you compared |
Yes. The bookmarks files are identical and there are no duplicates in the bookmark files. |
Also, fwiw, this randomly stopped happening for me with my |
Thanks. But our systems seem different and it did not work on mine. I'll just live with the problem, |
I figured out when that happened.
firejail --noprofile zenity --file-selection # NO
firejail --noprofile --nodbus zenity --file-selection # YES
firejail --noprofile --nodbus --private-etc=empty zenity --file-selection # NO
firejail --noprofile --nodbus --private-etc=fstab zenity --file-selection # YES
firejail --noprofile --nodbus --blacklist=/etc/fstab zenity --file-selection # NO How could firejail prevent that?
mkdir tmp1 tmp2
sudo mount --bind tmp1 tmp2
zenity --file-selection # tmp2 is shown
sudo umount tmp2
sudo mount -o x-gvfs-hide --bind tmp1 tmp2
zenity --file-selection # tmp2 is hidden Disclaimber: I have only tried and worked with GTK/GIO/GVFS. |
@bertradio Adding this |
No description provided.
The text was updated successfully, but these errors were encountered: