mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1946] Firejail versions 0.9.54~rc1_1 & 0.9.54~rc2_1 are causing Mozilla Thunderbird to crash #1302
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#1302
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 @SuperSentient on GitHub (May 14, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1946
Theres a problem with Firejail versions 0.9.54
rc1_1 & 0.9.54rc2_1. There causing Mozilla Thunderbird to crash. Thunderbird was working just fine before FJ versions 0.9.54rc1_1 & 0.9.54rc2_1 when I run Thunderbird without Firejail it works just fine. Please fix this.@netblue30 commented on GitHub (May 19, 2018):
I cannot reproduce it on Debian stable. What distribution are you using? Also, how do you start the sandbox?
@SuperSentient commented on GitHub (May 19, 2018):
Linux Mint 17.2. I start it with the command firejail thunderbird from the icon settings.
@netblue30 commented on GitHub (May 20, 2018):
I'll give it a try!
@chiraag-nataraj commented on GitHub (Jul 26, 2018):
Is this still an issue?
@SuperSentient commented on GitHub (Jul 28, 2018):
@ chiraag-nataraj
Yes its still an issue even with version 0.9.54.
@chiraag-nataraj commented on GitHub (Jul 28, 2018):
What happens if you use
firejail --noprofile thunderbird?@SuperSentient commented on GitHub (Aug 3, 2018):
@ chiraag-nataraj
Thanks thats seems to work. But isn't that the same as not using Firejail?
@chiraag-nataraj commented on GitHub (Aug 6, 2018):
@SuperSentient Yes. Now, can you go through, comment out all of the lines in the profile, and slowly uncomment them until you find what breaks the profile?
@SuperSentient commented on GitHub (Aug 12, 2018):
@chiraag-nataraj Thanks but I'm not a programmer I joined GitHub so that I can report bugs and possibly try out new software. Anyway heres the all the lines from the terminal when I run firejail --noprofile thunderbird : Parent pid 9162, child pid 9163
Child process initialized in 13.13 ms
(thunderbird:2): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
(thunderbird:2): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
I cant make sense out of it.
@Fred-Barclay commented on GitHub (Aug 12, 2018):
G'day @SuperSentient
No worries about not being a programmer. The reason we request you comment out the lines is usually when we can't reproduce an error ourselves, so the only way to get it fixed is for us to ask you for a bit extra help. 😉 You don't have to do it, but then it's quite possible we won't be able to fix the bug.
It's really easy to do too -- all you have to do is add a
#to the beginning of each line. Then remove a single #, save the file, and runfirejail thunderbird. If it works, then remove the next#and continue. If thunderbird doesn't start, just add back the#and continue on to remove the next one.Once you've tried removing 'em all, let us know which lines didn't work unless there was a
#at the beginning and we can probably get this bug fixed quickly.@SuperSentient commented on GitHub (Aug 12, 2018):
@ Fred-Barclay
What do you mean by #? Also I don't notice any problems with Thunderbird in Kubuntu 18.04 which I'm planning to replace my Linux Mint KDE 17.2 with latter this year.
@chiraag-nataraj commented on GitHub (Aug 12, 2018):
@SuperSentient:
No worries! By "comment out lines", what I mean (and what @Fred-Barclay is alluding to) is to open the profile (either in
~/.config/firejail/or in/etc/firejail/) and put a#at the beginning of all of the lines. So instead of the line looking like this:it would look like this:
To "uncomment" is to remove the
#at the beginning - that is, to reverse what you did above. So what we are requesting (since we aren't seeing this problem) is for you to comment all of the lines initially and then slowly go through and uncomment stuff until it fails. Does that make sense?@chiraag-nataraj commented on GitHub (Aug 12, 2018):
Also, something to keep in mind is that the
thunderbirdprofile includes thefirefoxprofile, which means the issue could actually be something in the firefox profile rather than the thunderbird profile.@SuperSentient commented on GitHub (Aug 12, 2018):
So I should try to enter # include /etc/firejail/firefox.profile in the terminal?
@chiraag-nataraj commented on GitHub (Aug 12, 2018):
No.
Terminology:
profile: the file(s) read by
firejailin order to sandbox the program. Files installed byfirejailwill be found in/etc/firejail/or/usr/local/etc/firejail, while custom profiles that you develop should be placed in~/.config/firejail. These files will usually end with.profile, although many common files have been refactored and end with.inc.comment: to place a
#sign at the beginning of the specified line. This should be done within the profile file.uncomment: to remove the
#you placed at the beginning of the line. Again, this should be done within the profile file.Does that help?
@Fred-Barclay commented on GitHub (Aug 12, 2018):
@SuperSentient
This might be the easiest way...
Please copy the following into the file /etc/firejail/thunderbird.profile (you'll need to edit it as root):
Save the file.
Then remove the
#from the first line (so it will look likeinclude /etc/firejail/thunderbird.local). Save the file. Runfirejail thunderbird.Does it work? If so, now remove the
#from the next line (it will now look like#include /etc/firejail/globals.local). Save the file. Runfirejail thunderbird.Repeat this process until
firejail thunderbirdno longer works. Once that occurs, re-add the#to the beginning of the line, save the file, and move on the next line.Once you're on the next line, remove the
#from it. Save the file. Runfirejail thunderbird.Continue on until you've done all the lines. Then let us know which lines you had to re-add the
#to forfirejail thunderbirdto work.Hope this helps!
Fred
@chiraag-nataraj commented on GitHub (Oct 3, 2018):
@SuperSentient Were you able to figure this out?
@chiraag-nataraj commented on GitHub (Dec 9, 2018):
Closing due to no reply. @SuperSentient, feel free to re-open.