graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
898 stars 84 forks source link

Librewolf fails to launch after 6.47-1 #337

Closed phoropter closed 1 year ago

phoropter commented 1 year ago

I'm on Arch and have been using psd in combo with firejail and librewolf successfully for a while now. However, since the last update LW will not launch. I get a GUI pop-up error of “Your Firefox profile cannot be loaded. It may be missing or inaccessible”. If I downgrade back to 6.45 and reboot everything launches without issue.

I did notice that after upgrading then running psd p, it tells my all my profiles have 777 permissions.

graysky2 commented 1 year ago

Not sure about firejail and if it plays a role nor about librewolf. If you stop psd, make sure if you're using overlayfs that it is not mounted mount|grep overlaid does the browser work as expected? If not, look at where the browser profile is expected and see what's wrong with it. For firefox that location is ~/.mozilla/firefox

glitsj16 commented 1 year ago

@phoropter profile-sync-daemon 6.47 has changed some paths and your firejail profile(s) need adjusting to account for that. I merged a fix in Firejail yesterday but that is in our git code. Probably your distro's package doesn't have that yet. So you can either make the implemented changes in .local files until they arrive on your distro or build firejail from git.

Hope this helps!

graysky2 commented 1 year ago

@glitsj16 - thanks sharing that. I wasn't aware that my little project here is out there in other stuff :+1:

The quickest path to having Arch Linux incorporate your chances into its firefail package is for you to simply bump the version to a new release. A slower path is to open a ticket requesting a patch to be added. I recommend the first.

phoropter commented 1 year ago

@glitsj16 thanks much for that! I applied the changes to a librewolf.local file and things are working. And sorry to waste your time with this issue @graysky2 since it was obviously something that had to be changed on my side with a firejail file.