[GH-ISSUE #3264] FIREJAIL_PROFILE_PATH or similar firejail.config setting #2049

Closed
opened 2026-05-05 08:43:13 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @jonleivent on GitHub (Mar 2, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3264

The current approach that limits profile and include file searches to ~/.config/firejail and /etc/firejail prevents a local administrator from creating global .profiles and .incs somewhere that is visible to all users, but out of the way of /etc/firejail. It would be nice to have a path env var like FIREJAIL_PROFILE_PATH that can be set to something like "~/.config/firejail:/usr/local/etc/firejail:/etc/firejail" and that would be respected during searches for .profile and .inc files. Another alternative would be a global path setting in /etc/firejail/firejail.config.

Why shouldn't the local administrator add/change profiles and includes in /etc/firejail? One reason is to avoid clashes with firejail updates. Another is that in some cases, the /etc/firejail profile might be preferred over the administrator-added one.

Originally created by @jonleivent on GitHub (Mar 2, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3264 The current approach that limits profile and include file searches to `~/.config/firejail` and `/etc/firejail` prevents a local administrator from creating global .profiles and .incs somewhere that is visible to all users, but out of the way of `/etc/firejail`. It would be nice to have a path env var like FIREJAIL_PROFILE_PATH that can be set to something like `"~/.config/firejail:/usr/local/etc/firejail:/etc/firejail"` and that would be respected during searches for .profile and .inc files. Another alternative would be a global path setting in `/etc/firejail/firejail.config`. Why shouldn't the local administrator add/change profiles and includes in `/etc/firejail`? One reason is to avoid clashes with firejail updates. Another is that in some cases, the `/etc/firejail` profile might be preferred over the administrator-added one.
gitea-mirror 2026-05-05 08:43:13 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@rusty-snake commented on GitHub (Mar 3, 2020):

Duplicate of #3103

<!-- gh-comment-id:593918510 --> @rusty-snake commented on GitHub (Mar 3, 2020): Duplicate of #3103
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#2049
No description provided.