[GH-ISSUE #3715] Why do network interfaces get removed when specified with firejail? #2338

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

Originally created by @seonwoolee on GitHub (Oct 31, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3715

Bug and expected behavior

  • When I run firejail --interface=enp4s0.100 firefox, the enp4s0.100 interface gets moved to the namespace of the firejail'd firefox. That's fine. But when I exit firefox, the enp4s0.100 interface doesn't get restored; it's just deleted.
  • What did you expect to happen?
    The enp4s0.100 interface should be restored.

My enp4s0.100 interface is a virtual interface associated with VLAN tag 100 on enp4s0. I don't want this interface deleted every time I run firefox in a firejail specifying this interface.

Originally created by @seonwoolee on GitHub (Oct 31, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3715 **Bug and expected behavior** - When I run `firejail --interface=enp4s0.100 firefox`, the `enp4s0.100` interface gets moved to the namespace of the firejail'd firefox. That's fine. But when I exit firefox, the `enp4s0.100` interface doesn't get restored; it's just deleted. - What did you expect to happen? The `enp4s0.100` interface should be restored. My `enp4s0.100` interface is a virtual interface associated with VLAN tag 100 on `enp4s0`. I don't want this interface deleted every time I run firefox in a firejail specifying this interface.
gitea-mirror added the
enhancement
networking
labels 2026-05-05 09:01:32 -06:00
Author
Owner

@netblue30 commented on GitHub (Nov 1, 2020):

We don't support VLAN interfaces at the moment, not sure what will happen if you try to use it. I'll add proper support for VLAN.

<!-- gh-comment-id:720076079 --> @netblue30 commented on GitHub (Nov 1, 2020): We don't support VLAN interfaces at the moment, not sure what will happen if you try to use it. I'll add proper support for VLAN.
Author
Owner

@seonwoolee commented on GitHub (Nov 1, 2020):

From my testing, aside from the interface disappearing once firejail is invoked using the interface, it works perfectly.

<!-- gh-comment-id:720132507 --> @seonwoolee commented on GitHub (Nov 1, 2020): From my testing, aside from the interface disappearing once firejail is invoked using the interface, it works perfectly.
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#2338
No description provided.