mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6971] [MERGED] bugfix: do sandbox check before checkcfg() #6254
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#6254
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/6971
Author: @kmk3
Created: 11/22/2025
Status: ✅ Merged
Merged: 12/4/2025
Merged by: @netblue30
Base:
master← Head:fix-sandbox-check-before-checkcfg📝 Commits (1)
768b2a2bugfix: do sandbox check before checkcfg()📊 Changes
1 file changed (+30 additions, -24 deletions)
View changed files
📝
src/firejail/main.c(+30 -24)📄 Description
The check for an existing sandbox (and running
run_no_sandbox()ifapplicable) must be done before calling
checkcfg(), since ifprivate-etcis already in effect, running firejail again will abort atcheckcfg(), as /etc/firejail/firejail.config will not be accessible(see #6966).
This is a follow-up to #6969.
Relates to #2877 #6878 #6951 #6966.
Kind of relates to #6592.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.