mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3937] dolphin: cannot start keepassxc #2458
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#2458
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 @MrFrank17 on GitHub (Jan 31, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3937
Hi,
till now I was starting KeepassXC through the KDE start menu and everything worked as expected.
However, if I start it by opening an associated database file in the KDE file browser dolphin, the KeepassXC profile seems not be loaded (eg KeepassXC cannot access its own configuration files in .config). Also it is not listed in
firejail --list.Is this expected behavior when starting it within the scope of another application (dolphin in this case)?
Thanks
Frank
Related commits:
12d1de484("remove dophin from firecfg.config", 2021-05-26)@rusty-snake commented on GitHub (Jan 31, 2021):
If this other application is firejailed too, yes.
@MrFrank17 commented on GitHub (Jan 31, 2021):
Ok, then I guess I can close this issue ...
Thanks for the quick reply!
@MrFrank17 commented on GitHub (Feb 2, 2021):
After closing this issue a question came to my mind, therefore I reopen it and hope @rusty-snake or someone still reads it.
To my understanding opening a program from another program still uses the profile of the first one, even if the second has its own.
How do you handle in this case file browsers with firejail? All opened files from the file browser (office, pdf, ...) would never use its designated profile. Is the solution to not firejail a file browser?
@rusty-snake commented on GitHub (Feb 3, 2021):
Yes. Dolphin is the only file browser in firecfg.config (for any reasons). If you disable thumbnails or sandbox the thumbnailers and don't use it for remote file access e.g. smb, there is no much risk left.
@MrFrank17 commented on GitHub (Feb 3, 2021):
Edit: I found the
firecfg.confin/usr/lib/x86_64-linux-gnu/firejailand commenting out dolphin works as expected.krunneris already commented out, probably for the exactly same reason.Do you (or someone else) know which program is doing the thumbnailing in dolphin? This would really be my preferred option to sandbox this process instead of turning of thumbnails all together.
Thanks
@rusty-snake commented on GitHub (Feb 3, 2021):
Different thumbnail-programs are used depending on the file-format and installing new programs can add additional (krita, xournalpp and mypaint are example that I remember). So I suggest you to disable all thumbnailers expect for mp4,png,jpg,what else you need. IIRC has dolphin many settings for that.
@MrFrank17 commented on GitHub (Feb 5, 2021):
Yes, dolphin has many options to toggle thumb-nailing.
I guess this is more smooth than trying to sandbox the programs ...
@rusty-snake commented on GitHub (Mar 8, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.