Bug 255597 - Feature request: allow ifconfig & route to run in jail context from host system
Summary: Feature request: allow ifconfig & route to run in jail context from host system
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-04 15:39 UTC by Gijs Peskens
Modified: 2021-05-04 15:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gijs Peskens 2021-05-04 15:39:01 UTC
ifconfig and route could be given a -j flag to specify a JID/name, and do a jail_attach syscall to that jail before doing any work. 

This would allow administrators to administrate IP addresses & routing for vnet jails that might not have these binaries available (i.e.: Linux jails)