[GH-ISSUE #6787] Search for .net files in ~/.config/firejail #3372

Open
opened 2026-05-05 09:56:50 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @minitchoup on GitHub (Jun 18, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6787

Description:

Firejail considers the ~/.config/firejail directory implicitly for profile files but does not handle .net files in the same manner. This makes it difficult to use custom network configuration files.

Steps to Reproduce:

Create a custom network configuration file with a .net extension, for example, netfilter-for-emacs.net.
Place this file in ~/.config/firejail.
Attempt to use it with Firejail by specifying the relative path.

Expected Behavior:

Firejail should be able to locate and use the .net file in the same way it does for profile files.

Actual Behavior:

Firejail cannot find the .net file and returns an unclear error message.

Environment Information:

Operating System: debian 12
Firejail Version: 0.9.72

Originally created by @minitchoup on GitHub (Jun 18, 2025). Original GitHub issue: https://github.com/netblue30/firejail/issues/6787 ### Description: Firejail considers the ~/.config/firejail directory implicitly for profile files but does not handle .net files in the same manner. This makes it difficult to use custom network configuration files. ### Steps to Reproduce: Create a custom network configuration file with a .net extension, for example, netfilter-for-emacs.net. Place this file in ~/.config/firejail. Attempt to use it with Firejail by specifying the relative path. ### Expected Behavior: Firejail should be able to locate and use the .net file in the same way it does for profile files. ### Actual Behavior: Firejail cannot find the .net file and returns an unclear error message. ### Environment Information: Operating System: debian 12 Firejail Version: 0.9.72
gitea-mirror added the
enhancement
label 2026-05-05 09:56:50 -06:00
Author
Owner

@kmk3 commented on GitHub (Jun 18, 2025):

Firejail Version: 0.9.72

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:

<!-- gh-comment-id:2983658912 --> @kmk3 commented on GitHub (Jun 18, 2025): > Firejail Version: 0.9.72 Note that we do not maintain that version of firejail: * <https://github.com/netblue30/firejail/blob/master/SECURITY.md> Versions other than the latest usually have outdated profiles and may contain bugs and security vulnerabilities that were fixed in later versions. See also: * <https://github.com/netblue30/firejail#installing>
Author
Owner

@kmk3 commented on GitHub (Jun 18, 2025):

Firejail considers the ~/.config/firejail directory implicitly for profile
files but does not handle .net files in the same manner. This makes it
difficult to use custom network configuration files.

Yes; this is a known limitation.

Not too long ago I was working on unifying the parsing (in both CLI and
profiles) for the following options:

  • --profile
  • --include
  • --netfilter
  • --netfilter6

Though it was a bit tricky (and I accidentally deleted the changes), so it may
take some time.

<!-- gh-comment-id:2983659436 --> @kmk3 commented on GitHub (Jun 18, 2025): > Firejail considers the ~/.config/firejail directory implicitly for profile > files but does not handle .net files in the same manner. This makes it > difficult to use custom network configuration files. Yes; this is a known limitation. Not too long ago I was working on unifying the parsing (in both CLI and profiles) for the following options: * `--profile` * `--include` * `--netfilter` * `--netfilter6` Though it was a bit tricky (and I accidentally deleted the changes), so it may take some time.
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#3372
No description provided.