mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2722] Starting syncthing throws message "Firefox profile cannot be loaded..." #1712
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#1712
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 @joede on GitHub (May 23, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2722
I'm running Firejail 0.9.52 + profiles of Ubuntu 18.04. These are the official packages (neither a backport nore a self-compiled binary). To run Syncthing within a jail, I decided to move the official Syncthing binary (not the one of Ubuntu) into a subdirectory
~/.syncthing. The configuration files will be stored at~/.config/syncthing.This is the self created profile I'm using:
After starting with
cd .syncthing && firejail ./syncthing, a GNOME message appears with the message "Your Firefox profile cannot be loaded. It may be missing or inaccessible."! Since I start syncthing, I don't know why there should be a Firefox profil accessed.Clicking OK closes the box. Meanwhile, Syncthing is running in it's jail as expected!
Note, that the message box appears with every start of Syncthing!
@SkewedZeppelin commented on GitHub (May 23, 2019):
You probably have Syncthing set to open the browser to itself.
The option is Settings > Advanced > Start Browser
untick, restart, retest
also:
@joede commented on GitHub (May 23, 2019):
My fault... I wasn't aware of the "start browser" option. After switching off, the message disappears! Thanks for that.
For the tips:
I moved all the folders to sync below
~/.syncthingto avoid adding each new folder to the profile.My new step would be to use a systemd user service to autostart Synching. I'm not sure I understand your note about systemd defaults. Is my profile ok to be used for a user ervice? I'm really new to both, For email and Syncthing. So I'm glad for every hint.
@chiraag-nataraj commented on GitHub (May 23, 2019):
I do this for several services and it should work fine. I think what @SkewedZeppelin was getting at is that you might have additional protections based on how you write the service file for it. In my case, I let
firejailhandle all the sandboxing and have a very minimum unit file, something like:Or, if I have a wrapper script (something I often setup anyway), I'll use that instead for the
ExecStartline, and that works fairly well as well.@chiraag-nataraj commented on GitHub (May 28, 2019):
@joede, I'm going to go ahead and close this since it seems the original question was answered. Feel free to continue seeking help for the
systemduser service part of this, though...I'd be happy to give you more details about my setup (I actually setup a similar thing fordropbox).