[GH-ISSUE #915] --net=eth0 only works as root #619

Closed
opened 2026-05-05 06:17:42 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Kalle72 on GitHub (Nov 15, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/915

I am on gentoo hardened and have the problem that --net=eth0 (in my special case --net=enp4s0) only works as root, but not as regular user.

Firejail claims: "Error: only --net=none is allowed to non-root users"

Therefore it is impossible to start firefox with a separate network-stack.

Thanks in advance
Kalle

Originally created by @Kalle72 on GitHub (Nov 15, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/915 I am on gentoo hardened and have the problem that --net=eth0 (in my special case --net=enp4s0) only works as root, but not as regular user. Firejail claims: "Error: only --net=none is allowed to non-root users" Therefore it is impossible to start firefox with a separate network-stack. Thanks in advance Kalle
Author
Owner

@kaskasbarakas commented on GitHub (Nov 15, 2016):

You want to build without the useflag network-restricted then you can run --net= with a normal user.

<!-- gh-comment-id:260735087 --> @kaskasbarakas commented on GitHub (Nov 15, 2016): You want to build without the useflag `network-restricted` then you can run --net= with a normal user.
Author
Owner

@Kalle72 commented on GitHub (Nov 16, 2016):

Ahh, thanks a lot!

<!-- gh-comment-id:260897302 --> @Kalle72 commented on GitHub (Nov 16, 2016): Ahh, thanks a lot!
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#619
No description provided.