mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6970] [CLOSED] bugfix: make checkcfg init/cfg vars global #6255
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#6255
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/6970
Author: @kmk3
Created: 11/21/2025
Status: ❌ Closed
Base:
master← Head:fix-make-checkcfg-vars-global📝 Commits (2)
a2283e3checkcfg.c: rename "initialized" var to "firejail_config_init"f246be1bugfix: make checkcfg init/cfg vars global📊 Changes
2 files changed (+7 additions, -5 deletions)
View changed files
📝
src/firejail/checkcfg.c(+5 -5)📝
src/firejail/firejail.h(+2 -0)📄 Description
Instead of them being local to the translation unit.
This should ensure that firejail.config is not read more than once (as
is intended by the code), especially after options like
private-etcare applied (which could render the file inaccessible when calling
checkcfg()).Related commits:
8bff773d6("add symlink resolution for home directories", 2019-07-09)/ issue #2877
d32509945("rewrite/partial revert of8bff773d6a", 2019-08-09)/ issue #2877
d1aeeb4fa("feature: add arg-max-count and arg-max-len options tofirejail.config (#6878)", 2025-10-30)
Relates to #2877 #6966.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.