[GH-ISSUE #2204] Error: --net and --net=none are mutually exclusive #1475

Closed
opened 2026-05-05 08:08:26 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Zypherspace on GitHub (Oct 18, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2204

When --net is defined in a profile, including the parameter (i.e. -net=none) to a firejail launch string results in:

Error: --net and --net=none are mutually exclusive

The only way I have found to override the global profile is to use a --noprofile string. It would be useful if the launch parameter would override global or local profiles for granular control.

Originally created by @Zypherspace on GitHub (Oct 18, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2204 When `--net` is defined in a profile, including the parameter (i.e. `-net=none`) to a firejail launch string results in: `Error: --net and --net=none are mutually exclusive` The only way I have found to override the global profile is to use a `--noprofile` string. It would be useful if the launch parameter would override global or local profiles for granular control.
Author
Owner

@Vincent43 commented on GitHub (Oct 18, 2018):

Does --net=xxx --ignore=net works?

<!-- gh-comment-id:431096990 --> @Vincent43 commented on GitHub (Oct 18, 2018): Does `--net=xxx --ignore=net` works?
Author
Owner

@Zypherspace commented on GitHub (Oct 20, 2018):

Yes that solves it. --ignore=net --net=none overrides profile defined network per instance. Thanks!

<!-- gh-comment-id:431615809 --> @Zypherspace commented on GitHub (Oct 20, 2018): Yes that solves it. `--ignore=net --net=none` overrides profile defined network per instance. Thanks!
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#1475
No description provided.