[GH-ISSUE #1799] Dropbox, multiple issues #1221

Closed
opened 2026-05-05 07:40:40 -06:00 by gitea-mirror · 11 comments
Owner

Originally created by @idnovic on GitHub (Mar 5, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1799

Dropbox starts 2 times for me instead of 1.
Also tray menu of dropbox choose "Launch dropbox website"
Opens firefox but I get this error

File not found
Firefox can’t find the file at /tmp/XXXXXX

I need help debuging the wrongly dual start. Dropbox 2 times in tray does not make sense.

Originally created by @idnovic on GitHub (Mar 5, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1799 Dropbox starts 2 times for me instead of 1. Also tray menu of dropbox choose "Launch dropbox website" Opens firefox but I get this error File not found Firefox can’t find the file at /tmp/XXXXXX I need help debuging the wrongly dual start. Dropbox 2 times in tray does not make sense.
Author
Owner

@chiraag-nataraj commented on GitHub (Mar 5, 2018):

Are you using the default dropbox profile? If not, please upload the dropbox profile you're using.

<!-- gh-comment-id:370476983 --> @chiraag-nataraj commented on GitHub (Mar 5, 2018): Are you using the default dropbox profile? If not, please upload the dropbox profile you're using.
Author
Owner

@idnovic commented on GitHub (Mar 5, 2018):

ohh, okay now I understand, I did not edit the dropbox profile but made following changes to try to fix it

$ cat /etc/firejail/dropbox.local
join-or-start dropbox

<!-- gh-comment-id:370487141 --> @idnovic commented on GitHub (Mar 5, 2018): ohh, okay now I understand, I did not edit the dropbox profile but made following changes to try to fix it $ cat /etc/firejail/dropbox.local join-or-start dropbox
Author
Owner

@chiraag-nataraj commented on GitHub (Mar 5, 2018):

Okay. Let me experiment and get back to you.
[Edit] One more question: how did you install Dropbox?

<!-- gh-comment-id:370487710 --> @chiraag-nataraj commented on GitHub (Mar 5, 2018): Okay. Let me experiment and get back to you. [Edit] One more question: how did you install Dropbox?
Author
Owner

@idnovic commented on GitHub (Mar 5, 2018):

the default profile on my side (I removed the commented lines because I dunno how to disable markdown)

$ cat /etc/firejail/dropbox.profile
include /etc/firejail/dropbox.local

include /etc/firejail/globals.local

noblacklist ${HOME}/.config/autostart
noblacklist ${HOME}/.dropbox
noblacklist ${HOME}/.dropbox-dist

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc
include /etc/firejail/disable-programs.inc

mkdir ${HOME}/.dropbox
mkdir ${HOME}/.dropbox-dist
mkdir ${HOME}/Dropbox
mkfile ${HOME}/.config/autostart/dropbox.desktop
whitelist ${HOME}/.config/autostart/dropbox.desktop
whitelist ${HOME}/.dropbox
whitelist ${HOME}/.dropbox-dist
whitelist ${HOME}/Dropbox
include /etc/firejail/whitelist-common.inc

caps.drop all
netfilter
no3d
nodvd
nogroups
nonewprivs
noroot
nosound
notv
novideo
protocol unix,inet,inet6
seccomp
shell none

private-dev
private-tmp

noexec /tmp

<!-- gh-comment-id:370487978 --> @idnovic commented on GitHub (Mar 5, 2018): the default profile on my side (I removed the commented lines because I dunno how to disable markdown) $ cat /etc/firejail/dropbox.profile include /etc/firejail/dropbox.local include /etc/firejail/globals.local noblacklist ${HOME}/.config/autostart noblacklist ${HOME}/.dropbox noblacklist ${HOME}/.dropbox-dist include /etc/firejail/disable-common.inc include /etc/firejail/disable-devel.inc include /etc/firejail/disable-passwdmgr.inc include /etc/firejail/disable-programs.inc mkdir ${HOME}/.dropbox mkdir ${HOME}/.dropbox-dist mkdir ${HOME}/Dropbox mkfile ${HOME}/.config/autostart/dropbox.desktop whitelist ${HOME}/.config/autostart/dropbox.desktop whitelist ${HOME}/.dropbox whitelist ${HOME}/.dropbox-dist whitelist ${HOME}/Dropbox include /etc/firejail/whitelist-common.inc caps.drop all netfilter no3d nodvd nogroups nonewprivs noroot nosound notv novideo protocol unix,inet,inet6 seccomp shell none private-dev private-tmp noexec /tmp
Author
Owner

@idnovic commented on GitHub (Mar 5, 2018):

I just restarted to claim more information

2922:idnovic:/usr/bin/firejail /usr/bin/baloo_file
3400:idnovic:/usr/bin/firejail /usr/bin/dropbox start -i
6885:root:firejail --list

but it runs 2 times screenshot

process manager

<!-- gh-comment-id:370490715 --> @idnovic commented on GitHub (Mar 5, 2018): I just restarted to claim more information 2922:idnovic:/usr/bin/firejail /usr/bin/baloo_file 3400:idnovic:/usr/bin/firejail /usr/bin/dropbox start -i 6885:root:firejail --list but it runs 2 times [screenshot](https://imagebin.ca/v/3tqigHNwWRJp) [process manager](https://imagebin.ca/v/3tqjFFQYN6iI)
Author
Owner

@idnovic commented on GitHub (Mar 5, 2018):

I think I used the "binary downloader" included in the repo.
If you install dropbox from repo it downloads the newest version automatically.
The installed dropbox from repo is 2015.10.28 but it seems it is just an downloader like the steam installer

<!-- gh-comment-id:370491993 --> @idnovic commented on GitHub (Mar 5, 2018): I think I used the "binary downloader" included in the repo. If you install dropbox from repo it downloads the newest version automatically. The installed dropbox from repo is 2015.10.28 but it seems it is just an downloader like the steam installer
Author
Owner

@chiraag-nataraj commented on GitHub (Mar 5, 2018):

Hmmm, so I just ran firejail dropbox start and it only ran one instance.

<!-- gh-comment-id:370492809 --> @chiraag-nataraj commented on GitHub (Mar 5, 2018): Hmmm, so I just ran `firejail dropbox start` and it only ran one instance.
Author
Owner

@idnovic commented on GitHub (Mar 5, 2018):

if i run the command it only opens once too.
I only have it in autostart once. I dunno how it runs 2 times.
Is it only started once after you restart your desktop/pc?

<!-- gh-comment-id:370497642 --> @idnovic commented on GitHub (Mar 5, 2018): if i run the command it only opens once too. I only have it in autostart once. I dunno how it runs 2 times. Is it only started once after you restart your desktop/pc?
Author
Owner

@chiraag-nataraj commented on GitHub (Mar 5, 2018):

I don't use a desktop environment - I would just put the exact command above in my ~/.xinitrc and it would (most likely) spawn only once. I don't actually use Dropbox and only downloaded it to test 😂

<!-- gh-comment-id:370498990 --> @chiraag-nataraj commented on GitHub (Mar 5, 2018): I don't use a desktop environment - I would just put the exact command above in my `~/.xinitrc` and it would (most likely) spawn only once. I don't actually use Dropbox and only downloaded it to test :joy:
Author
Owner

@idnovic commented on GitHub (Mar 5, 2018):

good idea, thank you

<!-- gh-comment-id:370499099 --> @idnovic commented on GitHub (Mar 5, 2018): good idea, thank you
Author
Owner

@idnovic commented on GitHub (Mar 5, 2018):

it seems to be on my end. Even if I deactivate autostart dropbox is "responsible" enough to readd it itself...

<!-- gh-comment-id:370536958 --> @idnovic commented on GitHub (Mar 5, 2018): it seems to be on my end. Even if I deactivate autostart dropbox is "responsible" enough to readd it itself...
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#1221
No description provided.