[GH-ISSUE #295] Syncthing #206

Closed
opened 2026-05-05 05:19:06 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @Tanath on GitHub (Feb 14, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/295

$ firejail syncthing-gtk
Reading profile /etc/firejail/syncthing-gtk.profile
Reading profile /etc/firejail/disable-mgmt.inc
Reading profile /etc/firejail/disable-secret.inc
Error: cannot open profile file /etc/firejail/disable-common.inc syncthing

$ file /etc/firejail/disable-common.inc
/etc/firejail/disable-common.inc: ASCII text

What's going on here, and how do I troubleshoot it?

Originally created by @Tanath on GitHub (Feb 14, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/295 `$ firejail syncthing-gtk` `Reading profile /etc/firejail/syncthing-gtk.profile` `Reading profile /etc/firejail/disable-mgmt.inc` `Reading profile /etc/firejail/disable-secret.inc` `Error: cannot open profile file /etc/firejail/disable-common.inc syncthing` `$ file /etc/firejail/disable-common.inc` `/etc/firejail/disable-common.inc: ASCII text` What's going on here, and how do I troubleshoot it?
gitea-mirror 2026-05-05 05:19:06 -06:00
Author
Owner

@genodeftest commented on GitHub (Feb 14, 2016):

Do you have permissions to open this file? What's the output of ls -Al /etc/firejail/disable-common.inc?

<!-- gh-comment-id:183853275 --> @genodeftest commented on GitHub (Feb 14, 2016): Do you have permissions to open this file? What's the output of `ls -Al /etc/firejail/disable-common.inc`?
Author
Owner

@Tanath commented on GitHub (Feb 14, 2016):

Yes, I've looked at it in vim.
-rw-r--r-- 1 root root 3659 Feb 13 21:50 /etc/firejail/disable-common.inc

Other apps run fine in firejail.

<!-- gh-comment-id:183861109 --> @Tanath commented on GitHub (Feb 14, 2016): Yes, I've looked at it in vim. `-rw-r--r-- 1 root root 3659 Feb 13 21:50 /etc/firejail/disable-common.inc` Other apps run fine in firejail.
Author
Owner

@netblue30 commented on GitHub (Feb 14, 2016):

I think you run into some feature I deprecated a few releases back. Print here your /etc/firejail/syncthing-gtk.profile, I'll need to modify it.

<!-- gh-comment-id:183903854 --> @netblue30 commented on GitHub (Feb 14, 2016): I think you run into some feature I deprecated a few releases back. Print here your /etc/firejail/syncthing-gtk.profile, I'll need to modify it.
Author
Owner

@Tanath commented on GitHub (Feb 14, 2016):

# syncthing-gtk profile
include /etc/firejail/disable-mgmt.inc
include /etc/firejail/disable-secret.inc
include /etc/firejail/disable-common.inc syncthing
caps
seccomp
noroot

<!-- gh-comment-id:183966211 --> @Tanath commented on GitHub (Feb 14, 2016): `# syncthing-gtk profile` `include /etc/firejail/disable-mgmt.inc` `include /etc/firejail/disable-secret.inc` `include /etc/firejail/disable-common.inc syncthing` `caps` `seccomp` `noroot`
Author
Owner

@netblue30 commented on GitHub (Feb 14, 2016):

Try this:

# syncthing-gtk profile
include /etc/firejail/disable-mgmt.inc
include /etc/firejail/disable-secret.inc
include /etc/firejail/disable-common.inc
caps
seccomp
noroot
<!-- gh-comment-id:183977487 --> @netblue30 commented on GitHub (Feb 14, 2016): Try this: ``` # syncthing-gtk profile include /etc/firejail/disable-mgmt.inc include /etc/firejail/disable-secret.inc include /etc/firejail/disable-common.inc caps seccomp noroot ```
Author
Owner

@Tanath commented on GitHub (Feb 15, 2016):

Runs now, but isn't that basically just using generic profile then?

<!-- gh-comment-id:184069303 --> @Tanath commented on GitHub (Feb 15, 2016): Runs now, but isn't that basically just using generic profile then?
Author
Owner

@netblue30 commented on GitHub (Feb 15, 2016):

Yes, you don't really need a special profile, the default one will do it.

<!-- gh-comment-id:184211358 --> @netblue30 commented on GitHub (Feb 15, 2016): Yes, you don't really need a special profile, the default one will do it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#206
No description provided.