[GH-ISSUE #6897] torbrowser-launcher: cannot launch the browser #3410

Closed
opened 2026-05-05 09:58:18 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @lucasmz-dev on GitHub (Sep 13, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6897

Description

When opening torbrowser-launcher, it will fail to actually open the browser.

Steps to Reproduce

  1. Open torbrowser-launcher, it will either get stuck on 'Installing...' or crash otherwise

Expected behavior

Open

Actual behavior

Crash

Behavior without a profile

Solves the issue

Additional context

Seems to be a missing binary. Doing --ignore="private-bin" solves the issue.

Environment

  • Name/version/arch of the Linux kernel (uname -srm): Linux 6.16.7-200.fc42.x86_64 x86_64
  • Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Fedora 42
  • Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1,
    mesa 1:24.3.3-2"): 0.3.7
  • Version of Firejail (firejail --version): 0.9.77 20250901 (comes from Tavi)
  • If you use a development version of firejail, also the commit from which it
    was compiled (git rev-parse HEAD):

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Output of LC_ALL=C firejail /path/to/program

Reading profile /etc/firejail/torbrowser-launcher.profile
Reading profile /home/lucas/.config/firejail/globals.local
Reading profile /etc/firejail/disable-x11.inc
Reading profile /etc/firejail/allow-python2.inc
Reading profile /etc/firejail/allow-python3.inc
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 /home/lucas/.config/firejail/disable-programs.local
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /home/lucas/.config/firejail/disable-xdg.local
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-usr-share-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.77

Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Ignoring "dbus-user.talk org.freedesktop.portal.Desktop" and 1 other dbus-user filter rule.
Parent pid 14787, child pid 14789
52 programs installed in 150.08 ms
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning fcopy: cannot create symbolic link /etc/alternatives/print
Warning fcopy: cannot create symbolic link /etc/alternatives/print-lp
Warning fcopy: cannot create symbolic link /etc/alternatives/print-lpq
Warning fcopy: cannot create symbolic link /etc/alternatives/print-lprm
Warning fcopy: cannot create symbolic link /etc/alternatives/print-lpstat
Warning fcopy: cannot create symbolic link /etc/alternatives/print-cancel
Warning fcopy: cannot create symbolic link /etc/alternatives/print-lpc
Warning fcopy: cannot create symbolic link /etc/alternatives/soelim
Warning fcopy: cannot create symbolic link /etc/alternatives/iptables
Warning fcopy: cannot create symbolic link /etc/alternatives/ip6tables
Warning fcopy: cannot create symbolic link /etc/alternatives/iptables-restore
Warning fcopy: cannot create symbolic link /etc/alternatives/iptables-save
Warning fcopy: cannot create symbolic link /etc/alternatives/ip6tables-restore
Warning fcopy: cannot create symbolic link /etc/alternatives/ip6tables-save
Warning fcopy: cannot create symbolic link /etc/alternatives/ebtables
Warning fcopy: cannot create symbolic link /etc/alternatives/ebtables-save
Warning fcopy: cannot create symbolic link /etc/alternatives/ebtables-restore
Warning fcopy: cannot create symbolic link /etc/alternatives/arptables
Warning fcopy: cannot create symbolic link /etc/alternatives/arptables-save
Warning fcopy: cannot create symbolic link /etc/alternatives/arptables-restore
Warning fcopy: cannot create symbolic link /etc/alternatives/man
Warning fcopy: cannot create symbolic link /etc/alternatives/apropos
Warning fcopy: cannot create symbolic link /etc/alternatives/whatis
Warning fcopy: cannot create symbolic link /etc/alternatives/ld
Warning fcopy: cannot create symbolic link /etc/alternatives/nc
Warning fcopy: cannot create symbolic link /etc/alternatives/cups_backend_smb
Warning fcopy: cannot create symbolic link /etc/alternatives/whois
Warning fcopy: cannot create symbolic link /etc/alternatives/cdrecord
Warning fcopy: cannot create symbolic link /etc/alternatives/mkisofs
Private /etc installed in 101.94 ms
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Base filesystem installed in 71.26 ms
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Child process initialized in 436.95 ms
Lançador do Navegador Tor
By Micah Lee & Tor Project, licensed under MIT
versão 0.3.7
https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/
Launching Tor Browser.
Rodando /home/lucas/.local/share/torbrowser/tbb/x86_64/tor-browser/start-tor-browser.desktop
Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 31, in <module>
    torbrowser_launcher.main()
    ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/torbrowser_launcher/__init__.py", line 92, in main
    gui = Launcher(common, app, url_list)
  File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 168, in __init__
    self.update()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 215, in update
    self.start(None)
    ~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 232, in start
    self.run_task()
    ~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 300, in run_task
    self.run()
    ~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 480, in run
    subprocess.call(
    ~~~~~~~~~~~~~~~^
        [self.common.paths["tbb"]["start"]], cwd=self.common.paths["tbb"]["dir_tbb"]
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib64/python3.13/subprocess.py", line 395, in call
    with Popen(*popenargs, **kwargs) as p:
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/subprocess.py", line 1039, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/subprocess.py", line 1972, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] Arquivo ou diretório inexistente: '/home/lucas/.local/share/torbrowser/tbb/x86_64/tor-browser/start-tor-browser.desktop'

Parent is shutting down, bye...

Output of LC_ALL=C firejail --debug /path/to/program

output goes here

Originally created by @lucasmz-dev on GitHub (Sep 13, 2025). Original GitHub issue: https://github.com/netblue30/firejail/issues/6897 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### Description When opening torbrowser-launcher, it will fail to actually open the browser. ### Steps to Reproduce 1. Open torbrowser-launcher, it will either get stuck on 'Installing...' or crash otherwise ### Expected behavior Open ### Actual behavior Crash ### Behavior without a profile Solves the issue ### Additional context Seems to be a missing binary. Doing `--ignore="private-bin"` solves the issue. ### Environment - Name/version/arch of the Linux kernel (`uname -srm`): Linux 6.16.7-200.fc42.x86_64 x86_64 - Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Fedora 42 - Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1, mesa 1:24.3.3-2"): 0.3.7 - Version of Firejail (`firejail --version`): 0.9.77 20250901 (comes from Tavi) - If you use a development version of firejail, also the commit from which it was compiled (`git rev-parse HEAD`): ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). - [x] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [ ] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log <details> <summary>Output of <code>LC_ALL=C firejail /path/to/program</code></summary> <p> ``` Reading profile /etc/firejail/torbrowser-launcher.profile Reading profile /home/lucas/.config/firejail/globals.local Reading profile /etc/firejail/disable-x11.inc Reading profile /etc/firejail/allow-python2.inc Reading profile /etc/firejail/allow-python3.inc 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 /home/lucas/.config/firejail/disable-programs.local Reading profile /etc/firejail/disable-xdg.inc Reading profile /home/lucas/.config/firejail/disable-xdg.local 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-usr-share-common.inc Reading profile /etc/firejail/whitelist-var-common.inc firejail version 0.9.77 Seccomp list in: !chroot, check list: @default-keep, prelist: unknown, Ignoring "dbus-user.talk org.freedesktop.portal.Desktop" and 1 other dbus-user filter rule. Parent pid 14787, child pid 14789 52 programs installed in 150.08 ms Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set. Warning fcopy: cannot create symbolic link /etc/alternatives/print Warning fcopy: cannot create symbolic link /etc/alternatives/print-lp Warning fcopy: cannot create symbolic link /etc/alternatives/print-lpq Warning fcopy: cannot create symbolic link /etc/alternatives/print-lprm Warning fcopy: cannot create symbolic link /etc/alternatives/print-lpstat Warning fcopy: cannot create symbolic link /etc/alternatives/print-cancel Warning fcopy: cannot create symbolic link /etc/alternatives/print-lpc Warning fcopy: cannot create symbolic link /etc/alternatives/soelim Warning fcopy: cannot create symbolic link /etc/alternatives/iptables Warning fcopy: cannot create symbolic link /etc/alternatives/ip6tables Warning fcopy: cannot create symbolic link /etc/alternatives/iptables-restore Warning fcopy: cannot create symbolic link /etc/alternatives/iptables-save Warning fcopy: cannot create symbolic link /etc/alternatives/ip6tables-restore Warning fcopy: cannot create symbolic link /etc/alternatives/ip6tables-save Warning fcopy: cannot create symbolic link /etc/alternatives/ebtables Warning fcopy: cannot create symbolic link /etc/alternatives/ebtables-save Warning fcopy: cannot create symbolic link /etc/alternatives/ebtables-restore Warning fcopy: cannot create symbolic link /etc/alternatives/arptables Warning fcopy: cannot create symbolic link /etc/alternatives/arptables-save Warning fcopy: cannot create symbolic link /etc/alternatives/arptables-restore Warning fcopy: cannot create symbolic link /etc/alternatives/man Warning fcopy: cannot create symbolic link /etc/alternatives/apropos Warning fcopy: cannot create symbolic link /etc/alternatives/whatis Warning fcopy: cannot create symbolic link /etc/alternatives/ld Warning fcopy: cannot create symbolic link /etc/alternatives/nc Warning fcopy: cannot create symbolic link /etc/alternatives/cups_backend_smb Warning fcopy: cannot create symbolic link /etc/alternatives/whois Warning fcopy: cannot create symbolic link /etc/alternatives/cdrecord Warning fcopy: cannot create symbolic link /etc/alternatives/mkisofs Private /etc installed in 101.94 ms Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Base filesystem installed in 71.26 ms Seccomp list in: !chroot, check list: @default-keep, prelist: unknown, Child process initialized in 436.95 ms Lançador do Navegador Tor By Micah Lee & Tor Project, licensed under MIT versão 0.3.7 https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/ Launching Tor Browser. Rodando /home/lucas/.local/share/torbrowser/tbb/x86_64/tor-browser/start-tor-browser.desktop Traceback (most recent call last): File "/usr/bin/torbrowser-launcher", line 31, in <module> torbrowser_launcher.main() ~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/torbrowser_launcher/__init__.py", line 92, in main gui = Launcher(common, app, url_list) File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 168, in __init__ self.update() ~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 215, in update self.start(None) ~~~~~~~~~~^^^^^^ File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 232, in start self.run_task() ~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 300, in run_task self.run() ~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/torbrowser_launcher/launcher.py", line 480, in run subprocess.call( ~~~~~~~~~~~~~~~^ [self.common.paths["tbb"]["start"]], cwd=self.common.paths["tbb"]["dir_tbb"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib64/python3.13/subprocess.py", line 395, in call with Popen(*popenargs, **kwargs) as p: ~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 1039, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pass_fds, cwd, env, ^^^^^^^^^^^^^^^^^^^ ...<5 lines>... gid, gids, uid, umask, ^^^^^^^^^^^^^^^^^^^^^^ start_new_session, process_group) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 1972, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] Arquivo ou diretório inexistente: '/home/lucas/.local/share/torbrowser/tbb/x86_64/tor-browser/start-tor-browser.desktop' Parent is shutting down, bye... ``` </p> </details> <details> <summary>Output of <code>LC_ALL=C firejail --debug /path/to/program</code></summary> <p> <!-- If the output is too long, save it to a file (e.g. "fjdebug.txt") and attach it to the comment: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files If that does not work, create a secret gist at https://gist.github.com/ and link it here. --> ``` output goes here ``` </p> </details>
gitea-mirror 2026-05-05 09:58:18 -06:00
  • closed this issue
  • added the
    notabug
    label
Author
Owner

@lucasmz-dev commented on GitHub (Sep 13, 2025):

It's an incompatibility with uutils. Closing.

Edit: seems to have to do with ln.

<!-- gh-comment-id:3287611754 --> @lucasmz-dev commented on GitHub (Sep 13, 2025): It's an incompatibility with uutils. Closing. Edit: seems to have to do with `ln`.
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#3410
No description provided.