[GH-ISSUE #5438] firefox: cannot send email links to thunderbird (dbus) #2995

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

Originally created by @Shimergo on GitHub (Oct 27, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5438

Asking Firefox to launch a new Thunderbird email to send a link suddenly stopped working a couple of weeks ago. No Thunderbird message window is opened, and after a few seconds I just get a wee window titled 'Profile Missing' with the warning text 'Your Thunderbird profile cannot be loaded. It may be missing or inaccessible'. It works fine if FF and TB are NOT Firejailed.

When I originally installed Firejail, I followed advice to get this working by putting these lines in ~/.config/firejail/firefox.local:

noblacklist ${HOME}/.thunderbird
whitelist ${HOME}/.thunderbird/profiles.ini
read-only ${HOME}/.thunderbird/profiles.ini

I've tried updating Firejail from 0.9.64.4 to 0.9.70, but still the same issue.
Maybe something changed when Thunderbird updated, though I'm not sure when the last update was? Now at version 102.2.2.
And I'm on Linux Mint 20 Ulyana Xfce, and Firefox is 106.0.1
And it's the same symptoms when I click on a 'mail to' link in a webpage.

Any thoughts how to fix this? My IT skills are poor, so would appreciate novice-style instructions :D

Thanks in advance!

Edit: This was already fixed in:

Originally created by @Shimergo on GitHub (Oct 27, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/5438 Asking Firefox to launch a new Thunderbird email to send a link suddenly stopped working a couple of weeks ago. No Thunderbird message window is opened, and after a few seconds I just get a wee window titled 'Profile Missing' with the warning text 'Your Thunderbird profile cannot be loaded. It may be missing or inaccessible'. It works fine if FF and TB are NOT Firejailed. When I originally installed Firejail, I followed advice to get this working by putting these lines in ~/.config/firejail/firefox.local: ``` noblacklist ${HOME}/.thunderbird whitelist ${HOME}/.thunderbird/profiles.ini read-only ${HOME}/.thunderbird/profiles.ini ``` I've tried updating Firejail from 0.9.64.4 to 0.9.70, but still the same issue. Maybe something changed when Thunderbird updated, though I'm not sure when the last update was? Now at version 102.2.2. And I'm on Linux Mint 20 Ulyana Xfce, and Firefox is 106.0.1 And it's the same symptoms when I click on a 'mail to' link in a webpage. Any thoughts how to fix this? My IT skills are poor, so would appreciate novice-style instructions :D Thanks in advance! Edit: This was already fixed in: * #5360
gitea-mirror 2026-05-05 09:39:07 -06:00
Author
Owner

@rusty-snake commented on GitHub (Oct 27, 2022):

Does it work if you start firefox like firejail --ignore=dbus-user /usr/bin/firefox?
I would expect a different error but I can not thing of anythinge else yet.

<!-- gh-comment-id:1294009067 --> @rusty-snake commented on GitHub (Oct 27, 2022): Does it work if you start firefox like `firejail --ignore=dbus-user /usr/bin/firefox`? I would expect a different error but I can not thing of anythinge else yet.
Author
Owner

@Shimergo commented on GitHub (Oct 27, 2022):

Yes, that works!
(Am guessing that gives you clues rather than being a long-term solution?)

<!-- gh-comment-id:1294016419 --> @Shimergo commented on GitHub (Oct 27, 2022): Yes, that works! (Am guessing that gives you clues rather than being a long-term solution?)
Author
Owner

@Shimergo commented on GitHub (Oct 27, 2022):

If it helps:

$ firejail --ignore=dbus-user /usr/bin/firefox
Reading profile /etc/firejail/firefox.profile
Reading profile /home/rowellfamily/.config/firejail/firefox.local
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/firefox-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-proc.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-run-common.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Ignoring "dbus-user.own org.mozilla.Firefox.*" and 2 other dbus-user filter rules.
Parent pid 9371, child pid 9372
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning: cleaning all supplementary groups
Warning: cleaning all supplementary groups
Warning: cleaning all supplementary groups
Warning: cleaning all supplementary groups
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Warning: cleaning all supplementary groups
Child process initialized in 232.65 ms
[2022-10-27T20:12:02Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update
libEGL warning: DRI2: failed to authenticate
ATTENTION: default value of option mesa_glthread overridden by environment.
libEGL warning: DRI2: failed to authenticate
ATTENTION: default value of option mesa_glthread overridden by environment.
[2022-10-27T20:58:07Z ERROR viaduct::backend::ffi] Missing HTTP status
[2022-10-27T20:58:07Z ERROR viaduct::backend::ffi] Missing HTTP status
[2022-10-27T20:58:07Z ERROR viaduct::backend::ffi] Missing HTTP status

Parent is shutting down, bye...
[1]+  Done                    gedit ~/.config/firejail/firefox.local
$ 
<!-- gh-comment-id:1294064861 --> @Shimergo commented on GitHub (Oct 27, 2022): If it helps: ```console $ firejail --ignore=dbus-user /usr/bin/firefox Reading profile /etc/firejail/firefox.profile Reading profile /home/rowellfamily/.config/firejail/firefox.local Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/firefox-common.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-proc.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-run-common.inc Reading profile /etc/firejail/whitelist-runuser-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Seccomp list in: !chroot, check list: @default-keep, prelist: unknown, Ignoring "dbus-user.own org.mozilla.Firefox.*" and 2 other dbus-user filter rules. Parent pid 9371, child pid 9372 Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set. Warning: cleaning all supplementary groups Warning: cleaning all supplementary groups Warning: cleaning all supplementary groups Warning: cleaning all supplementary groups Seccomp list in: !chroot, check list: @default-keep, prelist: unknown, Warning: cleaning all supplementary groups Child process initialized in 232.65 ms [2022-10-27T20:12:02Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update libEGL warning: DRI2: failed to authenticate ATTENTION: default value of option mesa_glthread overridden by environment. libEGL warning: DRI2: failed to authenticate ATTENTION: default value of option mesa_glthread overridden by environment. [2022-10-27T20:58:07Z ERROR viaduct::backend::ffi] Missing HTTP status [2022-10-27T20:58:07Z ERROR viaduct::backend::ffi] Missing HTTP status [2022-10-27T20:58:07Z ERROR viaduct::backend::ffi] Missing HTTP status Parent is shutting down, bye... [1]+ Done gedit ~/.config/firejail/firefox.local $ ```
Author
Owner

@rusty-snake commented on GitHub (Oct 28, 2022):

Am guessing that gives you clues rather than being a long-term solution?

Yes.

Can you try firejail '--dbus-user.talk=org.mozilla.thunderbird.*' /usr/bin/firefox.

If it does not work, try to find the name thunderbird uses. Start it and run busctl --user --acquired | grep -i thunderbird.

(Sorry, I tried embedding it all in lt,code,gt ... lt,/code,gt" but it just loses the end-of-line markers)

That's how html works. If you use html you need to use pre-tags around the code-tags. However on GH you usually use markdown - unless you want to use some speical styling - and there you use three backticks like


```
my
multiline
code
```

<!-- gh-comment-id:1295175216 --> @rusty-snake commented on GitHub (Oct 28, 2022): > Am guessing that gives you clues rather than being a long-term solution? Yes. Can you try `firejail '--dbus-user.talk=org.mozilla.thunderbird.*' /usr/bin/firefox`. If it does not work, try to find the name thunderbird uses. Start it and run `busctl --user --acquired | grep -i thunderbird`. > (Sorry, I tried embedding it all in lt,code,gt ... lt,/code,gt" but it just loses the end-of-line markers) That's how html works. If you use html you need to use pre-tags around the code-tags. However on GH you usually use markdown - unless you want to use some speical styling - and there you use three backticks like ````markdown ``` my multiline code ``` ````
Author
Owner

@Shimergo commented on GitHub (Oct 28, 2022):

Yep, that firejail line launches Firefox with working 'Email link' functionality
And busctl of course fills in your wildcard
And now I can find more markdown ......

<!-- gh-comment-id:1295298415 --> @Shimergo commented on GitHub (Oct 28, 2022): Yep, that firejail line launches Firefox with working 'Email link' functionality And ```busctl``` of course fills in your wildcard And now I can find more *markdown* ......
Author
Owner

@rusty-snake commented on GitHub (Oct 30, 2022):

Closing as I don't see anything to be done.

<!-- gh-comment-id:1296293815 --> @rusty-snake commented on GitHub (Oct 30, 2022): Closing as I don't see anything to be done.
Author
Owner

@Shimergo commented on GitHub (Oct 31, 2022):

Hi,
So is there a line I can put in ~/.config/firejail/firefox.local to fix this?
Or is your suggestion to use firejail '--dbus-user.talk=org.mozilla.thunderbird.*' /usr/bin/firefox in my session startup code in place of firejail firefox %u?
Thanks!

<!-- gh-comment-id:1297599698 --> @Shimergo commented on GitHub (Oct 31, 2022): Hi, So is there a line I can put in ~/.config/firejail/firefox.local to fix this? Or is your suggestion to use ```firejail '--dbus-user.talk=org.mozilla.thunderbird.*' /usr/bin/firefox``` in my session startup code in place of ```firejail firefox %u```? Thanks!
Author
Owner

@rusty-snake commented on GitHub (Oct 31, 2022):

dbus-user.talk org.mozilla.thunderbird.*

<!-- gh-comment-id:1297611093 --> @rusty-snake commented on GitHub (Oct 31, 2022): `dbus-user.talk org.mozilla.thunderbird.*`
Author
Owner

@rusty-snake commented on GitHub (Oct 31, 2022):

You can use (almost) every commandline option in profiles, just leave the -- and replace = with .

<!-- gh-comment-id:1297617906 --> @rusty-snake commented on GitHub (Oct 31, 2022): You can use (almost) every commandline option in profiles, just leave the `--` and replace `=` with ` `.
Author
Owner

@Shimergo commented on GitHub (Oct 31, 2022):

Perfect!

<!-- gh-comment-id:1297620729 --> @Shimergo commented on GitHub (Oct 31, 2022): Perfect!
Author
Owner

@kmk3 commented on GitHub (Nov 3, 2022):

(Re-closing as "not planned" since nothing was changed in firejail)

<!-- gh-comment-id:1302300234 --> @kmk3 commented on GitHub (Nov 3, 2022): (Re-closing as "not planned" since nothing was changed in firejail)
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#2995
No description provided.