mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #7128] chromium: browsers crash on launch #3494
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#3494
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 @winningTheWho on GitHub (Apr 8, 2026).
Original GitHub issue: https://github.com/netblue30/firejail/issues/7128
Description
Describe the bug
Steps to Reproduce
Steps to reproduce the behavior
Expected behavior
Brave Browser Launches
Actual behavior
The following shows in the terminal, Brave does not launch:
Behavior without a profile
What changed calling
LC_ALL=C firejail --noprofile /path/to/programin aterminal?
Additional context
Any other detail that may help to understand/debug the problem
Environment
uname -srm):mesa 1:24.3.3-2"):
firejail --version):was compiled (
git rev-parse HEAD):Checklist
firejail /usr/bin/vlcinstead offirejail vlc; seehttps://github.com/netblue30/firejail/issues/2877)/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programProgram seems to launch escaped from Firejail.
Output of
LC_ALL=C firejail --debug /path/to/programlog.txt
@kmk3 commented on GitHub (Apr 8, 2026):
Note that we do not maintain that version of firejail:
Versions other than the latest usually have outdated profiles and may contain
bugs and security vulnerabilities that were fixed in later versions.
See also:
What happens with the latest released version?
@winningTheWho commented on GitHub (Apr 9, 2026):
I upgraded to the 0.9.80.1 version with no noticeable change in behavior.
I have realized that the Chromium browser is also not working either. So the issue is almost common between them, Chromium is installed form Apt so its the Debian stable release.
These profiles have not changed in years, and I double checked and they don't have any differences that I can identify (from those installed and those in the repo).
@kmk3 commented on GitHub (Apr 10, 2026):
For debugging, you can comment lines in the profiles until it works to find out
which lines are causing problems.
Relevant profiles:
See also the profiles that they include (and so on), especially the redirect
profiles.
@cobratbq commented on GitHub (Apr 10, 2026):
You might get more precise info if you try these again from a freshly started operating system. One of your log-lines says 'Opening in existing browser session', so whether working browser or unterminated process, it finds another instance.
Also, in case of segfaults or sudden errors/crashes, try checking last lines of
dmesg(use-Tfor human-readable timestamps) output.audit:lines may indicate forcefully aborted actions that the operating system refused.Chromium should work without issue, but I have also tweaked configuration, so I'm not exactly sure what issue you might run into. I have no experience with Brave.
@winningTheWho commented on GitHub (Apr 14, 2026):
Just before posting this, I have completely wiped and reinstalled Debian 13. The previous install was very new, but I had made modifications that could interfere. This time I am blank slate trying to figure out this issue.
First thing I did was install the Debian released version of Chromium and Firejail, which leads to the previously reported behavior of preventing Chromium from launching. At time of writing I have not upgraded to the latest Firejail version.
With dmesg -T, I get the following output relating to apparmor.
I remove chromium from the firecfg.config, run firecfg --clean, then firecfg to reapply to all but Chromium. Chromium launches.
I did find this in dmesg running chromium without firejail.
@winningTheWho commented on GitHub (Apr 14, 2026):
I have found that disabling the apparmor feature in blink-common.profile allows chromium to launch. So there seems to be some kind of issue with apparmor's Chromium ruleset.
With this off, Brave Browser also launches just fine.
Obviously this starts to leave firejail territory, but I am less familiar with apparmor but can see it set to allow userns for chromium and is explicitly showing its meant to allow everything, so I am unsure how to interpret the earlier errors.
@kmk3 commented on GitHub (Apr 14, 2026):
Seems related to:
@MiltosKoutsokeras commented on GitHub (Apr 16, 2026):
The issue is still active in Debian 13, Chromium 147.0.7727.55 built on Debian GNU/Linux 13 (trixie) and firejail version 0.9.74. All installed via apt. The standard output is the following:
Is there any workaround I can apply in firejail local configuration?
@kmk3 commented on GitHub (Apr 16, 2026):
Note that we do not maintain that version of firejail:
Versions other than the latest usually have outdated profiles and may contain
bugs and security vulnerabilities that were fixed in later versions.
See also:
You can try adding the following to ~/.config/firejail/blink-common.local (or
globals.local):
@kmk3 commented on GitHub (Apr 16, 2026):
Might be related to:
From https://github.com/netblue30/firejail/issues/6681#issuecomment-2723682562:
@winningTheWho
What is the output of the following?
Does it work with the following?