mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2393] thunderbird startup problems with firejail #1594
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#1594
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 @pahhur on GitHub (Feb 8, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2393
firejail --version: firejail version 0.9.52
Mint 19.1, 64b, 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
firejail package "firejail version 0.9.52-2"
thunderbird --version: Thunderbird 60.4.0
thunderbird works without firejail, or with firejail --noprofile
Apparently, Mint 19.1/Ubuntu/Debian (whoever is responsible for the .deb package) did not provide profiles for firefox and thunderbird
dpkg -L firejail | grep /etc/firejail
which lead to the fact that neither firefox nor thunderbird were starting out-of-the-box with firejail.
I copied your firefox.profile from here, and it worked. Then I also copied the thunderbird.profile from 19 days ago (https://github.com/netblue30/firejail/blob/master/etc/thunderbird.profile), but that one did not work.
Without thunderbird.profile, firejail thunderbird opens a "choose user profile" window, which indicates that thunderbird did/does not find its configuration.
With your thunderbird.profile, firejail thunderbird just claims
on the command line without opening a window. The thunderbird.profile is
accessible to the current user (-rw-r--r--), so I guessed thunderbird claims that it cannot
read its own profile file. However, it is the firefox.profile it cannot read, as the strace output shows us
/etc/firejail/firefox.profile has also -rw-r--r--
I deleted the include firefox.profile at the end of the thunderbird.profile, and firejail thunderbird started.
Q1 What was the purpose of including firefox.profile at the end of thunderbird.profile, and what do i have to do to get the intended behaviour?
Q2 Even though thunderbird starts up now, it claims that
TESTING warning: noblacklist /home/x/.cache/thunderbird not matched by a proper blacklist command in disable*.inc
TESTING warning: noblacklist /home/x/.gnupg not matched by a proper blacklist command in disable*.inc
TESTING warning: noblacklist /home/x/.thunderbird not matched by a proper blacklist command in disable*.inc
So, what has to be done to fix this?
Thanks
@SkewedZeppelin commented on GitHub (Feb 8, 2019):
you shouldn't do that
firefox is included because thunderbird and firefox are similar enough (same base)
without it you loose a lot of the restrictions set by it
you are missing core firejail files
your install is broken due to various reasons
you need to:
@pahhur commented on GitHub (Feb 9, 2019):
Well actually, this is a brand new installation. It seems that the distribution did install firejail by default, but firejail-profiles was forgotten.
But removing was not so easy, as you said ;) With your instructions, the apt system did not install the directory correctly. The package system claimed that it was installed, but /etc/firejail was empty.
So, it needed an apt purge firejail and a reboot ;) to fix that, and a copy of the firefox.profile (+gedit.profile +libreoffice.profile) from your 0.9.52 directory.
Thanks
@curiosity-seeker commented on GitHub (Feb 12, 2019):
@pahhur : Firejail 0.9.52 is completely obsolete. You should really try the new version 0.9.58.2 which has many fixes implemented including profile changes for Firefox and Thunderbird.
@PalinuroSec commented on GitHub (Feb 14, 2019):
we fixed it in parrot by enabling
ignore nodbuswhich was commented by default@chiraag-nataraj commented on GitHub (Feb 18, 2019):
@pahhur Couple of things:
firejail-profilesis intentionally separate and not depended on byfirejailbecause there may be cases where you don't need all of the provided profiles (see this Debian bug).firejailpackage does recommend installing thefirejail-profiles(take a look at the output ofaptitude show firejail), again as a result of that bug.0.9.52is quite obsolete. Debian backports has0.9.56for Stretch.firejailandfirejail-profilespackages and install any custom/updated profiles either to/usr/local/etc/firejailor~/.config/firejail.I'm going to close this issue since the proper solution to your problem has already been mentioned multiple times. If you have further questions related to this, please re-open.